Timeout User Plugin
-------------------

This automatically logs a user out if they're idle for a set
amount of minutes. We define 'idle' as having not refreshed
the right-hand frame.

[note]
This can be a problem if their being 'idle' means they're
typing an extended email, since it would be lost. However,
the QuickSave plugin 1.0+ with cookies turned on would save
their message, even across logout.
[/note]

This plugin should work with all previous versions of SM (at
least since they introduced plugins), though it'll work a
little bit better with 1.1.2 and beyond.

If there are problems please post to the squirrelmail-plugins
mailing list, or else notify Ray Black at allah@accessnode.net
or Paul Lesneiwski at pdontthink@angrynerds.com.


ChangeLog
-------------------
1.1 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Removed http calls that were being made with every page request
      and were causing entries to be made in httpd error logs and were
      also problematic for SSL-based installations.

1.0 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Added compatibility with SquirrelMail v1.4.
      Added ability for users to select their own timeout values (admin 
         can block that feature if desired).
      New setup.php format for better overall SquirrelMail performance.

0.3 - (Paul Lesneiwski <pdontthink@angrynerds.com>)
      Fix for incorrect URL given when last page viewed was a plugin.
      E_ALL compatibility fix.
      Added compatibility with Plugin Updates plugin.

0.2 - Javascript-enabled browsers now have 'Sign Off' page target
    the _top frame. This is a cleaner and more comprehensive
    timeout than meta tags allowed for.

0.1.1 - Small bug fix for CVS/1.1.2+ users.

0.1 - Initial release.
    It could be a little cleaner, especially if I could figure out
    how to do a target=_top in the meta tag.


To Install:
-------------------
  1. Unarchive the file
      $ cd plugins
      $ tar -zxvf timeout_user-1.0-0.5.tar.gz

  2. Edit the configuration file and
     make any changes you deem necessary.
      $ cd timeout_user
      $ vi config.php

  3. Run conf.pl, choose "8" from the main menu, and add "timeout_user"
     as a new plugin.  Save and exit.

  4. Also, please verify that you have the "compatibility" plugin
     installed.

