R ryu New Member Nov 14, 2008 #1 vBulletin.org Forum - View Single Post - [AJAX] Tabbed Forum Home I just need the Tabs for Specific User Groups Only (Ver 1.50) code.
vBulletin.org Forum - View Single Post - [AJAX] Tabbed Forum Home I just need the Tabs for Specific User Groups Only (Ver 1.50) code.
I incogNegro75 New Member Nov 14, 2008 #2 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> [COLOR="#ff0000"] <if condition="is_member_of($vbulletin->userinfo, 5,6)"> <li><a href="tabforumhome.php?tabcat[]=100" rel="ajaxTFHcontentarea">STAFF</a></li> </if>[/COLOR] </ul> </div>
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> [COLOR="#ff0000"] <if condition="is_member_of($vbulletin->userinfo, 5,6)"> <li><a href="tabforumhome.php?tabcat[]=100" rel="ajaxTFHcontentarea">STAFF</a></li> </if>[/COLOR] </ul> </div>