Quote:
Originally Posted by BadgerDog
I'd like to move the link from the Navbar to the drop down "Quick Links" at the bottom and just make it available for Admins (usergroup 6). I'm not a coder, so could someone post for me the template code and where to out it that will accomplish that?
|
In your navbar template look for:
Code:
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
after that add:
Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/Xtv.php">X TV</a></td></tr></if>
That will add the link in the "Miscellaneous" section of the quicklinks, below "Who's Online." Change the
5, 6, 7 to the usergroup ID's of the usergroups that you want to allow to see the link ( I included the other usergroups in order to show other people how to add multiple usergroups, but since you want to make it available only to admin's then change the 5, 6, 7 to 6).