The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I need help with and a template to a phrase.
I would like to added a template that I can change out periodically that gets inserted into a phrase.
In the notify phrase you have such variables as $touser[username], $threadinfo[title] $foruminfo[title_clean] $vboptions[bbtitle] $vboptions[bburl]/showthread.php?t=$threadinfo[threadid]&goto=newpost and $pagetext. Which .php file is this informaton gettting pulled from? I would like to created a template that I could add to the list the gets emailed out, such a $forum_news, that I could then change the contents of. This way if I want to let our members know through their instant notifications from subscribed threads about something new on the forum and then two weeks later change this information I would just change the contents in the template. Any help would be appreciated. Parker |
#2
|
||||
|
||||
The variables inside phrases are fetched from the context they are in. For your "problem", there is no need to use variables, just change the phrase itself.
|
#3
|
|||
|
|||
So do I create a template called something like $email_annoucement and put that in the phrase? So when I change the template the phrase gets updated with what is in the template?
|
#4
|
||||
|
||||
Again, there is no need to use variables, just change the phrase itself.
|
#5
|
|||
|
|||
I understand that I can just change the phrase but the whole phrase doesn't need to be changed. $touser[username] gets changed with every email that goes out. The whole phrase doesn't need to be changed. I want to change the text that is associated with $email_announcement without chnaging the rest of the phrase.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|