Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Posts
    28
    Plugin Contributions
    0

    Default Skype box and SSL

    Hey Guys.


    Just got onto my new server all is good and i have installed ssl. All images are okay.

    However My skype side box is causing drama's.

    The site is saying that there is unsecure items on the page. How do i make the skyoe box secure.


    Cheers

    Glenn.

  2. #2
    Join Date
    Mar 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: Skype box and SSL

    Ive seen a few people complain about this but no real solution for it...

    I found this post addressing the issue:
    http://forum.skype.com/index.php?showtopic=58025

    Basically you need to make a local copy of the Skype javascript skypeCheck.js and then create a simple php file that will capture the image for you. this will allow you to display the image as if it were a local image on your server rather than remote. This will make SSL work :)

    Here is the php file (skypestatus.php):
    <?php
    $u = $_GET['u'];
    $path="http://mystatus.skype.com/smallclassic/".$u;
    $im = imagecreatefrompng($path);//.
    header('Content-type: image/png');
    imagepng($im,NULL,0,NULL);
    imagedestroy($im);
    ?>

    and here will be the modified html, this will have to be tweaked depending on your sidebox. Lets assume both the skypeCheck.js and the skypestatus.php are both in the skype folder in the root of your site.

    <script type="text/javascript" src="/skype/skypeCheck.js"></script>
    <a href="skype:USERNAME?chat"><img src="/skype/skypestatus.php?u=USERNAME" style="border: none;" width="114" height="20" alt="My status" /></a>

    Thanks to sculptex, ethos201, and Fred Trotter for the code :)

    Jolla

  3. #3
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Skype box and SSL

    I have never used the Skype box but you can just disable the Skype box on secure pages.

    You can add this code to your modules/sideboxes/your_template/your_skype_box

    PHP Code:
    <?php 
    if ($request_type == 'NONSSL') {
    your original code here...

    }
    ?>

 

 

Similar Threads

  1. Skype Live Support Side Box
    By higherselfgifts in forum Addon Sideboxes
    Replies: 13
    Last Post: 18 May 2010, 04:03 PM
  2. SSL and login box
    By mfreund in forum General Questions
    Replies: 2
    Last Post: 8 Oct 2009, 07:32 AM
  3. Skype - help
    By kiddycat in forum General Questions
    Replies: 0
    Last Post: 17 Jul 2009, 11:41 AM
  4. After enabling SSL, text size in sideboxcontent and login box are different from CSS?
    By Echtlicht in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Apr 2009, 06:05 PM
  5. Skype sidebox
    By manfer72 in forum Addon Sideboxes
    Replies: 2
    Last Post: 29 Nov 2007, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg