![]() |
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 |
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.
|
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?
|
Again, there is no need to use variables, just change the phrase itself.
|
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.
|
All times are GMT. The time now is 12:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|