Do you have an SSL version?
I have areas of my site that need ssl and your code is causing it to become invalid
look at the google/analytics code it has a javascript code that auto detects if
the page is http or https and gets the appropiate code.
Thanks.
look at the google/analytics code it has a javascript code that auto detects if
the page is http or https and gets the appropiate code.
Thanks.
6
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
-
Inappropriate?Great Idea,
We are working in order to be compatible with many platforms and format.
SSL compatibility will take us some time, but it will occur in the coming months.
Thanks
I’m thankful
The company thinks
this is one of the best points
-
Inappropriate?Yes this would be very useful, would enable us to add the toolbar to our client area.
-
Inappropriate?Like Frank was saying here is a sample google code for detecting SSL
[code]< script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));[/code]
had to make a space beetwen < and script to get it to show here.
I’m confident
-
Inappropriate?mknjhill ... I've been wondering about that. Would it be a quick fix just to provide a javascript that hides the Wibiya toolbar code if the page is secured by HTTPS?
This would be much easier and faster than providing a secure version of the code and would allow us to implement it immediately.
I've been fooling around with it trying to write a javascript to make that work, but my very limited abilities have not resulted in success.
I’m hopeful for a faster solution
-
Inappropriate?umm well i'm not exactly sure how to go about it but yeah that could be possible, i dont know much about javascript i think i might be able to come up with a php code.
try something like:
if (!$_SERVER['HTTP']) {
include ('toolbar.php');
}
and if its https it shouldnt load it (obviously the wibia code would be in toolbar.php)
I’m unsure
-
Inappropriate?edit:
Ok so i have been playing with it and i have WORKING code to disable the toolbar if httpS is on and display it if it's not.
code:
if($_SERVER['HTTPS'] != "on"){
include("toolbar.php");
} else {
echo '<center>Sorry no Toolbar in Secure mode.</center>';
}
This is wrote in php so must be put into a php page.
I’m confident
-
Inappropriate?mkjhill,
Which php file would this go into? -
Inappropriate?I put that code into my footer.php (so it shows on all pages)
and the line of javascript goes in the toolbar.php file that is being included.
I’m confident
-
if you want to see a working example switch between http and https on http://www.web-hosting-service.org (my site with the code up and working)
Loading Profile...




EMPLOYEE

