Many site titles are long(see below) and have more description in them for getting up there on google. If you don't do it, then start!
Well these titles get ugly in emails and heres a lil trick to shorten it.
heres an example of a really long site title, which i great for engine
$site['title'] = 'This is my site - It has all kinds of great toys for my keywords';
open inc/header.inc.php
after:
$site['title'] = 'This is my site - It has all kinds of great toys for my keywords';
insert:
$site['tinytitle'] = "Short Text";
Change "Short Text" to something shorter,
open inc/utils.inc.php:
replace:
$sMailHeader = "From: =?UTF-8?B?" . base64_encode( $site['title'] ) . "?= <{$site['email_notify']}>";
with:
$sMailHeader = "From: =?UTF-8?B?" . base64_encode( $site['tinytitle'] ) . "?= <{$site['email_notify']}>";
inc/admin.inc.php has 2 of them also
around 1100:
$notifyMessage = str_replace("<SiteName>", $site['title'], $notifyMessage);
and 1127:
$inboxSubject = str_replace("<SiteName>", $site['title'], $inboxSubject);
notice all we did was replace title with tinytitle?
I hope this helps a few.
comments?
$site['title'] ='something very long and very descriptive and all that stuff';
$site['tinytitle'] = "Mysite.com";
What happens is some email related body, subject, admin panel login, admin panel top area by boonex dolphin logo and such is extremely long. If I made it really long than the display see more
open inc/utils.inc.php:
replace:
$sMailHeader = "From: =?UTF-8?B?" . base64_encode( $site['title'] ) . "?= <{$site['email_notify']}>";
with:
$sMailHeader = "From: =?UTF-8?B?" . base64_encode( $site['tinytitle'] ) . "?= <{$site['email_notify']}>";
And all admin areas, email, etc do the long thing. Which is the seo long title. This is good, but other parts of this see more
As he see more