Online Users Plugin
By Kerem Erkan <kerem.erkan@hacettepe.edu.tr>

Latest version is: 1.2.1

=========================================================================

WHAT IS THIS?

This is a simple plugin that shows how many users logged in to
SquirrelMail. It needs a mysql database to perform its operations.

=========================================================================

WHAT'S THE LICENSE?

License is obviously GPL-2, so you can use it, modify but
re-distribute your product with the same license.

=========================================================================

INSTALLATION:

Copy this folder to your plugins directory and add the plugin to
SquirrelMail from the configuration interface.

After that select a server that will hold the mysql database for the
plugin. If you are already using a database for your addressbooks or
preferences, you can use that database.

Create a table in the database of your choosing with the following
command:

CREATE TABLE onlineusers ( 
ou_timestamp int(15) DEFAULT '0' NOT NULL, 
ou_user varchar(40) NOT NULL, 
ou_right_main varchar(100) NOT NULL, 
PRIMARY KEY (ou_timestamp), 
KEY ou_user (ou_user), 
KEY ou_right_main (ou_right_main) 
);

After creating the table, copy config.php.sample to config.php and edit
config.php to let squirrelmail know your configuration providing the
server name, database name, the user that will be connecting the database
and the password for that user. Details are included in config.php

That is all, the plugin will probably start to work. :-)

=========================================================================

LOCALISATION:

The plugin has an online_users.po file for localisation. Edit it to
suit your language.

=========================================================================

That's it!!!

=========================================================================
