The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Hello,
I have a bit of text that I'd like to add to all the email templates. I created a new template and called it "emailpromo" without the quotes of course. I then went into the email templates and added "$emailpromo" minus the quotes, again. ![]() I have done this with other templates and it works well. But, the emails the system sends out does not seem to include the text i place in the new template: "emailpromo" Am I doing something wrong? Basically, I want to be able to change the promotion that goes out on every email that leaves our server. I want to be able to change it out by changing one template, not 14 time (email templates) times 3 (template sets) Can you help me figure this out? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Try sticking this line in your phpinclude template:
Code:
eval("\$emailpromo = \"".gettemplate("emailpromo")."\";");
|
|
#3
|
|||
|
|||
|
Bingo. Thanks. So, do you have to add that sort of code any time you want to add a template to include? (I see I had done that for the last one I included as well, I just hadn't remembered.
)
|
|
#4
|
|||
|
|||
|
I have found an odd thing: It seems to add the emailpromo text to all the templates I put the $emailpromo in, except one: email_notify
I sometimes get a bounced email: failure notice and I look in it and there is no email promo. I do see the email promo in the other email templates and that works just fine. I can't figure it out. I have two sets of templates, two styles. I template set per style. memebrs are not allowed to pick which style, rather, I have one forum that is very high bandwith, and my second template set has no images etc... and is forced upon all members in that forum. Anyway.... thoughts? |
![]() |
|
|