![]() |
Staff Activity
This would be most helpful in Testbed but I can see value everywhere else.
I would like a RC function which will output all current accounts in the stafflist along with the last time they logged in. I'd also like the ability to optionally extend this to include the last 3 entries in their staff activity. Thoughts? |
You could in theory always ask a PWA...
|
Quote:
|
There's already staff activity in /openaccess, it just needs to be expanded to include more than just NC activity.
|
Quote:
[Edit]: Testbed -> Currently 457 staff registered in server options I'm trying to remove inactive people but it's a horrid manual process. Anything to speed it up would be awesome! |
Download the rclog and then to populate last login dates through it then use Testbed's time-online tracking (or whatever it's called) system to track future login dates.
|
notepad++ is your friend
|
Whiped up a little python script:
PHP Code:
Output: PHP Code:
|
Melon! You're not even closing your file handle! :/
|
Quote:
add log.close() at the end of the script |
Quote:
|
Quote:
PHP Code:
|
Quote:
PHP Code:
Its better to explicitly use a variable handle, or a with-block but since its a small script that will only be ran once in a while, it doesn't really matter. For bigger projects though, you would need to close it. |
Quote:
|
Quote:
:D |
Quote:
http://24.media.tumblr.com/tumblr_ly...3o1_r1_500.gif |
Quote:
|
Quote:
But yes, true. |
| All times are GMT +2. The time now is 08:22 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.