CRE Loaded Community

Banner


Board index » Web Design and Development » Contribution Garage

All times are UTC - 5 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: UPDATE: Google adsense & infoboxes
PostPosted: Tue Aug 31, 2004 1:37 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
Has anyone came up with a google adsense infobox? I was checking out the osc contibutions and could not find anything.

UPDATE

I found an Amazon infobox in the osc contributions that, after looking at the code, I think it can be changed to work with google adsense. Perhaps someone that is better at the code can look at it and reply.

The only issue I would have would be porting it & getting the infobox to show up in the helius template.

http://www.oscommerce.com/community/contributions,1499

Thanks!

OK KIDS!

I tried out a few things and was able to get the box working with both Helius and E-Vector. The code still uses the amazon.com affiliate link to amazon, but that can be changed with adsense links. I was not able to do that as I am still waiting on google to approve my site. Here is the code I used:

Quote:
<?php
/*
$Id: google.php,v 1.1.1.1 2003/09/18 19:05:50 wilt Exp $

Contribution based on:

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2002 - 2003 osCommerce

Released under the GNU General Public License
*/
?>
<!-- google //-->
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => '<font color="' . $font_color . '">' . BOX_HEADING_GOOGLE . '</font>');

new infoBoxHeading($info_box_contents, false, false);


$info_box_contents = array();
$info_box_contents[] = array('text' => 'Google Adsense');
$info_box_contents = array();
$info_box_contents[] = array('text' => '<center><AREA COORDS="0,0,10000,10000" A HREF="http://www.amazon.com/exec/obidos/redirect-home/********" target=main></MAP><img src="http://rcm-images.amazon.com/images/G/01/rcm/12x24.gif" width="120" height="240" border="0" usemap="#boxmap-p8" alt="PUT YOUR ADSENSE ADS HERE!"></iframe></a></center>');

new infoBox($info_box_contents);
?>
</td>
</tr>
<!-- google_eof //-->


Please let me know if anyone gets the adsense ads to show up! You should just need to change the code between "<center>" & "</center>" - Also, in the Helius templates, the image at the bottom of the infobox did not appear, if anyone can figure that out.

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 31, 2004 3:57 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
I did notice one thing. When clicking on the image, nothing happens... :lol:


Also, I tested it as an ad box by placing a series of 125x125 ads there as well and brought up each ad. I have that installed on my site (url below). Again, the bottom image on the infobox does not show up. If anyone has any idea???

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 01, 2004 11:21 am 
Offline
CRE Legend
User avatar

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7258
Location: Baconton, GA USA
My adsense box is not terribly BTS compliant. The best I can say for it is, it works.

I find handling the javascript to be a challenge. Would love to have a fully BTS compliant, resizable adsense box.

Actually, I want to add more ads to my shops, both iin the banner area and in the main page.

David


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 01, 2004 12:01 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
If anyone can figure out why the bottom image does not show up I would appreciate the post. :D

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject: Zip1
PostPosted: Fri Sep 03, 2004 9:06 am 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
Thanks Tom! You Need A Raise!!! :D

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 03, 2004 11:05 am 
Offline
CRE Addict
User avatar

Joined: Sun Jul 18, 2004 12:00 am
Posts: 176
Location: UK
A feature I love is:

http://www.novedge.com/Cimmetry_AutoVueSMPro.asp?Tab=4

How cool is that !!!!

btw - I love alot of things abou this site - if u get 20 mins 2 gawp!!!

Rich


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 11:14 am 
Offline
CRE Legend
User avatar

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7258
Location: Baconton, GA USA
I have been able to make this work, but cannot post the code here.

Currently, it will display text ads. I'd like to be able to display both images and text ads in this box.

The nice thing about this code is, that my ad box now resizes with the column when I adjust it under Design Control.

David


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 11:59 am 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
I got it working too. I didn't add:

Quote:
new infoboxFooter($info_box_contents, true, true);


Thanks to Tom for pointing that out!

Now if it would only rotate... oh, boxad does! :D

David ~

I see you have two google adsense scripts running. Trying to decide which you like better?

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 4:20 pm 
Offline
CRE Legend
User avatar

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7258
Location: Baconton, GA USA
Actually, I have as many as 3 per page (max allowed at present). I'm starting to work with ad channels and do a few other things to try to enhance what miniscule advertising revenue I'm getting .

I have several Google Adsense Banners in the rotation....

David


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 05, 2004 6:24 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
Nimitz1061 wrote:
Actually, I have as many as 3 per page (max allowed at present). I'm starting to work with ad channels and do a few other things to try to enhance what miniscule advertising revenue I'm getting .

I have several Google Adsense Banners in the rotation....

David


I don't know about adsense. Seems as though I spend more time keeping competitors websites out of the loop.

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 06, 2004 8:28 am 
Offline
CRE Legend
User avatar

Joined: Thu Aug 28, 2003 12:00 am
Posts: 2311
Location: Hastings, Nebraska
For those of you following this thread, in the loaded 6.1 there is a side box called banner in a box. This uses the banner controls in the admin to monitor a banner. I have used this a couple of times for a google adsense banner.

Tom


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 07, 2004 11:30 am 
Offline
CRE Legend
User avatar

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7258
Location: Baconton, GA USA
msdesmarais wrote:
Nimitz1061 wrote:
Actually, I have as many as 3 per page (max allowed at present). I'm starting to work with ad channels and do a few other things to try to enhance what miniscule advertising revenue I'm getting .

I have several Google Adsense Banners in the rotation....

David


I don't know about adsense. Seems as though I spend more time keeping competitors websites out of the loop.


Well, that is a bit of a problem. But, I'm planning to add some contributons for just that problem to my carts and will post them to this site when I get around tuit.

David


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 07, 2004 12:02 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
I have also noticed that the more you block competitors websites, the more non-paying public service ads show up. Seems like a lose lose situation.

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 07, 2004 1:25 pm 
Offline
CRE Legend
User avatar

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7258
Location: Baconton, GA USA
I'm not that big on blocking competetors. I don't link to sites that handle the same lines I do, thats about as far as I go. In fact, I seek out sites offering similar products for my links directory, as well as those offering products and services that complement my own.

I am willing to block actions on my web site that can be used to steal my work in order to compete with me directly in selling the same products. Have had some problems with that, and I'm going to put an end to it.

So far as it goes, I don't really beleive in a traditional supply/demand type type of economy. It encourages scarcity based business practices that simply don't apply in an economy of plenty, which is what i beleive we have, for the most part.

but, thats a whole other can of worms.

Suffice to say, I need a box that can handle a varity of ads, and I'm going to work to get it.. ;)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 07, 2004 4:23 pm 
Offline
Forum Troll
User avatar

Joined: Thu Jul 22, 2004 12:00 am
Posts: 2110
Location: Anytown, USA
Nimitz1061 wrote:
Suffice to say, I need a box that can handle a varity of ads, and I'm going to work to get it.. ;)


I suppose that boxads won't do that for you??

_________________

Michael Desmarais
CEO/Founder
SupremeCenterHosting.com

A better Host than Sal could dream of being!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

Board index » Web Design and Development » Contribution Garage

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
It is currently Thu Feb 09, 2012 5:02 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy