Author Topic: [MOD] - Skype name & status shown in profile  (Read 34313 times)

0 Members and 1 Guest are viewing this topic.

Offline Icemann71

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [MOD] - Skype name & status shown in profile
« Reply #15 on: June 25, 2006, 02:19:22 AM »
Kann man diesen mod auch in der memberlist einbauen?

Can build the mod into memberlist?
Have a nice Day ;-)

Offline qpatrick

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] - Skype name & status shown in profile
« Reply #16 on: November 01, 2006, 11:46:22 AM »
works in 1.7.4

Offline @rtur

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] - Skype name & status shown in profile
« Reply #17 on: November 12, 2006, 04:26:45 PM »
For custom status icons check V@no's answer right below (5)

Where paste code from site www.onlinestatus.org ?

Code: [Select]
function get_skype_status($id)
{
  if (empty($id)) return 0;
  if (!$fp = @fsockopen('mystatus.skype.com', 80, $errno, $errstr, 8)) return 0;
  $request = "GET /balloon/".$id." HTTP/1.0\r\n"
            ."Host: mystatus.skype.com\r\n"
            ."Connection: close\r\n\r\n";
  fputs($fp, $request);
  do
  {
    $result = fgets($fp, 1024);
  }
  while (!feof($fp) && !stristr($result, 'Location'));
  $result = preg_replace("/[^0-9]/", "", $result);
  return ($result && (int)$result < 8) ? $result : 0;
}

paste only this code?

Please add code For Custom status icons from www.onlinestatus.org in this MOD

Thanks
Artur

Sorry for my bad English