It's just a number which changes when there are more people in the chat room.
This is the
original PHP (the
php in question only got the 'online_users' from this):
PHP Code:
<?php
// sets the include files
include("globals.php");
include("includes/inc.php");
doDB();
doLicence();
include("config.php");
// set expire time
// eg. lets display active users in the last 60 seconds
$expire_secs=date("U")-60;
// ignore any admins if the invisible plugin is enabled
if($invisible_admins && file_exists("invisible/index.php"))
{
$hide_admins = "AND admin != 'yes'";
}
// get the data
$tmp=mysql_query("SELECT user_name FROM prochatrooms_users WHERE online_time >='$expire_secs' ".$hide_admins."");
$online_users = mysql_num_rows($tmp);
// display the user count
echo "Chat Room Users: ".$online_users;
?>
Keep in mind both PHPs are located at an external server (otherwise this all would've been way easier).
I tried to make a plugin but I didn't get it to work (but that could be just me).