![]() |
Google ads to only show to certain user group?
Ok well I have google ads on my forum, manually put in to the templates. Im making a new usergroup and I dont want them to be able to view the ads. For this to work what is the code I put the adsense in between? It will be an IF condition i think..? Any help would be great. Thanks
|
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> |
Thanks very much I believe thats all I need :)
|
Ok well I have thi code:
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 16, 6, 20, 22, 23)"> EDIT: I figured out its because they also had a secondary member group which is in the IF condition. Is there anyway to change the IF condition to only work on primary user groups? |
All times are GMT. The time now is 02:36 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:
|