Newsletter email templates?
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks
Author Message
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Newsletter email templates?
Posted: Tue Jul 18, 2006 8:52 pm
Reply with quote

My standard newsletter module footer just outputs like this:

Quote:
All the best, Norbie's World Staff We sent you this message because you have selected to receive newsletters from our site You can choose to unsubscribe from our mailings at any time by following this link If you would like further assistance, please send an email to our administrator

No full stops or line breaks, where are the template files for this? I can't find them Sad

I tried NewsletterPro but I get a random error lol.

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: Newsletter email templates?
Posted: Tue Jul 18, 2006 10:09 pm
Reply with quote

You should be able to use bbcode and or html
_________________
iPad 1 running iOS 5.1 b2

bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.6/5.0.86/5.2.8/9.3.2
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Newsletter email templates?
Posted: Wed Jul 19, 2006 6:45 am
Reply with quote

I still cannot find where to alter the footer it sends (as quoted above), and the header - it says "Hello," at the beginning of every email.
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Newsletter email templates?
Posted: Wed Jul 19, 2006 7:04 am
Reply with quote

language/english/main.php wrote:
define('_NLUNSUBSCRIBE',"We sent you this message because you have selected to receive newsletters from our site\n\nYou can choose to unsubscribe from our mailings at any time by following <a href=\"".getlink('Your_Account&amp;edit=prefs', true, true)."\">this</a> link\n\nIf you would like further assistance, please send an email to <a href=\"mailto:".$MAIN_CFG['global']['adminmail']."\">our administrator</a>");
approx line 594, depending on your DF version.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Newsletter email templates?
Posted: Wed Jul 19, 2006 7:59 am
Reply with quote

Thankyou.
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
LeannaSue
Newbie


Joined: Dec 22, 2005
Posts: 30
Location: Missouri

PostPost subject: Re: Newsletter email templates?
Posted: Fri Aug 03, 2007 7:02 pm
Reply with quote

Okay guys...here's what mine says:

// newsletter.php
define('_FROM','From');
define('_STAFF','Staff');
define('_NL_RECIPS','Recipients');
define('_SUBSCRIBEDUSERS','Subscribed Members');
define('_NL_ALLUSERS','All Members');
define('_NL_ADMINS','Administrators');
define('_NL_REGARDS','Best Regards');
define('_DISCARD','Discard');
define('_REVIEWTEXT','Please look over your message and check for typos');
define('_MANYUSERSNOTE','Due to the large number of users that will receive this newsletter, the task may take several minutes to complete<br />Please be patient!');
define('_NL_NOUSERS','The group selected to receive this newsletter has zero users<br />Please go back and select a different group');
define('_NUSERWILLRECEIVE','users will receive this newsletter');
define('_NLUNSUBSCRIBE',"We sent you this message because you have selected to receive newsletters from our site\n\nYou can choose to unsubscribe from our mailings at any time by following <a href=\"".getlink('Your_Account&amp;edit=prefs', true, true)."\">this</a> link\n\nIf you would like further assistance, please send an email to <a href=\"mailto:".$MAIN_CFG['global']['adminmail']."\">our administrator</a>");
define('_NEWSLETTERSENT','The newsletter has been sent');

I've played with this a few times, but nothing is working. I'd really like to add the space before the "Thanks," but I can't even find that word in the file. The rest is in there. Any suggestions??

Thanks,
Leanna


LeannaSue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
PHP: 4.4.7, MySQL: 4.0.25, DF CMS: 9.0.6.1
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: Newsletter email templates?
Posted: Sat Aug 04, 2007 12:29 am
Reply with quote

It is email. If it is not composed as HTML then it will not render the '<br />' properly. Same with windows and '\n', it doesn't line feed which linux will do with a \n.

You may want to alter this to include the line breaks literally in the 'define's or force HTML email.

Just my loonie's (A Canadian Dollar) worth of comments.

Smile

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: Newsletter email templates?
Posted: Fri Aug 10, 2007 3:53 pm
Reply with quote

Since i've covered this in another post go to newsletters.php in /admin/modules/ and edit line 61. If you find my other post you may try my fix if you like.
Here

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.8042 seconds with 19 DB Queries in 0.1754 seconds
Memory Usage: 2.93 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy