2014-01-17, 04:11 AM
(2014-01-16, 08:20 AM)Destroy666 Wrote: [ -> ]You can't just add {$mybb->user['username']} directly to file with HTML...
It's handled as text right now.<span class="username">{$mybb->user['username']}</span>
You need to display the variable with PHP in your files (I don't recommend it, it looks quite messy) or use MyBB's template system to create the upper bar - that would be the header template.
As for custom pages like Contact Us, I recommend Page Manager (again, to prevent mess):
http://mods.mybb.com/view/page-manager
That didn't work but i found a way on how to get it to work. i was messing around with my code and it worked. Lol.