Hello, here's my second or third release requested by james6213:
its a simple plugin that GET your friends online ingame
sorry for my languge ==> French (i know some people like Canadian will comment about it...just stfu)
SCNSHOT :
LIKE IT? just press like
Hate? GTFO
Edit : Fixed the limit its show ur 25 Friends online.
If you want to edit it just look at THE ORANGE BIG SIZE and edit the 25 by another number for ex : if u want to show only 5 friend's on then replace 25 by 5.
hope its helped
Credits : Extreme
its a simple plugin that GET your friends online ingame
Code:
<?PHP
$query = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '".$_SESSION['user']['id']."'");
$i = 0;
while($friends = mysql_fetch_array($query))
{
$getfriend = mysql_query("SELECT * FROM users WHERE id ='".$friends['user_two_id']."' AND online = '1' [SIZE=5][COLOR=#ff6600]LIMIT 25[/COLOR][/SIZE]");
if(mysql_num_rows($getfriend) > 0)
{
$i++;
if($i == 1)
{
echo '<li id="feed-friends">Your friend(s) online are:<b><span> ';
}
$friend = mysql_fetch_array($getfriend);
echo htmlspecialchars($friend['username']).', ';
}
}
if($i > 0)
echo
sorry for my languge ==> French (i know some people like Canadian will comment about it...just stfu)
SCNSHOT :
LIKE IT? just press like
Hate? GTFO
Edit : Fixed the limit its show ur 25 Friends online.
If you want to edit it just look at THE ORANGE BIG SIZE and edit the 25 by another number for ex : if u want to show only 5 friend's on then replace 25 by 5.
hope its helped
Credits : Extreme