sabotage79 Posted February 26, 2003 Posted February 26, 2003 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
eureka Posted February 26, 2003 Posted February 26, 2003 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.
sabotage79 Posted February 27, 2003 Author Posted February 27, 2003 Thanks thats helpful. Could you paste in your infobox code for the javascript? I couldn't figure it out. :( Ryan
Ramesh Posted February 27, 2003 Posted February 27, 2003 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
sabotage79 Posted February 27, 2003 Author Posted February 27, 2003 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
sabotage79 Posted February 27, 2003 Author Posted February 27, 2003 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 } ?>
sabotage79 Posted February 27, 2003 Author Posted February 27, 2003 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
Farrukh Posted March 4, 2003 Posted March 4, 2003 I am not able to show the javascript Can anyone post there Trustlogo's Box file
Farrukh Posted March 4, 2003 Posted March 4, 2003 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);
karcher Posted May 8, 2003 Posted May 8, 2003 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.
karcher Posted May 8, 2003 Posted May 8, 2003 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.
aceadoni Posted June 13, 2003 Posted June 13, 2003 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?
aceadoni Posted June 18, 2003 Posted June 18, 2003 Look at my contrib http://www.oscommerce.com/community/contributions,1297 Works only for comodo
aceadoni Posted July 5, 2003 Posted July 5, 2003 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
pluggin Posted March 17, 2004 Posted March 17, 2004 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.