Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Adsense For Suite Version Details »»
Google Adsense For Suite Version
Version: 1.00, by SuperTaz SuperTaz is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.x Rating:
Released: 11-20-2009 Last Update: 01-18-2010 Installs: 21
Template Edits
Re-useable Code  
No support by the author.

/*================================================= =====================*\
|| ################################################## ############# ||
|| # 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:

Code:
<div id="breadcrumb" class="breadcrumb">
	<ul class="floatcontainer">
Add this above it:

Code:
<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!

Download Now

File Type: txt adsense_install.txt (920 Bytes, 63 views)

Screenshots

File Type: jpg adsense.jpg (41.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-23-2009, 10:05 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly. MikesSite, I don't know where you heard such a ludicrous claim but it's untrue and hopelessly ridiculous.
Reply With Quote
  #13  
Old 11-24-2009, 01:51 AM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
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.

Quote:
Originally Posted by djbaxter View Post
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.
Reply With Quote
  #14  
Old 11-28-2009, 04:35 AM
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Location: Still On Earth
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks good work
Reply With Quote
  #15  
Old 12-05-2009, 08:10 AM
dihuta dihuta is offline
 
Join Date: Jul 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for future use!
Reply With Quote
  #16  
Old 12-11-2009, 01:43 PM
rtyagis rtyagis is offline
 
Join Date: Feb 2009
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved. :up:
Reply With Quote
  #17  
Old 12-17-2009, 01:34 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

32 downloads and only 8 installs? If you download the files, click install. Thanks.
Reply With Quote
  #18  
Old 12-29-2009, 09:29 AM
patricii13 patricii13 is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MikalMirkas View Post
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.
Reply With Quote
  #19  
Old 12-29-2009, 10:54 AM
odonel odonel is offline
 
Join Date: Sep 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are you kidding me? this is a mod ? why not just add the google generated script with ID in ad manager ?

abusive...
Reply With Quote
  #20  
Old 12-30-2009, 12:19 PM
x626xblack x626xblack is offline
 
Join Date: Oct 2009
Location: Houston Tx.
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<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
Reply With Quote
  #21  
Old 01-16-2010, 03:23 AM
cagbaazee cagbaazee is offline
 
Join Date: Jul 2007
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah.. Me too.. here is no code for that in navbar - <div class="breadcrumbcontainer">
<div id="breadcrumb">

can u discuss.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07130 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete