The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin Google Adsense Deep Integration Tutorial
This tutorial is written to show you how to use your Google Adsense codes efficiently in your vBulletin (3.5+) templates. I have a very heavily modified vBulletin style but i used the original style for this tutorial to be simple and match the colors. You can change everything as you want to find the most fitting results for your vBulletin. Alternate ads-PSAs to Collapsible ads: Quote:
Create a HTML file with this code and save it as collapsible_ad.html: HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title></title> <script src="http://pagead2.googlesyndication.com/pagead/google_adsense_script.js" type="text/javascript"></script> </head> <body style="background-color: transparent;"> </body> </html> Go to your Google Adsense account and grap your google_ad_client and google_ad_channel codes. (google_ad_channel is optional) Open Notepad and paste these codes as you will change them with youradsensecode and yourchannelcode on the following steps. We will use these there ad layouts in this tutorial: 728 x 90 Leaderboard 468 x 60 Banner 234 x 60 Half Banner ...and one link unit: 468 x 15 Note: navbar template editing step is optional because it may be against the Google Adsense rules for you. If you edit navbar template, almost all of your vBulletin pages will have Adsense ads at the top of the pages. My navbar and header templates include some flash, gif and text content and i update them regularly. It's why i use Adsense ads in navbar. You may apply this step (the ad unit) manually to your FORUMHOME, FORUMDISPLAY, etc templates... Open your navbar template: vBulletin AdminCP > Styles & Templates > Edit Templates > Navigation / Breadcrumb Templates > navbar (for the link unit) Find: Quote:
Quote:
(for the ad unit) Find: Quote:
Quote:
Save. Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY (First thread) Find: Quote:
Quote:
(Last thread) Find: Quote:
Quote:
Save. https://vborg.vbsupport.ru/showthread.php?t=102466 Open your search_results template: vBulletin AdminCP > Styles & Templates > Edit Templates > Search Templates > search_results (First result) Find: Quote:
Quote:
(Last result) Find: Quote:
Quote:
Save. Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy) (First post and last shown post) Find: Quote:
Quote:
https://vborg.vbsupport.ru/showpost....30&postcount=7 Results: vBulletin Google Adsense Deep Integration Tutorial by NeutralizeR @ www.MsXLabs.org |
#92
|
|||
|
|||
Quote:
|
#93
|
||||
|
||||
thank you...
|
#94
|
|||
|
|||
How to implement adsense in the same style as in forumshow template but for forumhome?
|
#95
|
|||
|
|||
Quote:
|
#96
|
|||
|
|||
ok so i integrated this in my forum www.ps3center.net/forums .. but I tweaked it a little .. I added the logo`s around it etc. Do you guys think this is against Google`s TOS ? What would you guys do? Keep it or take it off .. I dont wanna get banned from Adsense ...
|
#97
|
|||
|
|||
How would I make it viewable by certain usergroups only? Thanks
|
#98
|
|||
|
|||
This not real clear, to me anyways. I want to put my ads in between the posts in a thread. So instead of the ads being at the top of the site pages as it is now. Take them from there have them show in the threads. When some one opens a thread and they cruz thru the posts, there would be my ads in them, between the posts.
On my site, the posts are in sep boxes with a space between them. Anyway to code the Google ads to fit in between them, another box, that flows with the posts? |
#99
|
|||
|
|||
Quote:
I want to integrate adsense 236x60 half banner into the forum list on forumhome page.... EXAMPLE:
|
#100
|
||||
|
||||
this is great
|
#101
|
|||
|
|||
google banned my website cuz I used this ..wudnt recommend this for google ..but other ad networks are fine i guess ...great hack meanwhile
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|