Author |
Topic |
|
loftwork
Starting Member
10 Posts |
Posted - 26 June 2007 : 06:57:46
|
Hi,
Is it possible to generate a running log of logins to a forum? I haven't seen a mod for it but the data must be available.
Thanks very much,
Rick |
|
gary b
Junior Member
USA
267 Posts |
Posted - 26 June 2007 : 07:55:01
|
I am too new to know if such a MOD has already surfaced. In the absence of such a MOD, you could approach subject as below.
Database contains field for 'LastHere' date/time, LastIP, etc. If you can, copy database to desktop and run query. (Delete database when done.)
Else, forum code contains many database queries. Cut, paste, and modify a piece of this code into a new ASP file. Point browser at this page to view results on-line. |
|
|
loftwork
Starting Member
10 Posts |
Posted - 05 July 2007 : 06:10:56
|
Thanks Gary,
It's possible to spot the last login, but not to list logins for a specific username or IP (AFAIK). Failing a known MOD it looks like tinkering with the code - I'll have to ask management how badly they want the information.
Cheers,
Rick |
|
|
gary b
Junior Member
USA
267 Posts |
Posted - 05 July 2007 : 07:19:47
|
quote: It's possible to spot the last login, but not to list logins for a specific username or IP (AFAIK).
This would be very simple task with database opened in Access. FTP database to desktop and run query.
Creating a page that displays this information could be done. |
Edited by - gary b on 05 July 2007 07:36:08 |
|
|
PPSSWeb
Junior Member
312 Posts |
Posted - 05 July 2007 : 09:00:13
|
If you have the active users MOD installed, it will already be collecting most if not all of the information you might need (ie. IP, Name, OS, Browser, Time). You could modify that code to output users information to a log when the information is collected at login. |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 05 July 2007 : 09:54:31
|
If this is an internal app it wouldn't be too hard to add the code for WROX's StatCounteX - which tracks the IP, click paths, and much much more (though it could stand a few updates...) - and you could use that to track them via IP.
If its not internal, you could probably modify it to capture the username along with the IP address fairly easily.
It does need some updates as it doesn't detect FireFox, IE7, or Opera in its primitive browser detection code. It also doesn't recognize Windows XP, Vista, and probably Mac OS X too. If this information isn't important, then don't worry about updating it. (Its not that hard if you do want to update it.) |
|
|
loftwork
Starting Member
10 Posts |
Posted - 03 December 2007 : 06:57:10
|
Belated thanks to all - used the easy way out by downloading the db and interrogating it, since that allowed me to push the workload to Marketing who suddenly decided it wasn't that important. ;-) |
|
|
|
Topic |
|