I'm probably not the only one who has noticed this, but regular installs of SMF seem to often have an unclear title.
The title will be something along the lines of "Start new topic", or just the title of that particular thread.
Personally, I prefer seeing the title of my board in front of the topic title, to avoid confusion between different boards.
So, I'll show you the trick to doing that, right here.
Remember to ALWAYS make backups of the files you are modifying!
of the theme you are using.
If it's not there, Copy
that file from SMF/Themes/default/languages/
to the languages directory of the theme you are using.Find:
<title>', $context['page_title'], '</title>';Replace with:
<title>', $context['forum_name'], ' - ', $context['page_title'], '</title>';
Custom board title
You've just added ', $context['forum_name'], ' -
in front of your title, which is the name of your board. If you prefer having some other custom text there, this would be the place to put it.
The problem now is that the index of your forum is going to have something like "My community - My community - Index" as a title. This is easily fixed through the language files.Copy: Forum/Themes/default/languages/index.*language*.php
to the languages directory of the theme you are using, to avoid losing these modifications when updating.Open:
$txt = $context['forum_name'] . ' - Remove: $context['forum_name'] . ' -
Now, if everything went well, the name of your forum should be visible in the title on every page of your forum, and the title of your boardindex should be a single title