Support Forums

Welcome emails have loooong From

This is a discussion on Welcome emails have loooong From within the Technical Support forums, part of the Technical Support Forums category; Where do we configure the "From description" email settings? I noticed that the Welcome and Validation emails have my SEO ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 01-24-2009, 03:12 AM   #1
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 13
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 03:13 AM. Reason: typo
petey is offline  
Old 01-24-2009, 12:56 PM   #2
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,201
Rep Power: 71
John Snyder 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 ''
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket

Last edited by John Snyder; 01-24-2009 at 01:26 PM.
John Snyder is offline  
Old 01-24-2009, 01:00 PM   #3
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
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
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 01-24-2009, 03:56 PM   #4
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 13
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  
Old 01-24-2009, 10:13 PM   #5
Member
 
Join Date: Jan 2009
Posts: 41
Rep Power: 13
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  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
emails keep arriving seymourjames Technical Support 3 05-11-2008 05:13 PM
No Emails MADKing Off Topic 2 08-12-2007 03:53 PM


All times are GMT -4. The time now is 01:44 AM.


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