The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Certian Members only see Ads?
I'm using one of the hacks for when a new topic is created ads are shown...but i want to add a code above it a <if condition code...but i don't know how to edit it to only make it were it shows for only 1,2,3 member group.
Thank You Blaze |
#2
|
||||
|
||||
Code:
<if condition="$bbuserinfo[usergroupid] == 1 OR $bbuserinfo[usergroupid] == 2 OR $bbuserinfo[usergroupid] == 3"> ad code </if> if you want to display them to more groups just keep adding Code:
OR $bbuserinfo[usergroupid] == x |
#3
|
|||
|
|||
Thanks Bro that helps so much!!!!!!!
You really need to make a coding edit page for it since i've been asked about this from other site owners -Blaze |
#4
|
|||
|
|||
here is a little bit easier to keep it neat
Code:
<if condition="is_member_of($bbuserinfo, 1,2,3)"> ad code </if> |
#5
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|