Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an SSL Secure Certificate Seal in OSC


sabotage79

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 

} ?>

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

  • 2 months later...

http://www.aaronix.com/catalog/product_inf...12/#Description

 

The above site has a nice way of showing an 'about security' infobox.

 

Any idea if there are any contributions doing something like that? Before I try to fathom how to make my own infobox.

 

Thanks

K

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

When the going get's tough,

the tough get going.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

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

Link to comment
Share on other sites

  • 8 months later...

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...