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?
(2011-06-11, 05:35 AM)crazy4cs Wrote: [ -> ]Here :
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.
thanks but i cant add links to it
(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