The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem With Usergroup and <if>
I have a usergroup where people don't see adverts and this is called the "Premium Members" but i've made one of the premium members a super-moderator and i've put the super moderator as his main usergroup and the premium member as his second. But he can see the adverts now. How can I sort this out as if i make the premium membership his primary usergroup and his super mod the additional will all his super mod powers still work?
|
#2
|
||||
|
||||
If Premium Members is allowed to have Membergroups - yes.
But I'd suggest to change your condition from Code:
<if contion="$bbuserinfo[usergroupid] == X"> Code:
<if condition="is_member_of($bbuserinfo, X)"> |
#3
|
|||
|
|||
whatever number i put in place of x sees the ads, but i will need to put 12 usergroups into that conditional. How do i go about doing that?
|
#4
|
||||
|
||||
Depends on which Version of vBulletin you use.
If you use vBulletin 3.5 you can put Code:
<if condition="is_member_of($bbuserinfo, a,b,c)"> Code:
<if condition="is_member_of($bbuserinfo, a) OR is_member_of($bbuserinfo, b) OR is_member_of($bbuserinfo, c)"> |
#5
|
|||
|
|||
thank you
Hmm, well i'm using 3.0.7. The above one works well when the premium member is just a "premium member" but when i make the premium member a member of the super moderators he cas see the adverts again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|