Jump to content

Launch skype and connect to users name in the app.


travillaintim

Recommended Posts

Heres the code:

 

if ($player['skype'] == "n/a") {

    $skypename = "n/a";

    $skypepic = "";

} else {

    $skypename = $player['skype'];

    $skypepic = "<a href='skype:$skypename'><img border='1' src='images/skype.gif' align='absmiddle' alt='skypename' /></a>";

}

 

Works to a point - all it does is when I select the image it launches the skype application, but it is not calling the contact ($player[skype]) that is being pulled from the db. what am I missing?

 

I think your missing the call option "?call"

$skypepic = "<a href='skype:$skypename?call'><img border='1' src='images/skype.gif' align='absmiddle' alt='skypename' /></a>";

also hover other the link and check the url is correct ie skype:MadTechi?call if you don't see the number then we probablt need more code

Thanks, but that didnt work

 

Hovering over the  image and all I see is:

 

skype:?call

ahh take that back

If I hover over another user in the db I get that, but if I hover over myself I see skype:myname?callso I think I have something session dependent somewhere here?

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.