MyBB Community Forums

Full Version: [Solved] 2 Header Links needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I upgraded to the newest mybb today for the new server.
Everything is good except the theme i am using took away useful links in the header.

I just added My Threads & View New Posts
[Image: 10dgmfr.png]

I found them needed changes here by searching.
I still need to add unanswered posts and todays posts. Can someone help me with the code needed?

Here is what i have now and how i added the others in the themes header template.
<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">
	                   <span class="time">{$lang->welcome_current_time}</span>
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid=1{$mybb->user['uid']}">My Threads</a></li>
					<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
					<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$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 />
View today's posts is:
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a>

You'll need a plugin for unanswered posts - http://mods.mybb.com/view/unanswered-posts
Hey, thanks a lot Smile All is good now thanks to you.

Cheers!