Back to vBulletin 3.5 Template Modifications

Put Google AdSense in your forums
Mod Version: 1.00, by Dream

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 23
Released: 07 Jul 2005 Last Update: Never Downloads: 2
Not Supported Template Edits Re-usable Code  

Kinda interesting info to share.

The AdSense TOS says you can't put ads in pages that are exclusively asking input from the user, which means in vBulletin creating a thread page, replying or editing a post.

This code will put your ads between the navbar and forum/thread listing. Edit your "navbar" template, and after

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

Code:
<br />
<if condition="THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'editpost' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'register'">
 <!-- Google AdSense -->
 YOUR_ADSENSE_CODE_HERE
 <!-- / Google AdSense -->
 </if>
not sure about other locations, hope that helps.

updated added login and search and register

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024