Results 1 to 7 of 7

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 ...

      
  1. #1
    New Member
    Join Date
    Aug 2005
    Posts
    24
    Rep Power
    0


    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

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    77
    Rep Power
    0


    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

  3. #3
    New Member
    Join Date
    Aug 2005
    Posts
    24
    Rep Power
    0


    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

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    77
    Rep Power
    0


    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

  5. #5
    New Member
    Join Date
    Aug 2005
    Posts
    24
    Rep Power
    0


    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

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    77
    Rep Power
    0


    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

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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 installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. secure checkout
    By jschafer52 in forum osCmax v2 Installation issues
    Replies: 8
    Last Post: 08-03-2007, 02:40 PM
  2. secure and none secure items ?
    By pete76uk in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 10-12-2004, 02:51 PM
  3. What folders to secure?
    By PrettyWolfie in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 08-01-2004, 03:51 AM
  4. Suppressing link xchange banners on secure pages
    By ianmel in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-25-2004, 05:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •