Ok here ya go:
Go into your adminCP ->Styles and templates -> style manager -> default style -> select edit templates -> scroll down to 'navigation/breadcrump templates'and double click that -> navbar
Like Jennifer K says
Find:
HTML Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
Place this above (after editing it for your site):
HTML Code:
<if condition="is_member_of($bbuserinfo,5,6,7)">
<td id="stafflinks" class="vbmenu_control"><a href="$show[nojs_link]#stafflinks">Staff Links</a> <script type="text/javascript"> vbmenu_register("stafflinks"); </script></td>
</if>
Now where it says
means super mods(5), admins(6) and mods(7)
If you dont want your super mods to see this then delete
The same goes for the code below.
Then find:
HTML Code:
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.huntleyneighbors.com/forum/faq.php">FAQ</a></tr>
<tr><td class="vbmenu_option"><a href="http://www.huntleyneighbors.com/forum/view.php?pg=useragreement">User Agreement</a></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.huntleyneighbors.com/forum/memberlist.php">Members List</a></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
Place this below (after replacing "yoursite.com" with your website address):
HTML Code:
<if condition="is_member_of($bbuserinfo,5,6,7)">
<!-- Mod links menu-->
<div class="vbmenu_popup" id="stafflinks_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Mod Links</td></tr>
<if condition="is_member_of($bbuserinfo,6)"><tr><td class="vbmenu_option"><a href="http://www.yoursite.com/forum/admincp/index.php">Admin CP</a></td></tr></if>
<if condition="is_member_of($bbuserinfo,5,6,7)"><tr><td class="vbmenu_option"><a href="http://www.yoursite.com/forum/modcp/index.php">Mod CP</a></td></tr></if>
</table>
</div>
<!-- / staff links menu -->
</if>
With this mods can only see the modCP, not the adminCP. I have put the Mod rules in mine, but left it out for you. Have fun.
Edit: do not mind the colors above. The automerge function of this site is causing this.
So, here is my new post:
I'd like to add a link to the staff links menu which shows moderators unread posts in their forums. How can I do that?