Credit:
Nugra
Thnx to:
wordpress plugin (for status image online and offline)
Description:
With this trick your ym icon will be online/offline in php format which is highly recommended.
Instructions:
-First you gotta have a hosting site which php supported.(ripway,000webhost,700megs recommended).
-In you hosting site make a file called ym.php which contains:
<?php
$yahooid = “your id“;
$ch = curl_init(”http://opi.yahoo.com/online?u=”.$yahooid.”&m=t”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$status = curl_exec($ch);
curl_close($ch);
if($status == $yahooid.” is NOT ONLINE”){
//Display Offlinie image
echo “<img src=’url of offline icon‘ border=0/>”;
} elseif ($status == $yahooid.” is ONLINE”){
//Display Online image
echo “<a href=ymsgr:sendIM?$yahooid><img src=’url of online icon‘ border=0/></a>”;
}
?>
Please change text in blod with ur own ym icon status
red text : change with yuor email addres
green text : change with url your offline icon image
bold text : change with url your online image
Example for icon status:
your icon(Offline & Online):

Code:
http://i44.tinypic.com/34njo6t.png

Code:
http://i40.tinypic.com/n33tsh.png
You can put it in your Friendster profile in an image html format:
Code:
<img src="url of your ym.php>
Enjoy!
Preview: Put this in your browser:
http://nugra.comyr.com/ym.php



5,942 Views
(+27 rating, 15 votes)![[del.icio.us]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/google.png)
![[Ma.gnolia]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/magnolia.png)
![[Newsvine]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/newsvine.png)
![[Reddit]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/reddit.png)
![[StumbleUpon]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.friendstertutorials.com/wp-content/plugins/bookmarkify/email.png)
