I have modified this slightly. See changes below..
I changed this part of the ubbt.inc.php (2 places)
$ChatNumber .= "$tbopen<tr><td class="lighttable"><br /><div align="center"><b>There is also $ChatOnline User in the <a href="{$config['phpurl']}/jchat.php">Chat Room</a>. Go and Join Them!</b></div></td></tr>$tbclose<br />";
to this...
$ChatNumber .= "[$ChatOnline]";
and the ubbt_resg and unregistered.tmpl to this...
This will SIMPLY toss a number of chatters that are in the chat room via the page next to the chat link for simplicity. And nothing when none. Be aware that if they are using an outside client, this will not count those people.
Example at www.theddz.com, click on chat. But you need to be registered to watch it change.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.