vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Google Adsense For Suite Version (https://vborg.vbsupport.ru/showthread.php?t=228494)

SuperTaz 11-20-2009 10:00 PM

Google Adsense For Suite Version
 
1 Attachment(s)
/*================================================= =====================*\
|| ################################################## ############# ||
|| # 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!

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

kall 11-21-2009 05:27 PM

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

Quote:

Originally Posted by kall (Post 1918434)
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

Quote:

Originally Posted by kall (Post 1918434)
Why do we have to edit the navbar template when global_navbar_below Advertising Template is available?

Quote:

Originally Posted by MikalMirkas (Post 1918447)
Why do we need this when we have Google AdSense integration...

Quote:

Originally Posted by Warden-B- (Post 1918498)
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?

kall 11-23-2009 07:32 PM

Quote:

Originally Posted by MikesSite (Post 1919703)
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.


All times are GMT. The time now is 03:42 PM.

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.02308 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete