Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15841

Allow postrow pm link to be modified by event

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.3
    • 3.2.4-RC1
    • Viewing posts
    • None
    • PHP 7.1.7, MySQL 5.6.34, Firefox 62.0.2

    Description

      Right after the core.viewtopic_modify_post_row, the variables for postrow.contact are assigned.  For the PM link, $u_pm is used instead of $post_row['U_PM'], which is editable in the above event.  As all of the other variables that are assigned to postrow.contact are able to be modified by the event, this is the one exception.  If someone (like me) wanted to hide all user contact information without using display: none, this is the one thing holding me back.  I've fixed this with my pull.

      Attachments

        Activity

          People

            Marc Marc
            Toxyy Toxyy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: