Quote:
Originally Posted by karlm
Nice, but now, my admin zone shows to guests - though the contents don't - but they shouldn't be able to see that.
|
This is simple (and is explained in post #2) You can wrap a specific TAB <li> tag with a template conditional where the numbers after userinfo are the User Group IDs that you want to display the Tab too.
So for example if you wanted to hide one for Staff Only it would look like this (See the code in
RED)
Code:
<div id="ajaxTFH" class="TFHmenu2">
<ul>
<li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">TAB 1 NAME</a></li>
<li><a href="tabforumhome.php?tabcat[]=1&tabcat[]=2" rel="ajaxTFHcontentarea">TAB 2 NAME</a></li>
<if condition="is_member_of($vbulletin->userinfo, 5,6)">
<li><a href="tabforumhome.php?tabcat[]=100" rel="ajaxTFHcontentarea">STAFF</a></li>
</if>
</ul>
</div>