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 |
#102
|
|||
|
|||
Quote:
I also install the code.... my forum look very nice right now.. you can take a look at http://forum.easywordpress.com for example. Thanks to NeutralizeR, you did a great job. Tips for you guys who are not quite sure about this modifications. You need to use dreamweaver or any HTML editor which can show you the interface. From there you can edit the code and add in the boarder easily. By the way, do any one of you using adsense sharing mod by chance?? |
#103
|
||||
|
||||
when i add google adsense i have problem in opera, it only view header notging else
http://img176.imageshack.us/my.php?i...2211200md9.jpg |
#104
|
||||
|
||||
thank you NeutralizeR
-Eline sağlık bu derecede başarılı arkadaşları burda görmek çok güzel, çalışmalarının daim olması dileği ile.- |
#105
|
|||
|
|||
thank you NeutralizeR
-eline sağlık dostum- |
#106
|
||||
|
||||
Awesome guide, NeutralizeR! I've implemented some your tutorial ideas into my forums.
|
#107
|
|||
|
|||
Hello everyone,
I would like to offer some advice to those who perform these modifications. if you value your google adsense account, please verify that all these positions are within Google's TOS. Just because an Adsense modification is approved for someone, doesn't mean it is approved for you. Case in point, I notified Google about these positions for my forum, and I am not allowed to display Google Adsense link units above the navbar. Please be careful guys and do not lose your Adsense accounts. Here is an Adsense link unit blended above the navbar: |
#108
|
||||
|
||||
google_ad_channel nedir ve nereden öğrenilir?
|
#109
|
|||
|
|||
Her bir reklam biriminin performansını ayrı ayrı izlemek i?in kullanılır kanallar.
Adsense hesabınızla giriş yaptıktan sonra kodu oluşturmadan ?nce kanal se?imi yapıyorsunuz, tabii isteğe bağlı. google_ad_channel satırını tamamen silebilirsiniz. |
#110
|
||||
|
||||
great tutorial
|
#111
|
|||
|
|||
Hello guys!
I want to make a change here in forumdisplay and search result. Right now they both look like this I want to drop the other TD and have only one so the ad can lay over not just the thread title but also last post, replies views and forum. Like this. Anyone have any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|