MyBB Community Forums

Full Version: Header help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to make some links show up when your logged in?

Here is my situation.

These r all the links in my header-

Donate
Top Donators
Home
Forums
Search
Member List
Website Staff

I want to add a User CP link to the header but ONLY when you are LOGGED IN.

So is it possible to make that user cp link show up only when you log in?
Here Smile :

http://yaldaram.com/showthread.php?tid=502

You also have the ability to set usergroups which can see it, thereby only showing to registered usergroups and not allowing guests. Wink
(2011-06-11, 05:35 AM)crazy4cs Wrote: [ -> ]Here Smile :

http://yaldaram.com/showthread.php?tid=502

You also have the ability to set usergroups which can see it, thereby only showing to registered usergroups and not allowing guests. Wink

thanks but i cant add links to it
What you mean?
(2011-06-11, 05:49 AM)crazy4cs Wrote: [ -> ]What you mean?

like, i want to add a link to what i put in the header. when i type something it just shows up there in the header as text. but i want to add a link to it.
Man, use this plugin:

http://yaldaram.com/showthread.php?tid=502

And in the content menu of that plugin, just prefix links/menus like in this format:

<a href="www.yoururl.com">YOUR TEXT HERE</a>

and it would show up as link.
ACP -> Templates & Style -> Templates -> Your Template -> Header Templates -> Header
In the header file, you can find something like:

<div class="menu">
				<ul>{$teradonate_donatelink}
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
Add your HTML Code in between, where you want it to be positioned at Smile