Log in

View Full Version : google adsense placement question


bada_bing
11-16-2005, 07:21 PM
I want to be able to add the google ads to the very bottom of all my forums in the footer area. Does anyone have the code and how to do this? I also want this code to be condition based meaning google adds should only appear if you are not part of a group. For example paid subscriptions,admins, moderators DONT see the adds but everyone else does.
I am running 3.0.7 for vbulliten and have searched the site and cant find a code to so this . can someone please help?

thank you.

tnguy3n
11-16-2005, 08:25 PM
something like:
<if condition="!is_member_of($bbuserinfo, array(5,6,7))">google code in here</if>

add to the array more usergroups as you wish.

steven s
11-18-2005, 02:47 AM
I don't know why you want to hide adsense. I find that it ads to the content of the forum.

Neutral Singh
11-18-2005, 01:46 PM
hide adsense only for paying members ;)

bada_bing
11-18-2005, 05:24 PM
something like:
<if condition="!is_member_of($bbuserinfo, array(5,6,7))">google code in here</if>

add to the array more usergroups as you wish.

can you explain where and where exacly I add this code for the location I want to place it??
Not ready a coder as you can tell but I try to get by.

bada_bing
11-29-2005, 01:21 AM
can you explain where and where exacly I add this code for the location I want to place it??
Not ready a coder as you can tell but I try to get by.

Any Help with this?

Teegtahn
12-04-2005, 02:38 PM
Edit your default template, Styles Manager -> Default Template, "All Template Options" (or something to that effect) - Look for the FOOTER HTML code.

Note: if any of the themes you've installed have customized footers, this will not recursively change them all, you will need to edit each one by hand.