Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15841

Allow postrow pm link to be modified by event

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.4-RC1
    • 3.2.3
    • Viewing posts
    • None
    • PHP 7.1.7, MySQL 5.6.34, Firefox 62.0.2

      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.

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

              Created:
              Updated:
              Resolved: