Quote:
Originally Posted by glowinggal
what specifically would be the code to be written? Very interested in this but know in advance we have private forums that would need to be hidden for sure.
|
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">Tab Private Name</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 Private 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 Private FORUM TAB Content Layout-->