Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
UKBL ~ Google Adsense in Navbar
UKBusinessLive
Join Date: Sep 2008
Posts: 1,637

Work like a donkey at work, love chillin on VB.org. Work Hard - Play Hard! - Try it you'll love it

Essex, United Kingdom
by UKBusinessLive UKBusinessLive is offline 27 Apr 2009
Rating: (2 votes - 4.50 average)

UKBL ~ Google Adsense in Navbar

Want to display some adsense ads in the navbar?? Want ads to show for guests and other chosen usergroups? Well now you can


This is a really easy and simple edit, should take no longer than a few minutes

Lets Start

Go to edit the following template in your admin CP

AdminCP > Styles & Templates> Style Manager> Your Chosen Style> All style options> Edit templates> Navigation / Breadcrumb Templates> navbar

In template NAVBAR find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below it add


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

don't forget to add your own adsense code I've added mine but add yours to the above code, it should look something like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


and dont forget to change the X,Y,Z here


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for the usergroups that you want the adsense to show for.

Remember it takes time, upto 10 mins for the adsense code to activate, so keep refreshing your page

If you havn't got an adsense account for your forum sign up for one here https://www.google.com/adsense

Have fun



Please remember to click install and i'll support you 100%
Attached Images
File Type: png google.png (34.2 KB, 75 views)
Attached Files
File Type: zip google.zip (32.8 KB, 31 views)
Views: 4843
Reply With Quote
Comments
  #2  
Old 27 Apr 2009, 18:03
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
reserved
Reply With Quote
  #3  
Old 27 Apr 2009, 18:27
freewilley's Avatar
freewilley freewilley is offline
 
Join Date: Jan 2009
cool really cool!! u are the best
Reply With Quote
  #4  
Old 06 May 2009, 11:54
TheHolf TheHolf is offline
 
Join Date: Mar 2009
Hmmm only 4 adsense blocks allowed per page.. Looks like I might have to remove one .

Thanks
Reply With Quote
  #5  
Old 06 May 2009, 20:21
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Neat idea
__________________
Siliconhell.com - Mindbending quizzes and a forum full of fun
Reply With Quote
  #6  
Old 06 May 2009, 20:27
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
great idea, thanks for posting this
/me bookmarks it
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #7  
Old 07 May 2009, 06:10
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Thanks everyone, hope it makes you loads
Reply With Quote
  #8  
Old 12 May 2009, 12:08
cgway.net cgway.net is offline
 
Join Date: Aug 2007
thanks to you
Reply With Quote
  #9  
Old 14 May 2009, 19:12
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Installed, thanks!
Reply With Quote
  #10  
Old 23 Aug 2009, 17:33
joyboy2001 joyboy2001 is offline
 
Join Date: Nov 2008
google does not recommend you let people see your publisher number ... you might want to remove that ...
Reply With Quote
  #11  
Old 17 Sep 2009, 12:25
Cplkaos Cplkaos is offline
 
Join Date: May 2009
I have copied the script and have inserted my own google code.

When I leave the users as X, Y, Z as per your code, I get webpage not displayed.

When I change XYZ for my relevent usergroups (6 Being ADMIN) there is nothing in the navbar, even after 10 mins.

I have switched of the Adsense I had running in the ADMIN CP incase there was a conflict.

Any help would be sooooooooooooooooooooooo helpful.

Cheers.
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Miscellaneous Hacks Non-Adsense Google site & web search for your navbar! zefyx vBulletin 3.8 Template Modifications 9 02 Sep 2009 09:44
Add Google adsense search to your navbar dropdown ericgtr vBulletin 3.5 Template Modifications 63 13 Jan 2009 13:01
Google Adsense In Navbar dieselpowered vBulletin 3.5 Template Modifications 48 22 Mar 2008 20:58
Mini Mods ... BigJimTheLug Modification Graveyard 1 07 Jun 2007 21:32



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:30.

Layout Options | Width: Wide Color: