I would like to add an additional "phrase variable" to my forum and thread subscription emails. Since I'm using this internally we set the username for the employees, then I used a custom field in the userfield table to add the employees "real name." To display under their username in the forums.
This is what I did so far:
Code:
Dear $got_users[username] [field5],
$threadinfo[postusername] [field5] has just created a new thread titled - $threadinfo[title] - in the $foruminfo[title_clean] forum of $vboptions[bbtitle], which you have subscribed to.
This thread is located at:
$vboptions[bburl]/showthread.php?p=$newpost[postid]
Here is the message that has just been posted:
***************
$newpost[message]
***************
There may be other replies also, but you will not receive any more notifications unless you additionally subscribe to the thread.
All the best,
$vboptions[bbtitle]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:
To unsubscribe from this forum visit the following link:
$vboptions[bburl]/subscription.php?do=usub&f=$foruminfo[forumid]
As you can see I added [field5] to the phrase above. But with no luck, this is how my email shows.
Code:
Dear Louis_00 [field5],
John [field5] has just created a new thread titled - Testing 123456789 and 10 - in the Community Square forum, which you have subscribed to.
As you can see [field5] is displayed instead of the name within field5. Can anyone here let me know where/how/what I need to edit to get this variable working? I posted on the VB site as was redirected here. I hope I was clear and this makes some sense as I tried to explain in as much detail. Thanks.