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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.