How to add username to thread title of reported post thread?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tigratrus
    Senior Member
    • Oct 2006
    • 160
    • 3.7.x

    How to add username to thread title of reported post thread?

    We have our Report Post system set up to auto-create threads in a forum "Warnings and Infractions". I want to include the username of the person whose post is being reported (not the reporter) in the thread title so that I can sort the forum alphabetically, and mods can find threads on 'problem' members easily.

    For example:
    Jake Bunce - Warning for Spammed Advertisements
    Jake Bunce - Infraction for Spammed Advertisements
    Jake Bunce - Reported Post by Tigratrus
    I've figured out the first two, but in the standard phrase '$vbphrase[reportpost_newthread]', I want it to say 'Jake Bunce - Reported Post by Tigratrus' instead of the default 'Reported Post by Tigratrus'. (The phrase is 'Reported Post by $reportinfo[rusername]')

    I've tried a number of variations of variables but haven't hit on the right one. Can someone lead me in the right direction? Thanks!

    Susan and James
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Try this:

    Code:
    $reportinfo[pusername]

    Comment

    • Tigratrus
      Senior Member
      • Oct 2006
      • 160
      • 3.7.x

      #3
      Jake, you rule!

      Worked like a charm! Next time I'm in sunny socal, the double-doubles are on me.

      Susan

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...