The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
Any one have that code to show ads to registered users only?? Thanks Ahsin |
#2
|
||||
|
||||
![]()
Very simple
![]() HTML Code:
<if condition="is_member_of($bbuserinfo, 2)"> ad code here </if> |
#3
|
|||
|
|||
![]()
Alright thanks a lot
|
#4
|
||||
|
||||
![]()
You're welcome
![]() |
#5
|
||||
|
||||
![]()
How would you add multiple user groups with that conditional? Separate them with spaces and commas?
|
#6
|
||||
|
||||
![]()
It's easier to do:
<if condition="!is_member_of($bbuserinfo, 1)"> which will include every usergroup except Guests. Multiple usergroups are added either way like so: <if condition="is_member_of($bbuserinfo, 2,3,4,5,6,7,8,9,10)"> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|