Still running vB 3.5.4.
Would like to modify the email sent when a problem post is reported to include the username of the person that posted the problem post, and ideally, a link to their profile.
Here's the stock reportbadpost phrase:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this post: $postinfo[title] $vboptions[bburl]/showthread.php?p=$postinfo[postid]#post$postinfo[postid] This is part of this thread: $threadinfo[title]
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]
This is the reason that the user gave: $reason
This message has been sent to all moderators of this forum, or all administrators if there are no moderators. Please respond to this post as applicable.
I tried to modify it as follows:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this post: $postinfo[title]
Posted by: $postinfo[musername]
$vboptions[bburl]/showthread.php?p=$postinfo[postid]#post$postinfo[postid] This is part of this thread: $threadinfo[title]
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]
This is the reason that the user gave: $reason
This message has been sent to all moderators of this forum, or all administrators if there are no moderators. Please respond to this post as applicable.
.. however, apparently musername is not contained within $postinfo[]. Can anybody suggest the correct code to do this?
Would like to modify the email sent when a problem post is reported to include the username of the person that posted the problem post, and ideally, a link to their profile.
Here's the stock reportbadpost phrase:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this post: $postinfo[title] $vboptions[bburl]/showthread.php?p=$postinfo[postid]#post$postinfo[postid] This is part of this thread: $threadinfo[title]
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]
This is the reason that the user gave: $reason
This message has been sent to all moderators of this forum, or all administrators if there are no moderators. Please respond to this post as applicable.
I tried to modify it as follows:
$bbuserinfo[username] ( mailto:$bbuserinfo[email] ) has reported this post: $postinfo[title]
Posted by: $postinfo[musername]
$vboptions[bburl]/showthread.php?p=$postinfo[postid]#post$postinfo[postid] This is part of this thread: $threadinfo[title]
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]
This is the reason that the user gave: $reason
This message has been sent to all moderators of this forum, or all administrators if there are no moderators. Please respond to this post as applicable.
.. however, apparently musername is not contained within $postinfo[]. Can anybody suggest the correct code to do this?
Comment