The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Am trying to modify the reportpost phrase to include in the notification email the name of the person who submitted the post that is being reported.
I've tried: Code:
Posted by: $postinfo[username] $reportinfo[postid] appears to contain the postid number for the reported post. How do I use this to return the username of the poster? |
#2
|
|||
|
|||
![]()
Try using $reportinfo[pusername].
|
#3
|
||||
|
||||
![]()
BINGO! That did it. Thanks so much.
--------------- Added [DATE]1365522208[/DATE] at [TIME]1365522208[/TIME] --------------- For anyone looking for this information, I further enhanced by including a link to the poster's profile page by adding this: Code:
Posted by: $reportinfo[pusername] (Profile at $vboptions[bburl]/member.php?u=$reportinfo[puserid]) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|