Hi! I've seen in some servers that they have this small red box near chat icon or forum icon that shows how many users are active or new messages written since you last checked. Does anybody has a code or an idea how to make that?
<a title="Chat" href="game.php?page=chat">
This is just the chat icon. But I wanted a small window near it which shows how many users are in.
then add the following code under $this->assign(array(
it will be the number of users online in the chat, within the last 2 min in channel 0.