osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Affiliate link secure non-secure

This is a discussion on Affiliate link secure non-secure within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; This may be a way newbie post but here goes... I pasted the banner link on my template so the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-27-2005, 09:44 AM
New Member
 
Join Date: Aug 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kwiznoz
Default Affiliate link secure non-secure

This may be a way newbie post but here goes... I pasted the banner link on my template so the banner shows on almost every page. But when a customer goes to checkout, the banner is calling an http image instead of https and it throws a insecure images warning. I cannot find a way around this while still showing the banner on the template (all pages)...

Any suggestions?
__________________
Jay

If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 08-27-2005, 01:19 PM
Member
 
Join Date: Mar 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ganast
Default RE: Affiliate link secure non-secure

You are calling an image with a url instead of with a relative address. In other words like this:

<img src="http://www.google.com/intl/en/images/logo.gif" />

instead of like this:

<img src="intl/en/images/logo.gif" />

So when you switch to ssl, that particular image cannot be called from within ssl since it has an absolute address including a web protocol... ie: HTTP, not HTTPS

--gabe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-27-2005, 01:30 PM
New Member
 
Join Date: Aug 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kwiznoz
Default affiliate banner

Ok, so the affiliate banner program in oscmax created this for a banner:

<a href="http://www.MYSITE.com/catalog/index.php?ref=1&affiliate_banner_id=2" target="_blank"><img src="http://www.MYSITE.com/catalog/affiliate_show_banner.php?ref=1&affiliate_bann er_id=2" border="0" alt="MYSITE 400x61"></a>

How do I set this up so that it still keeps track of viewing impressions of images and then clicks, just change image to /catalog/MYIMAGE?

Thanks. :P
__________________
Jay

If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-27-2005, 02:31 PM
Member
 
Join Date: Mar 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ganast
Default RE: affiliate banner

um, no... maybe there is a bug here. I have to tell you that I never use banners... and I just set one up to test this, and... I cannot get banners to work...

hmmmm

...however, the long and short of it is that you should not have had to cut and paste that link... the banners should be dynamically created on every page because of the code in main_page.tpl.php

Does the banner manager work for you? If so which is the only page that displays a banner?

--gabe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-27-2005, 02:36 PM
New Member
 
Join Date: Aug 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kwiznoz
Default banner manager 2.0 not working

I have not tried to use the banner manager using the standard setup. What I have done is create a banner image and set it up in the affiliate program, so there is a banner with the system created html. I would copy this html and put it in another site's custom template (HTML bts)...works great. But it won't make it past secure.

I now there is an issue with banner manager, not sure if it has been reported though.
__________________
Jay

If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-28-2005, 09:37 AM
Member
 
Join Date: Mar 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ganast
Default RE: banner manager 2.0 not working

ok... man this is non-obvoius, but evidently one MUST make a group of banners called "468x50"

In other words, go to the banner manager and enter your first banner, and make sure that the group is called, "468x50" (no quotes, though)... this is hard coded into the main_page.tpl.php file...

Of course you could also change the line in main_page.tpl.php file:

if ($banner = tep_banner_exists('dynamic', '468x50')) {

to include the banner group of your choice. ie:

if ($banner = tep_banner_exists('dynamic', 'mybanners')) {

--gabe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-28-2005, 01:08 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: banner manager 2.0 not working

The code in question is not specific to osCMax. In fact it was taken directly from footer.php in standard osCommerce 2.2 MS2, and functions exactly the same as standard osCommerce.

I think the confusion comes from not understanding how the banner manager works. You can set up your own 'zones' to display different banners in different locations on your site. Setting it to use the 468x50 group tells the banner manager to only display banners from that group at that location.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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
secure checkout jschafer52 osCMax v2 Installation issues 8 08-03-2007 01:40 PM
secure and none secure items ? pete76uk osCommerce 2.2 Installation Help 3 10-12-2004 01:51 PM
What folders to secure? PrettyWolfie osCommerce 2.2 Modification Help 4 08-01-2004 02:51 AM
Suppressing link xchange banners on secure pages ianmel osCommerce 2.2 Modification Help 1 05-25-2004 04:06 AM


All times are GMT -8. The time now is 07:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax