PDA

View Full Version : Can someone make an Activity Log hack?


Isotope
05-06-2004, 11:23 PM
You know what I miss from the old-style BBS's? The activity logs! I would love it if someone made a Log system for vB 3.01!!!

I'm talking about something that would be completely date and time stamped and show the following stuff:


1. Logins

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it


2. Logoffs

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Indicate whether this was a Manual Logoff, or a Timed Out Session.


3. New Threads

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in


4. New Posts

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in
Post ID


5. Edited Posts

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in
Post ID



This hack can either append all of the data to a Text File, or if there is better performance by having it put all of this into the database, than that's fine too.

However, although not necessary - I'm sure some people would find it convenient if there was a way to configure which of the five items listed above will actually be logged. Some people might only need/want Login/Logoff information, while others might want the full shebang. This can either be configured via Text File, Database Entry, or simply the hack instructions clearly indicating what parts to put in for what functionality.


So, how does all of this sound? Does this sound like something that other people would like to have as well?

Is someone willing to take a stab at it? :)

Isotope
05-21-2004, 08:24 PM
No one else wants this? I'm honestly surprised!

mtha
11-05-2004, 08:24 PM
You know what I miss from the old-style BBS's? The activity logs! I would love it if someone made a Log system for vB 3.01!!!

I'm talking about something that would be completely date and time stamped and show the following stuff:


1. Logins

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it


2. Logoffs

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Indicate whether this was a Manual Logoff, or a Timed Out Session.


3. New Threads

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in


4. New Posts

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in
Post ID


5. Edited Posts

Username
User ID
Date
Time
IP Address
Alternate IP, if behind a proxy that indicates the IP behind it
Thread ID
Thread Name
SubForum ID it was posted in
SubForum Name it was posted in
Post ID



I'd love to see this hack to be released.

database structure would be:


TABLE activitylog

FIELD
activitylogid int(10)
userid int(10)
dateline int(10)
script varchar(250)
action varchar(250)
forumid int(10)
threadid int(10)
postid int(10)
extrainfo varchar(250)
ipaddress varchar(25)
proxyipaddress varchar(25)
useragenr varchar(250)


This can work like adminlog, moderatorlog, or sessions

I sometime want to suspect some "to be watched" one, so if the log is too big (for big forums), I just want to log activity for some given userid (that given in config or somewhere)

Borgs8472
11-06-2004, 10:21 PM
<supports this hack>

Apco25Guy
06-13-2005, 06:28 AM
Would love this hack too

COBRAws
06-13-2005, 12:50 PM
me too! /me votes

SomeoneYouKnow
07-29-2005, 03:39 PM
I've been scouring the forums for something like this too

derekivey
07-29-2005, 04:15 PM
Yeah, I would be interested in a hack like this. Can anyone make something like it?

Biker_GA
07-29-2005, 04:43 PM
I, too, have needed something like this. Not for all members, but something I can turn on for a specific user.

MThornback
07-31-2005, 02:03 AM
I, too, have needed something like this. Not for all members, but something I can turn on for a specific user.

Same goes for me...my boards seem to attract multi's....anything that can be made to sniff them out i'll use :)

DJDarknez
08-01-2005, 01:21 AM
I, too, am putting my hand up!

vanayr
10-16-2005, 10:04 PM
I, too, am putting my hand up!

Putting my hand up as well, I so wish there was a way to log everyone who visits.

ViViD
01-13-2006, 10:48 AM
Me tooo ... We have some Virtual Isps in our country so the IP's of different users can be same and some of users misuse this and I can not assess are they same or not . so a log can help very much .

xfaethorx
02-23-2006, 06:47 AM
i'd love a hack similar to this that indicated what threads a user had viewed / forums they'd accessed in the last X many days. It would be preferable to keep the database queries down if you could just set a certain users or user groups to watch.

Roonie
01-26-2007, 01:53 PM
i would love this hack.

derekivey
01-26-2007, 06:44 PM
Hmm, I might try making it now that I know PHP pretty well. I'll see what I come up with when I get some time.