HOME   KNOWLEDGEBASE   DOWNLOADS   CONTACTS   |   LOGIN
How do I get a list of the online users? 
 
Showing a list of the chatters that are online on your front page...

We provide a PHP file that can be loaded as an external JavaScript file if you would like to display a list of the online chatters anywhere on your site. The file can be called from any HTML or PHP page with the following syntax:

1) displays the number of the chatters online (e.g. 3):
<script type="text/javascript" src="blab/online.php"></script> chatters are now online.


2) displays a list of the chatters online (e.g. Peter, BigChatter, Monica):
Chatters online: <script type="text/javascript" src="blab/online.php?mode=1"></script>


3) displays a clickable number of the chatters online. When clicking on the number displays a list of the chatters online:
Chatters online: <script type="text/javascript" src="blab/online.php?mode=2"></script>


- blab is the directory where BlaB! resides.


 

2012-03-06 08:35