Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 83
  1. #21
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL secure and non-secure items

    Quote Originally Posted by dealbyethan.com View Post
    How do I disable those links during checkout? I know which file these links are located. But I don't know how to make sure they are displayed when someone is just browsing and turned off when they checkout? Thank you.
    Which file are they in?
    Please post the code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #22
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: SSL secure and non-secure items

    Hi DrByte,

    They are in the following file:

    /public_html/includes/templates/ZC03C8447TM/common/tpl_main_page.php

    Thanks.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  3. #23
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL secure and non-secure items

    Quote Originally Posted by DrByte View Post
    Which file are they in?
    Please post the code.
    Quote Originally Posted by dealbyethan.com View Post
    They are in the following file:

    /public_html/includes/templates/ZC03C8447TM/common/tpl_main_page.php
    Thanks for sharing the filename.
    Can you also share the code that's *in* the file?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #24
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: SSL secure and non-secure items

    Hi DrByte,

    The codes are as follows.

    Link to MySpace
    <a href="http://www.myspace.com/dealbyethan" target="_blank">MySpace</a>

    Link to Google Translation
    <a href="http://translate.google.com/translate?u=http%3A%2F%2Fwww.dealbyethan.com&langpair=en%7Cfr&hl=en&safe=off&ie= UTF-8&oe=UTF-8&prev=%2Flanguage_tools" border="0"><img src="/pictures/france.gif" border="0"></a>

    Thank you.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  5. #25
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL secure and non-secure items

    Okay, rather than giving you *exactly* what to do, I'll have to give you the concept and hope you can do it yourself.

    Put this before the part you don't want to load on SSL pages:
    Code:
    <?php if ($request_type == 'NONSSL') { ?>
    and put this after it:
    Code:
    <?php } ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #26
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: SSL secure and non-secure items

    Hi DrByte,

    After some testing, I found out what was really giving me the problem. It wasn't the external links to myspace nor to google translation. It was actually the Live Help (by Help Center Live). Any idea why this is a nonsecure item? For your information, this separate module is not external but has been installed under my root. There isn't 'http' in the link code either.

    Thank you so much for your help. Much appreciated.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  7. #27
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SSL secure and non-secure items

    It's this:
    Code:
    <embed src="http://lads.myspace.com/photoshow/slideshow.swf" type="application/x-shockwave-flash" quality="high" scale="noscale" wmode="transparent" flashvars="userID=108957088&bgColor=10079487&bgColor2=10079487&transitionSpeed=4&transitionStyle=b&showCaptions=1&albumID=1013221" width="500" height="250" name="slider" align="middle"/>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #28
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    red flag Re: SSL secure and non-secure items

    Hi DrByte,

    I know the homepage photoshow is external code. But during checkout, the photoshow does not appear so I don't think it is the cause of the nonsecure alert.

    The Live Help is not related to the photoshow code. The only thing I disable during checkout is this Live Help using the code you provided. This did get rid of the nonsecure alert. I just couldn't understand why this is the cause as it is not external but installed under my root.

    Thanks.
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  9. #29
    Join Date
    Feb 2007
    Posts
    104
    Plugin Contributions
    0

    Default Re: SSL secure and non-secure items

    Quote Originally Posted by DrByte View Post
    Okay, rather than giving you *exactly* what to do, I'll have to give you the concept and hope you can do it yourself.

    Put this before the part you don't want to load on SSL pages:
    Code:
    <?php if ($request_type == 'NONSSL') { ?>
    and put this after it:
    Code:
    <?php } ?>
    I want to use the above code in my tpl_blank_sidebox.php.

    This is in my tpl_blank_sidebox.php:
    Code:
     
    <?php
    //
    // Blank Sidebox Mod
    // includes/templates/templates_default/sideboxes/tpl_blank_sidebox.php
    //
    //  --------------------------------------------------
    //  http://www.MommaMuse.com mod Zen-Cart - by Judi Cox                  
    //  --------------------------------------------------
    //  zen-cart Open Source E-commerce                                      
    //  Copyright (c) 2003-2006 The zen-cart developers                           
    //  http://www.zen-cart.com/index.php                                    
    //  Portions Copyright (c) 2003 osCommerce                               
    //  --------------------------------------------------
    //  This source file is subject to version 2.0 of the GPL license,       
    //  that is bundled with this package in the file LICENSE, and is        
    //  available through the world-wide-web at the following url:           
    //  http://www.zen-cart.com/license/2_0.txt.                             
    //  If you did not receive a copy of the zen-cart license and are unable 
    //  to obtain it through the world-wide-web, please send a note to       
    //  license AT zen-cart DOT com so we can mail you a copy immediately.
    //  --------------------------------------------------
    //
    // $Id: tpl_blank_sidebox.php,v 1.0 6/24/2006
    // Original modification by Carter Harris charris AT technettn DOT net based on the tpl_featured.php file 
    // Additionally modified by Judi Cox http://www.mommamuse.com
      $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideboxEmail">';
      $content .= '
    <!-- EDIT BELOW THIS LINE -->
    <table align="center">
    <tr>
       <td align="center">
    <a href="<A href="http://www.tehome.net/shop/index.php?main_page=wordpress"><img">http://www.tehome.net/shop/index.php?main_page=wordpress"><img src="<A href="http://tehome.net/shop/images/blog_sidebar.jpg"</a">http://tehome.net/shop/images/blog_sidebar.jpg"</a>
       </td>
    <tr>
    <tr>
       <td align="center"> 
       </td>
    <tr>
    </table>
    <!-- EDIT ABOVE THIS LINE -->
    ';
      $content .= '</div>';
    ?>
    Where do I place the code to turn off this sidebox when using ssl?

  10. #30
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    68
    Plugin Contributions
    0

    Default Re: SSL secure and non-secure items

    Hi All,

    I am also getting the same alert. I've tried changing hard links to https but it doesn't seem to work. Also if I change all my links to that won't it make my page load slower? I can't figure out which file is affecting my sll. My site is http://www.beautyxpress.com.au If you could point my in the right direction it would be much appreciated. Thanks all!

 

 
Page 3 of 9 FirstFirst 12345 ... LastLast

Similar Threads

  1. This page contains both secure and non-secure items?
    By doubletiger in forum General Questions
    Replies: 2
    Last Post: 11 Sep 2010, 01:16 PM
  2. Replies: 1
    Last Post: 7 May 2009, 09:06 AM
  3. Page displays secure and non-secure items.
    By madk in forum General Questions
    Replies: 1
    Last Post: 12 Apr 2007, 02:47 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR