Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Feb 2009, 21:04
Parker Clack Parker Clack is offline
 
Join Date: Nov 2001
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
Reply With Quote
  #2  
Old 12 Feb 2009, 04:51
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.
Reply With Quote
  #3  
Old 12 Feb 2009, 16:08
Parker Clack Parker Clack is offline
 
Join Date: Nov 2001
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?
Reply With Quote
  #4  
Old 13 Feb 2009, 09:07
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.
Reply With Quote
  #5  
Old 13 Feb 2009, 20:13
Parker Clack Parker Clack is offline
 
Join Date: Nov 2001
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 07:22.

Layout Options | Width: Wide Color: