Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Adsense Leaderboard on Non-Index Pages Details »»
Adsense Leaderboard on Non-Index Pages
Version: 1.00, by Kaelon Kaelon is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.2 Rating:
Released: 09-04-2008 Last Update: Never Installs: 13
Template Edits
 
No support by the author.

What is the Adsense Leaderboard?

This is a port of my previous template modification for vBulletin 3.6.x to vBulletin 3.7.x; this modification places a Google Adsense 728 x 90 Leaderboard Ad Unit under the navigation bar on all vBulletin-powered pages that call the navbar, except for Forumhome (index). The integration of the Google Adsense is placed in a simple, elegant, style-compliant box. Unlike my previoous modification, this one makes use of the new vBulletin 3.7 Ad Templates.

If you use this template modification and enjoyed it, please:


How to Install

In Admin CP > Styles & Templates > Style Manager > Edit Templates, edit the ad_navbar_below template, and insert the following:

Code:
<if condition="THIS_SCRIPT != 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width: 0px">
<tr><td class="alt1" align="center">
<script type="text/javascript"><!--
google_ad_client = "your-pub-id-here";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_color_border = "222222";
google_color_bg = "222222";
google_color_link = "FFB019";
google_color_text = "D7CEA4";
google_color_url = "D7CEA4";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td></tr>
</table>
<br />
</if>
Simply replace the "your pub id here" reference above with your Google Adsense Publisher ID, and customize the google_color scheme to match the link, text, and background colors of your site (preferrably matching up with link, alt1 text, and alt1 background). Then, you're all set! Please remember, that if you enjoy this modification and would like to encourage me to release other stylish Adsense integrations, please mark this modification as installed. Thank you!



Demonstrations

Show Your Support

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

Comments
  #2  
Old 09-04-2008, 10:56 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot find the Forums on your Site

/me Hates vbadvanced
Reply With Quote
  #3  
Old 09-04-2008, 11:07 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
I cannot find the Forums on your Site

[high]* Kaelon Hates vbadvanced
[/high]
Sorry, link updated. Click "Play".
Reply With Quote
  #4  
Old 09-04-2008, 11:11 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the Tip , My Google ads already show on non indexed pages so this mod confuses me.

Much More intrigued by your Gift Subscription Mod - ill Buy a Copy Can you point me in the right direction?
Reply With Quote
  #5  
Old 09-05-2008, 09:04 AM
Markets Where Markets Where is offline
 
Join Date: Feb 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your site is very slow to open.
Reply With Quote
  #6  
Old 09-05-2008, 12:24 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Markets Where View Post
your site is very slow to open.
I'm showing page generation on 0.04 seconds. Maybe you accessed it during one of our scheduled cron/backups. Your sites, on the other hand, all time-out.

Thanks for the support, everyone. Please remember to mark this add-on as installed and I will be glad to release other Adsense template contributions.
Reply With Quote
  #7  
Old 09-07-2008, 05:18 AM
:Judge:'s Avatar
:Judge: :Judge: is offline
 
Join Date: Jan 2003
Location: USA ~ MD
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So is it bad to have Adsense on the forum index page?
Reply With Quote
  #8  
Old 09-07-2008, 02:40 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by :Judge: View Post
So is it bad to have Adsense on the forum index page?
Yes, for two reasons:

1. Google won't generate relevant advertising on your front page because its too varied and there's often insufficient information to push relevant advertising.

2. It clutters up space for one of the lowest return-on-real-estate points for your website.
Reply With Quote
  #9  
Old 09-07-2008, 06:30 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a google ad on my forum index and it shows relevant ads
Reply With Quote
  #10  
Old 09-08-2008, 10:53 AM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
I have a google ad on my forum index and it shows relevant ads
Mine too.....
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 08:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04601 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete