View Full Version : Forum Home Enhancements - Google Adsense For Suite Version
SuperTaz
11-20-2009, 10:00 PM
/*================================================= =====================*\
|| ################################################## ############# ||
|| # Google Adsense For Suite Version
|| # Version 1.00
|| # Author: Warden
|| # This mod may only be used from vbulletin.org
|| # DO NOT display this mod on any other modification site without my permission
|| # You can alter this code and re-display it here on vbulletin.org
|| ################################################## ############# ||
\*================================================ ======================*/
Google Adsense For vBulletin 4.0.0 Beta 4
Install time: Less than 1 minute
Installation:
Go to your navbar template:
Styles and Templates > Style Manager > vB4 > Navigation Breadcrumb Templates > Navbar:
Find this code near the bottom:
<div id="breadcrumb" class="breadcrumb">
<ul class="floatcontainer">
Add this above it:
<br />
<!-- Google Adsense -->
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-ENTER YOUR PUB ID HERE";
/* 728x90, created 11/20/09 */
google_ad_slot = "5642920491";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- / Google Adsense -->
Enter your PUB ID where it says to in the code!
Save and Reload.
Done!
If you use this mod, please CLICK INSTALL!
SuperTaz
11-21-2009, 02:14 AM
Reserved for future use!
baghdad4ever
11-21-2009, 08:24 AM
thanks
is it autumatically insert google ads in suite like 3.8 or not?
SİMAR
11-21-2009, 10:26 AM
thanks
Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?
MikalMirkas
11-21-2009, 05:50 PM
Why do we need this when we have Google AdSense integration...
SuperTaz
11-21-2009, 07:14 PM
Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?
The choice is yours. Either use vbulletin adsense or mine. Does not matter.
djbaxter
11-21-2009, 07:56 PM
Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?
Why do we need this when we have Google AdSense integration...
The choice is yours. Either use vbulletin adsense or mine. Does not matter.
The advantage to using the built-in vBulletin options is that you don't have to keep manually editing the code with every upgrade as you will with this mod.
MikesSite
11-23-2009, 07:20 PM
Yeah but doesnt vB take a cut of your earnings if you use their adsense? If so then why wouldn't you want to use this?
Yeah but doesnt vB take a cut of your earnings if you use their adsense? If so then why wouldn't you want to use this?
No they don't, the 'using the default vB Advertising Templates' simply refers to popping your code into a predefined Template that is rendered at a predefined location, saving you from having to reapply this code each and every time you upgrade.
djbaxter
11-23-2009, 10:05 PM
Exactly. MikesSite, I don't know where you heard such a ludicrous claim but it's untrue and hopelessly ridiculous.
MikesSite
11-24-2009, 01:51 AM
No they don't, the 'using the default vB Advertising Templates' simply refers to popping your code into a predefined Template that is rendered at a predefined location, saving you from having to reapply this code each and every time you upgrade.
I actually got into this with a friend of mine the other day. I didnt think they did and he convinced me otherwise. I figured I would ask.
Exactly. MikesSite, I don't know where you heard such a ludicrous claim but it's untrue and hopelessly ridiculous.
Hopelessly ridiculous? I can think of a lot more things that are "hopelessly ridiculous". Horrible choice of words.
Alecsmith
11-28-2009, 04:35 AM
Thanks good work :)
dihuta
12-05-2009, 08:10 AM
Reserved for future use!
rtyagis
12-11-2009, 01:43 PM
Reserved. :up:
SuperTaz
12-17-2009, 01:34 AM
32 downloads and only 8 installs? If you download the files, click install. Thanks.
patricii13
12-29-2009, 09:29 AM
Why do we need this when we have Google AdSense integration...
Unfortunately VB-Adsense integration is very primitive and non flexible at this moment. As for me I satisfied VB-Adsense integration on archive pages only.
All other templates caused drops in revenues. So I would prefer to manually change code for Adsense integration.
odonel
12-29-2009, 10:54 AM
are you kidding me? this is a mod ? why not just add the google generated script with ID in ad manager ?
abusive...
x626xblack
12-30-2009, 12:19 PM
<div class="breadcrumbcontainer">
<div id="breadcrumb">
Does not exist in my navbar template
Did this change on the Gold release?
The word breadcrumbcontainer is no where in that template
cagbaazee
01-16-2010, 03:23 AM
Yeah.. Me too.. here is no code for that in navbar - <div class="breadcrumbcontainer">
<div id="breadcrumb">
can u discuss.
SuperTaz
01-19-2010, 06:26 PM
are you kidding me? this is a mod ? why not just add the google generated script with ID in ad manager ?
abusive...
This code is for people who want to put adsense in other places rather than using vB's standard adsense system. How is that abusive?
Yeah.. Me too.. here is no code for that in navbar - <div class="breadcrumbcontainer">
<div id="breadcrumb">
can u discuss.
During the Beta stages of vB4, that code was the code they used at that time. Now that vB4 is Gold, they changed some code and that just happened to be one of the codes changed.
I updated the code now. Have a great day!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.