
05-05-2008, 05:27 AM
|
|
|
Join Date: Feb 2002
Location: UK
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by bobster65
yes, just wrap the specific tab with this... (use the ID's of the user groups you want to be able to view it)
Code:
<if condition="is_member_of($vbulletin->userinfo, 5,6,)">
</if>
so it would look something like this.. (The code in RED is what you would need to add ...
Code:
<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
<li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
<if condition="is_member_of($vbulletin->userinfo, 5,6,)">
<li><a href="#" rel="tcontent3">BETA FORUM Tab/a></li>
</if>
</ul>
<!-- /Tabbed Forum Home Tabs Layout -->
Then you will also want to wrap the tab display data as well ..
Code:
<!-- Tabbed Forum Home ? START BETA FORUM TAB Content Layout -->
<if condition="is_member_of($vbulletin->userinfo, 5,6,)">
<div id="tcontent3" class="tabcontent">
CONTENT REMOVED FOR EXAMPLE ONLY
</div>
</if>
<!-- /Tabbed Forum Home ? END BETA FORUM TAB Content Layout-->
|
Thanking you sir !
|