View Full Version : [Filled]- user was last online!!!
rAWfOX
02-16-2004, 03:38 PM
with siterings its harder to keep up with some users.. so i wonder if its possible to make a script that shows user inactivity...
Example:
site inactivity all
user1 was last online 4 weeks ago
user2 was last online 1 week ago
user3 was last online 5 weeks ago
something like that...
:)
thanx in advance :D
ferran
02-16-2004, 04:18 PM
that would be a great script yeah...
Mouton
02-16-2004, 05:45 PM
isn't that kinda what quota scripts are used for ? remove users who aren't active ..?
rAWfOX
02-17-2004, 01:22 AM
Originally posted by Mouton
isn't that kinda what quota scripts are used for ? remove users who aren't active ..?
well yeah :) but some sites dosnt use quota :)
thewarden
02-17-2004, 02:16 AM
Not all sites run quota or delete people for the various reasons many other sites do.
That item would be a nice addition for some SysOps who simply want to know when a person was last on...
Yes - you could view the date stamps...
But a list would be nice.
_rage_ thegod
02-17-2004, 06:20 AM
yep, would be a usefull script. i do use quota on my sites, but still, this'd be quite interesting to see when people have been last online.
Mouton
02-17-2004, 12:32 PM
a pretty simple itcl OnFtpLogin would do it.
open somefile.dat, search for username in it, if found, change timestamp following username, if not found, add new line <username> <timestamp> at the end of file...
same for query... except display timestamp...
St0rm
02-17-2004, 03:59 PM
[R] site activity all
[R] 200- ioFTPD was last seen at 02-17-2004
[R] 200- storm was last seen at 02-17-2004
Working on it, almost finished. Will post it when I'm done.
Mouton
02-17-2004, 04:47 PM
i hope u don't work on sysop.log...
ppl have a tendency to erase their .log for no apparent reason and then asking why this or that doesn't work anymore, and "they have done nothing"!
St0rm
02-17-2004, 04:50 PM
I'm using a seperate log for the script. Easier to parse and won't be big anyway (max number of lines would be the number of users on the site).
St0rm
02-17-2004, 05:35 PM
Done. See http://www.ioftpd.com/board/showthread.php?s=&threadid=2680
Enjoy.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.