![]() |
Force replacement variables to take effect on e-mails sent by vB
Hey folks,
As I've discussed in another thread, I am converting a network of sites to use vB. I have hacked the global.php file and made it so that the style used is based upon the hostname visited. All is well on that front it seems. One way I accomplished that was making the Site Name and URLs unique strings that are then replaced via style replacement variables. For example in the board options my site name is {{Site Name}} and I set a replacement variable in each style to replace {{Site Name}} with the actual site's name. Works out well for the html pages. But not for e-mails. E-mails are obviously not run through the replacement variables routine. So when I register or send e-mails I get some crazy stuff. Example: Code:
Dear ChrisHasenpflug, What I need to do is before the e-mail is sent, pass the content through the replacement variables routine for the current host name. Doesn't seem too difficult, but I'm not sure where to begin hacking away. Thanks for the help guys and gals! :) Hmmm, probably should have put this in Modification discussions. Mods please feel free to move. |
All times are GMT. The time now is 07:51 AM. |
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:
|