MyBB Community Forums

Full Version: How to make logo link back to main site?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you can see here with the forum area of my site panicgamer.com...

I have that red logo and when it's clicked on from any page it goes back to the front page of my forum.

I need it so that when that logo is clicked it goes to my main site, panicgamer.com

I'm hoping because I'm using the default everything that this is something that's easy to do and easy to explain how to to?

Thank you
ACP - > Styles & Templates -> Templates -> [Your Theme] -> Header -> Header.
Find
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
and replace it with
<a href="http://panicgamer.com/"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
in your header template change {$mybb->settings['bburl']} to {$mybb->settings['homeurl']}, that is if you have that setting properly setup in the ACP
Thank you both very much

I was able to do the homeurl setting and have it work but thank you Ciache for typing all that out because that made me know exactly where and how to do it once I got there. If that wasn't typed out like that I'm not sure I would have been able to do it.

Thank you very much for your help, have a great day