MyBB Community Forums

Full Version: Thread Title
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

how to add site title to the threads

like the thread is

thread-test and site name is Mybb

but it shows only test

how to do like this

test- Mybb

Thanks
Thread name or subject is the default title, if you want to add the site name to it, then add {$mybb->settings['bbname']} to the title tag.

Edit: Sorry tested that and it does not show, you will need to declare that variable before it will show for that template.
(07-27-2016, 04:40 PM)Ashley1 Wrote: [ -> ]Thread name or subject is the default title, if you want to add the site name to it, then add {$mybb->settings['bbname']} to the title tag.

Edit: Sorry tested that and it does not show, you will need to declare that variable before it will show for that template.

thanks for the reply

can you tell me which file to edit

Thanks
bump still need help
@goaks edit template showthread and replace
<title>{$thread['subject']}</title>

with
<title>{$thread['subject']} - {$mybb->settings['bbname']}</title>