MyBB Community Forums

Full Version: page title question??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know how to change the page title in the admin, however, I don't like the fact that it also changes the title of the forum, (which in turn makes it longer especially if I use a search engine friendly title!)

How can I get around this?
Go to Admin CP -> Board settings -> Add New Setting
Under Add Setting
Add this:
Setting Title = Title in nav bar
Description = Some description, not needed.
Setting Name = nav_title
Setting Type = text
Value = nothing or you could add the title of the page directly here.
Display Order: = 30 or whatever.
Group = General configuration or something.

Go to Admin CP -> Board settings -> Change -> General configuration (or where you added it)
And find "Title in nav bar" and change it to what you want.

Then in global.php
Find:
$navbits[0]['name'] = $mybb->settings['bbname'];
Change to:
$navbits[0]['name'] = $mybb->settings['nav_title'];
Repeat the same in archive/global.php

Then you change the bbname to the title you want to show as the title of the page.