View Full Version : Integration with vBulletin - Adsense Leaderboard on Non-Index Pages

05 Sep 2008, 00:19
What is the Adsense Leaderboard?

This is a port of my previous template modification for vBulletin 3.6.x (http://www.vbulletin.org/forum/showthread.php?t=157918) to vBulletin 3.7.x; this modification places a Google Adsense 728 x 90 Leaderboard Ad Unit under the navigation bar on all vBulletin-powered pages that call the navbar, except for Forumhome (index). The integration of the Google Adsense is placed in a simple, elegant, style-compliant box. Unlike my previoous modification, this one makes use of the new vBulletin 3.7 Ad Templates.

If you use this template modification and enjoyed it, please:

Mark this Modification as Installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=190052)

How to Install

In Admin CP > Styles & Templates > Style Manager > Edit Templates, edit the ad_navbar_below template, and insert the following:

<if condition="THIS_SCRIPT != 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width: 0px">
<tr><td class="alt1" align="center">
<script type="text/javascript"><!--
google_ad_client = "your-pub-id-here";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_color_border = "222222";
google_color_bg = "222222";
google_color_link = "FFB019";
google_color_text = "D7CEA4";
google_color_url = "D7CEA4";
<script type="text/javascript"
<br />

Simply replace the "your pub id here" reference above with your Google Adsense Publisher ID, and customize the google_color scheme to match the link, text, and background colors of your site (preferrably matching up with link, alt1 text, and alt1 background). Then, you're all set! Please remember, that if you enjoy this modification and would like to encourage me to release other stylish Adsense integrations, please mark this modification as installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=190052). Thank you!

Aelyria.com (http://www.aelyria.com/forums) - just enter any forum/area.

05 Sep 2008, 00:56
I cannot find the Forums on your Site

/me Hates vbadvanced

05 Sep 2008, 01:07
I cannot find the Forums on your Site

/me Hates vbadvanced
Sorry, link updated. Click "Play". :)

05 Sep 2008, 01:11
Thanks for the Tip , My Google ads already show on non indexed pages so this mod confuses me.

Much More intrigued by your Gift Subscription Mod - ill Buy a Copy Can you point me in the right direction?

Markets Where
05 Sep 2008, 11:04
your site is very slow to open.

05 Sep 2008, 14:24
your site is very slow to open.
I'm showing page generation on 0.04 seconds. Maybe you accessed it during one of our scheduled cron/backups. Your sites, on the other hand, all time-out.

Thanks for the support, everyone. Please remember to mark this add-on as installed (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=190052) and I will be glad to release other Adsense template contributions.

07 Sep 2008, 07:18
So is it bad to have Adsense on the forum index page?

07 Sep 2008, 16:40
So is it bad to have Adsense on the forum index page?
Yes, for two reasons:

1. Google won't generate relevant advertising on your front page because its too varied and there's often insufficient information to push relevant advertising.

2. It clutters up space for one of the lowest return-on-real-estate points for your website.

07 Sep 2008, 20:30
I have a google ad on my forum index and it shows relevant ads

08 Sep 2008, 12:53
I have a google ad on my forum index and it shows relevant ads

Mine too.....

07 Nov 2015, 20:04
Good but i am not going to install due to worry of adsence code change