Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Another SSL Cert Graphic Issue

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-01-2005, 10:40 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default Another SSL Cert Graphic Issue

I've done a search and tried all the recommended things in the forums. Can any of you guys help me out. I'm trying to get my SSL image to show up. It is one that is pulled from another server through javascript. I want to put it into a block on my site but it's becoming a real pain to figure out.

Here's the code. It basically places my domain name over the top of the image.

Code:
<script language="javascript" type="text/javascript"> var siteseal = ''; var sid = '15938340'; </script> <script language="javascript" type="text/javascript"> var rnddate = new Date(); var rndnumber = rnddate.getTime()*1000; document.write('<s'+'cript src="'+'https://registerfly.com/ssl/showseal.php?sid='+sid+'&cachebuster='+rndnumber+'"></'+'script>'); </script> <script language="javascript" type="text/javascript"> document.write(siteseal); </script>

Any help with this would be great. Been at it for quite awhile.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #2  
Old 03-01-2005, 11:20 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Just checking but your are enclosing the code in literal tags arent you?

i.e

{literal}
your code
{/literal}
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #3  
Old 03-01-2005, 11:24 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

man I've tried literal tags. I've tried putting some of the java code into like say the home.tpl and the rest into a table in a file ssl_secure.tpl I've tried it all. (I think) I'm about to just copy the seal and put my domain name over it and call it a day.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #4  
Old 03-01-2005, 11:35 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Just pop that code into a blank non x-cart page and upload to your server, is it coming up then?? just trying to eliminate if it's a problem with the code or from the insertion into x-cart
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #5  
Old 03-02-2005, 04:38 AM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

www.kcautosound.com/store/ssl_page.html

Here you go.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #6  
Old 03-02-2005, 04:40 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Hmmm onclick the popup window just times out for me.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #7  
Old 03-02-2005, 03:16 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Another SSL Cert Graphic Issue

You have wrong "sid" number....for example, try with "var sid = 15172584;" and works fine.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #8  
Old 03-02-2005, 03:44 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

totally new to the whole ssl. What exactly is the sid number anyways?
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
  #9  
Old 03-02-2005, 03:54 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by KCAutosound
totally new to the whole ssl. What exactly is the sid number anyways?


Look in your script, it is there...

Code:
<script language="javascript" type="text/javascript"> var siteseal = ''; var sid = '15938340'; </script> <script language="javascript" type="text/javascript"> var rnddate = new Date(); var rndnumber = rnddate.getTime()*1000; document.write('<s'+'cript src="'+'https://registerfly.com/ssl/showseal.php?sid='+sid+'&cachebuster='+rndnumber+'"></'+'script>'); </script> <script language="javascript" type="text/javascript"> document.write(siteseal); </script>

of course I spread it apart a bit to make it more apparent
__________________
vs 4.1.12
Reply With Quote
  #10  
Old 03-02-2005, 06:05 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default

ok....I see what you're saying. I changed the code to the one you posted and I see what you mean. I guess I'm going to have to send a support ticket to registerfly and see what's going on.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:19 PM.

   

 
X-Cart forums © 2001-2020