SMF Support > SMF 2.0.x Support
Birthday greetings
spaZzZilla:
Those birthday greetings are a nice idea. I like that there are those preset messages (karlbenson1 is my favorite). :P Is there a way to make your own greetings from the admin panel?
codenaught:
You can edit the Themes/<theme_name>/languages/EmailTemplates.english.php to add your own.
Search for:
--- Code: ---$birthdayEmails = array(
'happy_birthday' => array(
'subject' => 'Happy birthday from {FORUMNAME}.',
'body' => 'Dear {REALNAME},
We here at {FORUMNAME} would like to wish you a happy birthday. May this day and the year to follow be full of joy.
{REGARDS}',
'author' => '<a href="http://www.simplemachines.org/community/?action=profile;u=2676">Thantos</a>',
),
--- End code ---
Add after that code, your own:
--- Code: --- 'yourname' => array(
'subject' => 'Subject',
'body' => 'Dear {REALNAME},
Body here...
{REGARDS}',
'author' => 'Your name',
),
--- End code ---
If you do change the file and upload it over the existing one, clear the file cache in Admin / Forum Maintenance afterward so the change will be applied.
How do I modify files?
spaZzZilla:
Cool thanks, I wasn't sure if there was a text box in another area of the ACP I wasn't seeing.
And the clearing of the file cache in Admin / Forum Maintenance, that is an action unique to 2.0 correct.
JayBachatero:
Yes that is a new feature in 2.0. We now have file based cache.
Owdy:
--- Quote from: akabugeyes on March 18, 2008, 09:47:17 PM ---You can edit the Themes/<theme_name>/languages/EmailTemplates.english.php to add your own.
--- End quote ---
Are you planning to make this work directly from admin panel? Like in drop down, - > custom' :)
Navigation
[0] Message Index
[#] Next page
Go to full version