The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Non-coder here.
I have ad codes placed in certain places on my forum. What I would like to do is this: I would like to show the ads to everyone (members, guests, mods, admins, etc) except a custom usergroup (website donators). Currently, the ads are only displayed to guests using: Code:
<if condition="$show['guest']">.....ad code.....</if> Thanks |
|
#2
|
|||
|
|||
|
for a single usergroup,
PHP Code:
for multiple usergroups... PHP Code:
|
|
#3
|
|||
|
|||
|
Thanks for the quick reply!!
|
|
#4
|
|||
|
|||
|
Use is_member_of($bbuserinfo, X, Y, Z) instead of in_array or a ==.
|
![]() |
|
|