The automatic SMF post notification that we receive by regular email finishes with the lines >
Regards,
The The forum of whatever your forum is called.
The last line has the word 'The' appearing twice in it, how do I remove the extra 'The'.
Hello,
What is your forum called?
Southampton and District Motor Cycle Club - SDMCC.
I think what Yoshi was asking is whether the word 'The' also appears in your forum name.
Can't be certain if this is the problem but your header reads...
The forum of the Southampton and District Motor Cycle Club - SDMCC. By Motorcyclists - For Motorcyclists. Club website. hxxp://www.sdmcc.net
Yes, that is the forum name, is that the problem, if so how can I address it?
Um, change the forum name?
that is the "problem"
(although it's not specifically a problem, since most forums do not use "the" int heir forum names.
You can change the contents of the email messages in EmailTemplates.english.php
Where can I find the EmailTemplates.english.php please.
along with all the other language files... :P
Themes/default/languages
You won't find anything there though, just {REGARDS}.
You can edit the forum name over at Admin > Configuration > Server Settings, which will be the easier method.
Quote from: Yoshi on May 27, 2013, 03:26:23 PM
You won't find anything there though, just {REGARDS}.
You can edit the forum name over at Admin > Configuration > Server Settings, which will be the easier method.
{REGARDS} is $txt['regards_team'] in Themes/default/languages/index.english.php
$txt['regards_team'] = 'Regards,' . "\n" . 'The ' . $context['forum_name'] . ' Team.';
Oh, thanks Oldies :)
Was too lazy to trace it back, heh.
I'm getting a bit confused now, i'm a bit of an oldy, I can even remember the start of World War 2!!
All I want to do is get rid of a 'The' in >
Regards,
The The forum of the Southampton and District Motor Cycle Club - SDMCC. Team.
Make it a bit clearer for me please.
Seriously, just go into the admin panel and change the name of the forum to "Southampton and District Motor Cycle Club - SDMCC Team" (Admin > Configuration > Server Settings > General)
Ok, shame though, cos' The forum of the Southampton and District Motor Cycle Club - SDMCC has a nice ring to it.
Thanks
Quote from: Oldiesmann on May 27, 2013, 03:29:15 PM
$txt['regards_team'] in Themes/default/languages/index.english.php
$txt['regards_team'] = 'Regards,' . "\n" . 'The ' . $context['forum_name'] . ' Team.';
There are other places the forum name is used, outside of email notifications, and those assume 'The' isn't in it either.
Kindred, are you saying replace with your code as shown.
SDMCC, just changing the forum name is a lot easier than changing the source code and will give you much less trouble.
Quote from: SDMCC on May 27, 2013, 03:57:00 PM
Ok, shame though, cos' The forum of the Southampton and District Motor Cycle Club - SDMCC has a nice ring to it.
Thanks
Try "Southampton and District Motor Cycle Club (SDMCC) Forum". It's shorter and doesn't look weird when "The" is plastered in front of it.
Plastered!! :o :o
Ok, I give in, I'll change the name. :P ::) ;D
Thanks all. ;D