Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Google Forums > Google AdWords & AdSense Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 02-04-2007, 05:31 PM   #1 (permalink)
dop
Noogle
 
Join Date: Feb 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
dop is on a distinguished road
Google AdSense for PHP-Nuke

Introduction: you have probably noticed that the advertising provided by Google called AdSense is getting a huge success on the internet! Now you have thought allready about getting this kind of advertising into your PHP-Nuke website? And maybe you allready tried to implement the ads in a block on the left or on top of your website but it didn't work out because you didn't had much revenue ?

As you check on the website of Google AdSense you will learn that the advertising is choosen according the content of your website! They will also tell you that you are only allowed to add 1 script per page. (script = coding to place the add)

If you follow these steps I will make your website getting more revenue than ever before! I will explain how to change a little bit in your files to get your ads on the best spots of your PHP-Nuke website! Please note that not all is explained, you will have to do your research on the official Google AdSense-website
Frontpage

Like on my homepage in the center of the website where it receives a lot of attention:

Create a block called block-googleads.php and add the following in the file:
Code:
<?php
#### Made By Mighty_Y ###
if (eregi("block-googleads.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
?>

<script language="JavaScript">
<!--
google_ad_client = 'your client-number';
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468X60_as';
google_color_border = "E5E5E5";
google_color_bg = "E5E5E5";
google_color_link = "336699";
google_color_url = "000000";
google_color_text = "000000";

// -->
</script>
<?php
$content
.= "<center><script language=\"JavaScript\" src=\"\">";
$content .= "</script></center>";
?>


Save and upload to your server where you need to activate in your admin-panel. Don't forget to add your client-number.
dop is offline   Reply With Quote
 
Sponsored Links
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google AdSense PIN ?????? Pradeep Jayaraj Google AdWords & AdSense Forum 1 01-02-2007 10:30 PM
adsense website builder+pre-built adsense websites help danielspencer2 Google AdWords & AdSense Forum 1 03-15-2006 07:33 PM
Nuke Google Community Pixel Chit Chat 3 04-11-2005 11:49 AM
Php-Nuke Templates??? Paul123 General Computer Forum 2 02-11-2005 05:57 AM


All times are GMT -8. The time now is 10:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community