MyBB Community Forums
Thread Title - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Thread Title (/thread-196321.html)



Thread Title - goaks - 07-27-2016

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


RE: Thread Title - Ashley1 - 07-27-2016

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.


RE: Thread Title - goaks - 07-28-2016

(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


RE: Thread Title - goaks - 08-05-2016

bump still need help


RE: Thread Title - chack1172 - 08-05-2016

@goaks edit template showthread and replace
<title>{$thread['subject']}</title>

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