Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: nob4uask - kesäkuu 14, 2011, 10:28:23 AP

Otsikko: Getting "The The" in the forum name sending emails
Kirjoitti: nob4uask - kesäkuu 14, 2011, 10:28:23 AP
Morn All,

The name of my forums is "The Dallas Cowboys Gang" but whenever I send out emails it has "The The Dallas Cowboys Gang".  I can remove "The" from the admin but then the forum name is missing "The".  Anyone know where the extra "The" is coming from ?

Thank you for your time,

nob4uask
Otsikko: Re: Getting "The The" in the forum name sending emails
Kirjoitti: kat - kesäkuu 14, 2011, 03:07:35 IP
In the default theme's directory, you'll find another, named "languages".

In there, get index.english.php and find this line:

$txt[130] = "Regards,\nThe " . $context['forum_name'] . ' Team.';

change it to:

$txt[130] = "Regards, " . $context['forum_name'] . ' Team.';

And it'll say "Regards, The Dallas Cowboys team".

Not entirely correct, of course, but... ;)
Otsikko: Re: Getting "The The" in the forum name sending emails
Kirjoitti: nob4uask - kesäkuu 14, 2011, 05:08:10 IP
Morn K,

Thanx, new it was in one of the files, just not sure which one.