Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
AdSense With NavBar Modification Details »»
AdSense With NavBar Modification
Version: 1.00, by Infinity101 Infinity101 is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 10-26-2006 Last Update: Never Installs: 4
 
No support by the author.

I have notice several people becoming more and more interested with advertising on their site. While some modifications work better than others, this modification when used correctly can help increase user revenue.

This modification will create a second navbar menu and use the adsense link unit and selected vBulletin links to fill it.

- Edit Nabar template -
Locate:
Code:
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
Add under:
Code:
<!-- nav buttons bar -->
<div align="center">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
	<tr align="center">
				
			<if condition="$show['member']">
				<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
<if condition="$show['member']">
			<td class="vbmenu_control">
		</if>
		<else />	
			<td class="vbmenu_control">

                              GOOGLE LINK UNIT CODE HERE


</td>
			<if condition="$show['searchbuttons']">
				<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>		
		</if>
	</tr>
	</table>
</div>
<!-- / nav buttons bar -->
- Note : I have not had Google check the ad-placement in regard for program policies.

Forgive my poor HTML abilities to make a more sophisticated method, this post is more to give further ideas how to use AdSense on your forum

Show Your Support

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

Comments
  #2  
Old 10-27-2006, 01:06 AM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tried it, it doesnt look that good, but i fixed it a lil

www.theynd.com
Quote:
</div>
<!-- / nav buttons bar -->
before that, just add google adsense
i dont know how it is for other styles, but thats how i got it on mine
but very nice addition - - - without it, i wouldnt be able to add it to my site
thanks
Reply With Quote
  #3  
Old 10-27-2006, 01:10 AM
Infinity101 Infinity101 is offline
 
Join Date: Feb 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cuphongle
i tried it, it doesnt look that good, but i fixed it a lil
Yep, that is one of the problems. I have tested on a few forums, some it will look really good, others it just doesn't look good at all. It really depends on how you can modify the appearance to match your site.
Reply With Quote
  #4  
Old 10-27-2006, 04:42 AM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it against adsense TOS?
Reply With Quote
  #5  
Old 10-27-2006, 04:52 AM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know, you should try emailing them.
Reply With Quote
  #6  
Old 10-27-2006, 10:57 AM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vietfancy
is it against adsense TOS?

Why would you ask that? If you have an adsense account, it becomes your responsibility to know what is and what isn't safe to add in regards to google adsense.

Lets say I tell you it is safe and I was wrong. Then someone reports your site to google and they decide to boot you from the program. Would you be writing google trying to explain that "Rich" said it was safe to use? If they bothered to respond (which they likely wouldn't) , they would tell you this:

"Unfortunantly, Rich is not employed by Google. The TOS explains what is and what isn't allowed."

See now why it is your responsibility to know the TOS?
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 09:56 PM.


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.04952 seconds
  • Memory Usage 2,245KB
  • Queries Executed 19 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete