Quote:
Originally Posted by Shaliza
This is great! I had been looking for something like this because I'm going to have a premium section on my site soon. Installed. =)
And to make it so that only a certain usergroup can see the ads, I'm assuming you'd have to put in something like:
Code:
<if condition="$bbuserinfo['usergroupid'] == 1">
right?
|
Yes,
what you need to do is to, say for example your using the Easy Menu Tabs to link from then you would edit one of the tabs so that, say, Guests and unregisted members would view it , and have another tab without the redirect, for registered members, The condition you can use is something like this...
This is using the Easy Menu Tabs as an example
Quote:
<ul>
<!-- CSS Tabs -->
<li id="current"><a href="http://www.ukbusinesslive.co.uk/topsite/"><span>Forums Topsite</span></a></li>
<li><a href="http://www.ukbusinesslive.co.uk/forum/group.php?"><span>Social Groups</span></a></li>
<li><a href="http://www.ukbusinesslive.co.uk/forum/online.php?"><span>Who's Online</span></a></li>
<li><a href="http://astore.amazon.co.uk/ukbuli-21"><span>UKBL Bookstore</span></a></li>
<li><a href="http://www.ukbusinesslive.co.uk/forum/usercp.php"><span>Your CP</span></a></li>
<if condition="is_member_of($vbulletin->userinfo, 1)
<li><a href="http://www.ukbusinesslive.co.uk/forum/memberlist.php"><span>Member List</span></a></li>
</if>
<li><a href="http://www.ukbusinesslive.co.uk/"><span>UK Business Live</span></a></li>
|
Thats it, where userinfo, 1 you can add and change this so that oother usergroups can use it, don't forget to seperate each usergroup with a comma
Code:
<if condition="is_member_of($vbulletin->userinfo, 1,2,3)