From 3385e60458179e6e3e04b603db5919e2a9d2c3c0 Mon Sep 17 00:00:00 2001
From: World Wide Web Server <_www@Dwight-Schrutte.local>
Date: Wed, 4 Jul 2012 16:04:04 -0700
Subject: [PATCH] ...
---
Library:-Online-Users.md | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/Library:-Online-Users.md b/Library:-Online-Users.md
index 282e1b89..ccc8fe5e 100755
--- a/Library:-Online-Users.md
+++ b/Library:-Online-Users.md
@@ -4,20 +4,28 @@
There is a "time_limit" that is used to know if the user is not active anymore. All the users that are not active anymore are deleted from the record file. We know how many users are online counting the records on the file.
-
Class basic features
-
- - Auto-update hit times
- - Auto-clean expired hits
- - Easy-way to display how many users are online
- - Database server NOT needed (it uses text file instead)
-
+Class basic features
+
+ Auto-update hit times
+ Auto-clean expired hits
+ Easy-way to display how many users are online
+ Database server NOT needed (it uses text file instead)
+>
Class advanced features
-
- - You can use custom data for the user; it's useful if you want to show off which members are logged in the system
- - Last page visited (returned by $_SERVER['REQUEST_URI']) is recorded
- - Robots are automatically detected using the USER_AGENT library
-
+
+ You can use custom data for the user; it's useful if you want to show off which members are logged in the system
+ Last page visited (returned by $_SERVER['REQUEST_URI']) is recorded
+ Robots are automatically detected using the USER_AGENT library
+
+Installation
+
+Download the class ([[File:OnlineUsers.zip]]) and uncompress it to your APPLICATION/LIBRARIES directory
+
+Change line #16 with your custom database file (requires read/write permissions)
+
+Change line #26 and set the number of seconds for the user not being considered online anymore. (timeout)
+
Using the class
Loading the class