Support Forums

Old 01-24-2009, 02:12 AM   #1
Member
 
Join Date: Jan 2009
Posts: 38
Rep Power: 2
petey is on a distinguished road
Default Welcome emails have loooong From

Where do we configure the "From description" email settings?

I noticed that the Welcome and Validation emails have my SEO-friendly and long site title as the "From" description. The actual email address is ok (gets it from the admin/settings) but I just want a short description to go with it.

I edited the "Site title" but that didn't make a difference. I'm using the SEO friendly module plus the SEO-Plus module from templatecodes. Not sure where the email-builder code is to reverse engineer where it gets its data from.

Thanks.
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)

Last edited by petey; 01-24-2009 at 02:13 AM. Reason: typo
petey is offline   Reply With Quote
Old 01-24-2009, 11:56 AM   #2
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,182
Rep Power: 59
juven14 is a jewel in the rough
Default

You can edit the email templates in your template directory.

yoursite.com/templates/template-name/emails/

To edit your html templates:
yoursite.com/templates/template-name/emails/hmtl/

To edit you text templates:
yoursite.com/templates/template-name/emails/text/

The files that are attached to the top and bottom of every email are:
mail_header.tpl
mail_footer.tpl

The welcome template:
welcome.tpl

The validate template:
validate.tpl

The actual assignment of these variables comes from the core file that generates the email. In this case it is:

welcome:
userjoin.php around lines 214-222

validate:
includes/classes/kernel/Register.php around lines 189-210

You could also override these values by using the Mailer Class.

PHP Code:
$Mailer->From '';
$Mailer->FromName ''
__________________
TemplateCodes.com

Last edited by juven14; 01-24-2009 at 12:26 PM.
juven14 is offline   Reply With Quote
Old 01-24-2009, 12:00 PM   #3
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,776
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

I think the easiest thing would be to change the site title stored in administration to something smaller. Then edit the layout file and your long site title.

The file that sends the email is includes/classes/kernel/Mailer.php
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-24-2009, 02:56 PM   #4
Member
 
Join Date: Jan 2009
Posts: 38
Rep Power: 2
petey is on a distinguished road
Default tc

I'll put in a ticket to Hosting Services, Templates & More For 68 Classifieds Advertising as it might have to do with their SEO plus module.

Changing the site title in admin settings has no effect, as I mentioned in the OP but maybe was not clear enough.

I'll update this thread with the outcome for future ref.

Thanks.
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)
petey is offline   Reply With Quote
Old 01-24-2009, 09:13 PM   #5
Member
 
Join Date: Jan 2009
Posts: 38
Rep Power: 2
petey is on a distinguished road
Thumbs up fixed

This seems to have been fixed by editing the Site title in admin/settings as Eric suggested above.

I am sure I *had* done that and recreated the problem before posting above, but maybe there was some cache issue on my server because with no further changes the issue went away.

Thanks for the code posting above for future reference and apologies for being too hasty with my post.

-Peter
__________________
(Running v4.0.9 Developer, Boat template + custom colours/gfx + SEO Plus by templatecodes.com)
petey is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
emails keep arriving seymourjames v4 Questions & Support 3 05-11-2008 04:13 PM
Turning off emails... CNeigh v3.1 Questions & Support 2 02-21-2008 12:15 PM
No Emails MADKing Off Topic 2 08-12-2007 02:53 PM
Some Emails have never worked! garysr v3.1 Questions & Support 9 06-15-2006 10:08 AM
Different contact emails calaf6 v3.1 Questions & Support 2 05-08-2006 08:17 PM


All times are GMT -4. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0