Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #2  
Old 11-21-2009, 02:14 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for future use!
Reply With Quote
  #3  
Old 11-21-2009, 08:24 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks

is it autumatically insert google ads in suite like 3.8 or not?
Reply With Quote
  #4  
Old 11-21-2009, 10:26 AM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #5  
Old 11-21-2009, 05:27 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?
Reply With Quote
  #6  
Old 11-21-2009, 05:50 PM
MikalMirkas MikalMirkas is offline
 
Join Date: Sep 2009
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why do we need this when we have Google AdSense integration...
Reply With Quote
  #7  
Old 11-21-2009, 07:14 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
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.
Reply With Quote
  #8  
Old 11-21-2009, 07:56 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?
Quote:
Originally Posted by MikalMirkas View Post
Why do we need this when we have Google AdSense integration...
Quote:
Originally Posted by Warden-B- View Post
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.
Reply With Quote
  #9  
Old 11-23-2009, 07:20 PM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 11-23-2009, 07:32 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

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:36 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.05445 seconds
  • Memory Usage 2,317KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (5)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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