![]() |
How to hide ad from Moderator group?
Hey guys, I was wondering if someone could show me the conditional to use if I want to 'hide' a certain ad from the Moderator group? I want everyone else to see it.
Thanks! |
How are you adding this add?
|
Just by placing adsense ad code on a page.
|
Wrap the code with this.
Code:
<if condition="!is_member_of($bbuserinfo, X)"> |
Awesome, thanks!
|
Not a problem, glad to help. :)
|
Quick question.. if I wanted to add a 2nd usergroup ID to that, would I just put a comma after the first ID, and then add the snd ID?
Thanks again! --------------- Added [DATE]1383283259[/DATE] at [TIME]1383283259[/TIME] --------------- Nevermind, answered my own question. :D |
Yes, that is what you would do, for the benefit of anyone else reading. :)
|
Hmmm, you may want to use this version <if condition=" in_array($bbuserinfo[usergroupid],array(1,2,3,4,5,6,7,8))">
|
All times are GMT. The time now is 10:03 PM. |
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:
|