View Full Version : adsense banner into my forum
Bobby Blaze
06-21-2009, 06:54 PM
Hello,
I am looking for a way to add a google adsense banner under my navbar. I would like to know if there is a plugin for this or something? I am looking for a way to put usergroup permissions on it so only certain usergroups can see the add. Can anyone help? Thanks in advance.-
Carnage
06-21-2009, 07:03 PM
If you link your adsense account to your vbulletin account you can download a version of vbulletin with an admanager included.
That may be able to do what you want.
if not, edit the template ad_below_navbar and put in the google adsense code. you can wrap it with a conditional block for controlling which user groups see it.
Bobby Blaze
06-22-2009, 11:28 AM
Sir, how do I add the conditional block? Thanks.
cono1717
06-22-2009, 12:49 PM
<if condition="is_member_of($bbuserinfo, A, B, C)">
ADSENSE CODE
</if>
Just replace the A B C with user group id's i.e 4, 5, 6. You can add more like this
C, D, E, F
Nice list here http://www.vbulletin.com/forum/showthread.php?t=200894 certainly worth a bookmark.
UKBusinessLive
06-22-2009, 02:14 PM
<if condition="is_member_of($bbuserinfo, A, B, C)">
ADSENSE CODE
</if>
Just replace the A B C with user group id's i.e 4, 5, 6. You can add more like this
C, D, E, F
Nice list here http://www.vbulletin.com/forum/showthread.php?t=200894 certainly worth a bookmark.
Handy, Thanks for the link :up:;)
Bobby Blaze
06-22-2009, 03:07 PM
<if condition="is_member_of($bbuserinfo, A, B, C)">
ADSENSE CODE
</if>
Just replace the A B C with user group id's i.e 4, 5, 6. You can add more like this
C, D, E, F
Nice list here http://www.vbulletin.com/forum/showthread.php?t=200894 certainly worth a bookmark.
Thanks, appreciated.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.