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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| ||||
| ||||
| 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
|
| Thread Tools | |
| |
| ||||
| 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 |