![]() |
A little code help
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 |
for a single usergroup,
PHP Code:
for multiple usergroups... PHP Code:
|
Thanks for the quick reply!!
|
Use is_member_of($bbuserinfo, X, Y, Z) instead of in_array or a ==.
|
All times are GMT. The time now is 06:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|