The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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
|
#2
|
||||
|
||||
![]() Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> AD CODE HERE </if> |
#3
|
|||
|
|||
![]()
Thanks very much I believe thats all I need
![]() |
#4
|
|||
|
|||
![]()
Ok well I have thi code:
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3, 4, 16, 6, 20, 22, 23)"> <!-- Begin: AdBrite --> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=723586&br=1"></script> <!-- End: AdBrite --> </if> 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? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|