Back to vBulletin 3.6 Template Modifications

Adsense Leaderboard on Non-Index Pages
Mod Version: 1.00, by Kaelon

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 4.50 average) Installs: 7
Released: 15 Sep 2007 Last Update: Never Downloads: 3
Not Supported Template Edits  

After reading some of the great Google Adsense template modifications on this forum, I decided to contribute one of my own. Special thanks go to StarBuG, whose Adsense template modifications have been tremendous inspiration.

What does it do?
This modification places a Google Adsense 728 x 90 leaderboard under the navigation bar (navbar) on all vBulletin-powered pages that call the navbar, except for the Forumhome (index). The integration of the Google Adsense is placed in a simple, elegant, style-compliant box.

How to Install

In Admin CP > Styles & Templates > Style Manager > Edit Templates, edit the navbar template. Search for:

Code:
<!-- / nav buttons bar -->
And add underneath:

Code:
<if condition="THIS_SCRIPT != 'index'">
<!-- Google Adsense Headers, Non Index -->
<br />
<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_image";
google_color_border = "222222";
google_color_bg = "222222";
google_color_link = "FFB019";
google_color_text = "D7CEA4";
google_color_url = "D7CEA4";
//-->
</script>
<script type="text/javascript"
  src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr>
</table>
<!-- / Google Adsense Headers, Non Index -->
</if>
Simply customize the google_color scheme to match the link, text, and background colors of your site (preferrably matching up with the link, alt1 text, and alt1 background). Then, you're all set! Feel free to mark this as installed if you use it on your site.

Demo
http://www.aelyria.com/forums - just enter any forum/area.

Download

No files for download.

Supporters / CoAuthors

  • Kaelon

Similar Mods

Integration with vBulletin Adsense Leaderboard on Non-Index Pages vBulletin 3.7 Template Modifications
Mini Mods [Naxon] Advertizing Box (For Adsense) On Index vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024