Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an SSL Secure Certificate Seal in OSC


sabotage79

Recommended Posts

Posted

Has anyone added there Secure Seal in OSC? I was thinking on the checkout page, or maybe in a box on left/right column.

 

Any ideas to get this working? The seal is from Comodo/InstantSSL and is Javascript for mouseover.

 

Ryan

Posted

Yes, goto my site www.eurekaDVD.com, it's in a box on the bottom right as a Tust Logo, and on secure pages I have it at the top as a Secure SSL seal (look at my login page).

 

In header.php at about line 50 I have:

// comodo trust logo script

 

if ( $HTTPS !='on' )

     {?> <script language="JavaScript" src='http://www.trustlogo.com/trustlogo/javascript/trustlogo.js'>

         </script>

       <?php

     }

else

     {?> <script language="JavaScript" src='https://secure.comodo.net/trustlogo/javascript/trustlogo.js'>

         </script>

       <?php

     }

 

On the pages I want the to show the Secure SSL seal I have replaced the image at the top right with

<script type="text/javascript">TrustLogo("https://www.eurekaDVD.com/images/icons/eid_secure_ssl.gif", "EBIZID", "none");</script>

 

Hope this helps.

 

Mark.

Posted
if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {

   if (!is_dir(DIR_FS_DOWNLOAD)) {

     tep_output_warning(WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT);

   }

 }

// comodo trust logo script  

 

if ( $HTTPS !='on' )  

{?> <script language="JavaScript" src='https://secure.comodo.net/trustlogo/javascript/trustlogo.js'>  

</script>  

<?php  

}  

else  

{?> <script language="JavaScript" src='http://www.trustlogo.com/trustlogo/javascript/trustlogo.js'>  

</script>  

<?php  

} ?>

 

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">

 <tr class="smalltext">

 

this is what worked for me.

Special Effects / 3d + Flash

Posted

Can you paste your complete infobox code? This doesn't seem to work for me.

 

Again, trying to get the logo inside an infobox, left/right column. Im already calling on the infobox in question in /includes/column_left.php

 

Ryan

Posted

Nevermind. I placed the code below into header.php

<script language="JavaScript" src='https://secure.comodo.net/trustlogo/javascript/trustlogo.js'>

</script>

Which could be altered with an if statement for no secure pages.

 

I then placed this into my infobox:

if ( $HTTPS !='on' ) 

{?> <script type="text/javascript">TrustLogo("https://www.mysite.com/secure_site.gif", "SC", "none");</script> 

<?php 

} 

else 

{?> <script type="text/javascript">TrustLogo("http://www.mysite.com/secure_site.gif", "SC", "none");</script> 

<?php 

} ?>

Posted

Correction, for image to show on SSL page, code should be as follows:

 

Change

if ( $HTTPS !='on' )

 

To

if ( SSL !='on' )

 

Not sure why, maybe first code is for 2.1?

 

Ryan

Posted

Got it figured out

 

For those who cant figure it out.

 

add this in your new Trust Logo Box

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => '<script type="text/javascript">TrustLogo("http://www.arabianbazaar.com/images/secure_site.gif", "SC", "none");</script> ');

 

new infoBox($info_box_contents);

  • 2 months later...
Posted

Well I have mimicked what I saw on that site and added a seal for SSL pages. Here an excerpt from my about_security.php infobox.

 

  $info_box_contents = array();

 $info_box_contents[] = array('align' => 'left',

                              'text'  => BOX_HEADING_ABOUT_SECURITY

                             );

 new infoBoxHeading($info_box_contents, false, false);



if ( $HTTPS !='on' ) {

  $info_box_contents = array();

 $info_box_contents[] = array('align' => 'center',

                'text'  => 'This page does not require a secure connection. <hr size="1" color="#669999" width="80%"><font color="#336666">' . 

                  BOX_ABOUT_SECURITY_TEXT . '</font><br>' . tep_image(DIR_WS_IMAGES . 'thawtelogovs.gif', 'Trusted 128bit SSL Encryption', 120)

                );

new infoBox($info_box_contents);

}

else {

  $info_box_contents = array();

 $info_box_contents[] = array('align' => 'center',

                'text'  => 'You are connected through a 128 bit SSL secured connection.<br><script src="https://siteseal.thawte.com/cgi/server/thawte_seal_generator.exe">

</script> '

                );

 new infoBox($info_box_contents);

 }

K

.....................................................................

When the going get's tough,

the tough get going.

  • 1 month later...
Posted

I have not been able to get this to work. It does not return my site info.

Could it be because the SID and path is in the request?

  • 3 weeks later...
Posted

There is a thread for my contrib support. There are a few fixes I posted also please not in order to display the logo you will have to place the jscript header on each page you wish to display

  • 8 months later...
Posted

Is this mod still valid? I see that these post are from last year... My header.php is not located in the default location as described it's cat/includes and on that page I don't see the reference scipt to place the new code under. Any help would be greatly appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...