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

Reply
 
Thread Tools
Google Adsense In Navbar Details »»
Google Adsense In Navbar
Version: 1.00, by dieselpowered dieselpowered is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-09-2005 Last Update: 12-09-2005 Installs: 94
Template Edits
 
No support by the author.

This is a really quick template change, just an additional location for those of you looking to add google adsense to your board.

In your navbar template find (there are multiple instances of this code, use the first instance):
Code:
<if condition="$show['member']">
Above this add:
Code:
<!-- start adsense code -->
<td class="alt2">
Your adsense code
</td>
<!-- /end adsense code -->
Thats it, your all done

Hope this helps someone out, I am far from a coder, however, wanted to atleast attempt to give back to the community If you happen to use, please CLICK INSTALL

Show Your Support

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

Comments
  #12  
Old 12-11-2005, 03:43 PM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ugmphelon
doesnt work at all for me
Not to ask the obvious, however, do you have a google adsense account? As mentioned, you are looking for the first instance of <if condition="$show['member']">

Let me know
Reply With Quote
  #13  
Old 12-11-2005, 07:33 PM
ugmphelon ugmphelon is offline
 
Join Date: Dec 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i do, but i also have the "double navbar" feature, but blah. I donno.
Reply With Quote
  #14  
Old 12-11-2005, 07:39 PM
ugmphelon ugmphelon is offline
 
Join Date: Dec 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it, my code is alot diff. thanks

/me installs
Reply With Quote
  #15  
Old 12-12-2005, 12:41 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easy money.. Nice job Mike!
Reply With Quote
  #16  
Old 12-12-2005, 04:06 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mholtum
easy money.. Nice job Mike!
Thanks Mike
Reply With Quote
  #17  
Old 12-12-2005, 04:55 AM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty slick.
Reply With Quote
  #18  
Old 12-12-2005, 05:11 AM
edbri871 edbri871 is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is interesting as weve had our Google in the Nav bar for a ver long time now although hadnt thought of it to be a hack. Its was just a thought as that space always looked unused to me so one of the admins put it there. Of course it changes size based on screen resolution also...
Reply With Quote
  #19  
Old 12-12-2005, 05:25 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edbri871
This is interesting as weve had our Google in the Nav bar for a ver long time now although hadnt thought of it to be a hack. Its was just a thought as that space always looked unused to me so one of the admins put it there. Of course it changes size based on screen resolution also...
You actually have it under your navbar and above it. Regardless, this is in no way some sort of special super secret hack, it was simply meant as another alternative to adsense placement.
Reply With Quote
  #20  
Old 12-12-2005, 05:28 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bluecat
Pretty slick.
Nice site you have there
Reply With Quote
  #21  
Old 12-12-2005, 06:31 AM
edbri871 edbri871 is offline
 
Join Date: Apr 2005
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtremeoff-road
You actually have it under your navbar and above it. Regardless, this is in no way some sort of special super secret hack, it was simply meant as another alternative to adsense placement.
Not the right one and also I wasnt putting this down its a great alternative...
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 10:53 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.05041 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete