PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Jigsatics
New Member
New Member


Joined: Apr 26, 2004
Posts: 9

PostPosted: Tue Aug 03, 2004 3:35 pm Reply with quote Back to top

Hi!

I noticed that a lot of Nuke sites including this have Google ads as a banner. What is the benefit of doing this?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Aug 03, 2004 3:40 pm Reply with quote Back to top

Every time anyone clicks through the ads, CACHUNG goes cash into your account! Come on folks start clicking!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
GeekyGuy
Client


Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Tue Aug 03, 2004 3:42 pm Reply with quote Back to top

Jigsatics,

Google Adsense is a way to make more income from your website.

More infomation can be found
Only registered users can see links on this board!
Get registered or login to the forums!


Hope this helped explain it some
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Jigsatics
New Member
New Member


Joined: Apr 26, 2004
Posts: 9

PostPosted: Mon Aug 16, 2004 2:12 pm Reply with quote Back to top

How do you add the banner on the site? I already have an account but it asks me to cut and paste a code. I cannot cut and paste a code because the banner option in nuke asks for a URL.
View user's profile Send private message Visit poster's website
swede
Hangin' Around


Joined: Jun 21, 2004
Posts: 48
Location: Michigan

PostPosted: Mon Aug 16, 2004 2:41 pm Reply with quote Back to top

Code:
<?
/
$content = <<<_JS_
<!-- Begin Google code. -->
***Enter Google code they give you here***
<!-- end of Google -->
_JS_;
?>


Save it as block_google.php upload it to your site and create block
View user's profile Send private message Visit poster's website MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Mon Aug 16, 2004 3:42 pm Reply with quote Back to top

You can also just add the code to your theme this works nice when you want to load it above the nuke header as you'll see on many sites.
View user's profile Send private message
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Mon Aug 16, 2004 4:18 pm Reply with quote Back to top

2 questions:

1. Do you get much cash from this because I've found in the past banner ads either on click or commission don't pay much if anything.

2. Does it slow the site down at all?
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Mon Aug 16, 2004 4:54 pm Reply with quote Back to top

1. Google Ads vary in click pay outs anywhere from $0.03 and up.
They do not pay you until you've reached $100.00.

2. NO! Wink

I've been running google ads for about two months, I think I've reached about 60 bucks..... Laughing but it better than 0.... Wink
View user's profile Send private message Visit poster's website
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Mon Aug 16, 2004 4:57 pm Reply with quote Back to top

Well I've applied, but the tax thing is confusing. I'm not a business so not sure what happens there. I'll wait and see what they say about my application.

If they only pay out when you reach $100 I'd be waiting years on my site for any money Shocked

I have an Ebay affiliate box, but never had anything from that one lol
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Fri Aug 20, 2004 5:31 am Reply with quote Back to top

Sentinel won't let me do this type of block. It gives me a scripting ban.
View user's profile Send private message Visit poster's website
Tao_Man
Involved
Involved


Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Fri Aug 20, 2004 7:32 am Reply with quote Back to top

You can turn off script blocking or just comment out sentinel make your change then go with back and turn it back on

Or activate a dummy block activate it, then edit it and past in the code outside of nuke.
View user's profile Send private message Visit poster's website
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Fri Aug 20, 2004 1:47 pm Reply with quote Back to top

lol took me ages to suss it out, and ended up switching off the script blocking in sentinel.

The only thing with my googleads is, I seem to get more service ads than normal ads, and the ads I do get are mostly nothing to do with autos which is what the main content of my site is.

But I guess it depends on how many car companies etc advertise through Google.

I've added Googleads Search now too, which seems more promising.
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Fri Aug 20, 2004 6:43 pm Reply with quote Back to top

I'm getting parse error on line 2 using the code now.

Code:
<?
/
$content = <<<_JS_
<!-- Begin Google code. -->
***Enter Google code they give you here***
<!-- end of Google -->
_JS_;
?>
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Fri Aug 20, 2004 6:50 pm Reply with quote Back to top

Remove the single slash on line 2 its doing nothing there but causing the error.
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Fri Aug 20, 2004 7:23 pm Reply with quote Back to top

still the parse problem.
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Fri Aug 20, 2004 7:33 pm Reply with quote Back to top

Email me the file and I'll see if I can sort it out quick.
webmaster//**//netflake.com
View user's profile Send private message
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Sat Aug 21, 2004 1:55 am Reply with quote Back to top

I'm going to try and get both the googleads and googleads search into one center block today. Both the ads and the ads search look good as centre blocks, but I think if they were both in the same block it would look neater.

Do I just add the googleads code then the br br then the googleads search code into the section where you put your code? But thats html code lol

Or do you use something else in php to break the two codes, or do you just bung one in after the other one with all their opening/closing tags as in each individual code?

Sorry just want to get this right as I'm only learning Shocked Laughing
View user's profile Send private message
Doodle
Hangin' Around


Joined: Jan 26, 2004
Posts: 46
Location: 127.0.0.1

PostPosted: Sat Aug 21, 2004 9:27 am Reply with quote Back to top

There are a bunch of downloads for the GoogleAds already made into nuke blocks. I think I write some a while ago too. PM me and I can send them to you. I think this is the link to the one I wrote a while back:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Sun Aug 22, 2004 6:09 pm Reply with quote Back to top

I have pre-formatted Google blocks available in my Downloads area if you want them. They are used by hundreds of sites.

Hope they are what you are looking for.


Last edited by 64bitguy on Thu Sep 02, 2004 2:33 pm; edited 1 time in total
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Aug 22, 2004 10:44 pm Reply with quote Back to top

Dacubz wrote:
Sentinel won't let me do this type of block. It gives me a scripting ban.
Sentinel (and vanilla nuke btw) will only trap this if you are trying to use an html block. If you create a block and store it in the blocks folder, neither will ban you.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Wed Aug 25, 2004 5:30 am Reply with quote Back to top

Thanks, it's running now. But now some of our membership is whining about ads on the site...grrrrr!
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Wed Aug 25, 2004 6:44 am Reply with quote Back to top

Dacubz wrote:
Thanks, it's running now. But now some of our membership is whining about ads on the site...grrrrr!

I found that by changing the colors of the ads and making them blend perfectly people don't mind so much...
View user's profile Send private message Visit poster's website
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Aug 25, 2004 9:42 am Reply with quote Back to top

Well I've had this running a few days now and so far I've collected .60 pence (GBP)

Which means it'll take me 7 years to earn $100 rofl (I get about 100,000 hits a month as well) I gotta train my members to click click click lol

64bitguy I'll pop over and look at your adsense blocks today. Thanks!
View user's profile Send private message
Tao_Man
Involved
Involved


Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Thu Sep 02, 2004 2:19 pm Reply with quote Back to top

What files would you add it to if you wanted to add it to the themes.

I have tried adding it to my header but have not had any luck with that.

It works fine as a block.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Sep 02, 2004 2:30 pm Reply with quote Back to top

In your theme.php theme_header function find
Code:
    echo "<body bgcolor=\"#FFFFFF\" text=\"#606EC5\" link=\"#606EC5\" vlink=\"#606EC5\" alink=\"#4E5483\" leftmargin=\"1\" topmargin=\"1\" marginwidth=\"0\" marginheight=\"1\"><br>\n\n\n";
Now yours will look a bit different, but it's still the body tag. Right after that code add you google code
Code:

echo <<<_GOOGLE_
<center>
<!--PLACE YOUR GOOGLE CODE HERE-->
</center>
<br />
_GOOGLE_;
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum