MyBB Community Forums

Full Version: Making logo clickable back to index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've tried everything and looked it up like a dozen times, saw a bunch of threads on here and none of the fixes seemed to work.

Somebody please tell me what I need to put in my header template to do this.
what is your forum url & which theme you are using ?
basically logo code can be like below
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
(2016-07-22, 07:29 AM).m. Wrote: [ -> ]what is your forum url & which theme you are using ?
basically logo code can be like below
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

Fixed
<img src="http://i.imgur.com/ScdZqcS.png" />
you can change code similar to above to below
<a href="{$mybb->settings['bburl']}/index.php"><img src="http://i.imgur.com/ScdZqcS.png" /></a>
fixed
^ no!
Home » Templates » Square Templates » Header Templates » header --> [options] --> [full edit]
(2016-07-22, 09:06 AM).m. Wrote: [ -> ]^ no!
Home » Templates » Square Templates » Header Templates » header --> [options] --> [full edit]

It worked thank you so much.

Can anything bad happen if I edited some minor thing in global templates? Nothing looks changed and no vulnerabilities popped up.
^ actually global templates doesn't consist of a template named header.
not sure how you got it. most probably that edit doesn't affect anything bad.
Thanks very much, while I have you here, do you know how to make a logout button? My template didnt come with one and i dont know how to.

Thanks again.
^ all themes have logout button. please see images on Square theme release topic
Pages: 1 2