![]() |
|
|
Thread Tools |
|
#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 No members have liked this post.
|
|
#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.
__________________
View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
|
#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?
No members have liked this post.
|
|
#4
|
||||
|
||||
|
Again, there is no need to use variables, just change the phrase itself.
__________________
View My Modifications 29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x) Please do not PM me to ask for support - please use the relevant thread or forum. No members have liked this post.
|
|
#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.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 07:22.


