Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of lubosdz  >  Skype Status  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: readme.txt
Class: Skype Status
Determine the online status of a Skype user
Author: By
Last change:
Date: 5 years ago
Size: 1,547 bytes
 

Contents

Class file image Download
This is PHP solution for showing any SKYPE account status on your website
It solves problem, that skype server does not support HTTPS requests.
Therefore client javascript will fail it it attempts to connect to skype server via secure link (HTTPS).

Workaround - this solution replaces pure client implementation with pure server implementation,
and sends to client skype status acquired between servers. No client javascript implementation is required at all.

DIRECTORY STRUCTURE:
|skype
|skype/skype_accounts/
|skype/skype_images/skype_online.png
|skype/skype_images/skype_do_not_disturb.png
|skype/skype_images/skype_me.png
|skype/skype_images/skype_not_available.png
|skype/skype_images/skype_away.png
|skype/skype_images/skype_offline.png
|skype/skype.status.class.php

INSTALLATION:

1/ create folder [skype_accounts] with writable permissions
2/ create folder [skype_images] and copy there skype status images. you can replace/create your own images.
3/ set/check correct paths in class and image names
4/ initiate the class - see examples #1 - #3 bellow:

example #1:
$skype = new Skype_Status();
$skype_data = $skype->get_skype_status('myskypename', 120);
echo $skype_data['html'];

example #2:
$skype = new Skype_Status();
$skype->show_picture('myskypename', 120);

example #3:
$skype->show_html('myskypename', 120);
 
Now check - you should see new file inside of directory [.../skype_accounts/skype_status.MYSKYPENAME.txt]

Enjoy!

----------------
please report bugs to: lubosdz@synet.sk