MyBB Community Forums

Full Version: Default Header Template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was doing some work trying to remove a broken plugin that just wouldn't go away in my header template, but when I removed that single line of code and clicked save, everything went away.

Can someone get me all the code for the plain ol' header template that I can add back to my site and edit from there? Thank you.
You can simply revert back header template to original.

[Image: b8fDou2.png]
You mean default header template????

Try "Revert to Original"

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<navigation>
			<br />
Well that did the job. Never know about them revert buttons cause I've never had this happen.
Awesome.

Though now my shoutbox isn't working....
Shoutbox should not be in header; however disable and re-enable shoutbox plugin, that will re-inject the required variable in perfect template.
The shoutbox is in my index... and I disabled and re-enabled... and uninstalled and re-installed through the plugin section and it's still stuck on loading.

:/
This function only available if you use custom theme and not if use default one!!!

Sorry didn't know that!
Fixed it... had to add that jquery no conflict thing. I think I had to do that last time to get it to work too. When I reverted the header that went away too.

Thanks for your help guys.
(2014-01-01, 04:24 PM)marcus123 Wrote: [ -> ]This function only available if you use custom theme and not if use default one!!!

Wrong statement, it is available for default theme also, if you modify the template. In-fact it is available for every template if it does not match with the default one - independent to theme (default or custom).
Thanks @effone I didn't know that!