You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 54 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Google Adsense-How do you get the javascript code to work? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Xeon
Sergeant
Sergeant


Joined: Aug 28, 2003
Posts: 144

Location: USA

PostPosted: Wed Apr 27, 2005 12:46 am Reply with quoteBack to top

My site has just been accepted for use with Google Adsense and it appears that I cannot figure out where to input the google adsense code into phpnuke. Do I just place the code within my index.php within my root directory?

So how do you get the banners to work on your phpnuke sites? For example, this site has the google adsense running in the banner area, but I can't figure out how to get mine to run there.

Can anyone please indicate how you managed to get yours working with your nuke site??

Thank you in advance for your reply and help!

_________________
Xeon
http://www.credit-repair-combat.com/
Find all posts by XeonView user's profileSend private messageVisit poster's website
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Wed Apr 27, 2005 5:49 am Reply with quoteBack to top

It depends on where you want it to display, if you want it in a block then the tutorial below will show you how to add google ads to a block.

http://www.westernstudios.net/web/tut-google-block.html

If you want it in the header like here at nukecops then open your header.php and echo your google ads.. Place it just before the function head()


Quote:
echo '<center><script type="text/javascript"><!--
google_ad_client = "pub-0000000000000000";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "006B8C";
google_color_bg = "FFFFFF";
google_color_link = "006B8C";
google_color_url = "006B8C";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>';

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
Xeon
Sergeant
Sergeant


Joined: Aug 28, 2003
Posts: 144

Location: USA

PostPosted: Wed Apr 27, 2005 4:28 pm Reply with quoteBack to top

Thanks shrek!

Yeah I found the tutorials on the phpnuke site which also outlines how to do both of these.

Thanks for letting me know.

_________________
Xeon
http://www.credit-repair-combat.com/
Find all posts by XeonView user's profileSend private messageVisit poster's website
Kelen1
Nuke Cadet
Nuke Cadet


Joined: Apr 28, 2005
Posts: 1


PostPosted: Thu Apr 28, 2005 5:41 am Reply with quoteBack to top

Thanks shrek!
Laughing
has found for itself the helpful information, thanks

_________________
Also add here flower delivery Philadelphia
Find all posts by Kelen1View user's profileSend private messageVisit poster's website
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Thu Apr 28, 2005 7:52 am Reply with quoteBack to top

You're both welcome Smile

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
rudiger
Nuke Cadet
Nuke Cadet


Joined: May 30, 2005
Posts: 1


PostPosted: Mon May 30, 2005 12:22 pm Reply with quoteBack to top

Any idea who to use the javascript code into the database content. I would have different google adsense depending on the author of the content

Just using the code as it is ..doesn't show up at the screen.
Find all posts by rudigerView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.177 Seconds - 223 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::