User activity mod

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/60041?pagenum=1
05 November 2025, 10:13

Topic


laser
User activity mod
31 October 2005, 19:34


I know GauravBhabu was writing a mod to do this many years ago, but it never got released and I don't have the time to write a fully blown one myself, but ...

Is there a mod that tracks when a user visits ? I'm not so worried about what they do, I just need how often they login. I'm currently using members2.asp, but obviously that only stores the last login date/time because it looks at FORUM_MEMBERS. I have a small forum and I know the members don't login frequently, but I want to get some details on exactly how often they do.
Any code appreciated smile, I just don't have time myself atm sad<

 

Replies ...


muzishun
01 November 2005, 01:41


Well, I don't have anything to share, but I am also certainly interested in this for a couple forums that I'm working on. Here's hoping you (we) are able to find someone who's done this.<
Shaggy
01 November 2005, 06:41


Do you want to track how often they actually physically login or how often they visit the site. I.E. If someone logs into the site using "Remember Password", should the value in the database increment with each subsequent visit?
<
StephenD
01 November 2005, 06:53


If you have IPGate running then it is already collecting the data for you. I'm thinking you just need a way of mining the logfile and perhaps update another table with the minimum mined data from the logs the same time you clear the IPGate logs.

Hope this helps.<
laser
01 November 2005, 07:14


Tracking visitation is better - I never logout, so I can't track that wink. I can see where you're heading Shaggy, and just thinking about it I need a list of date/times and not just a counter.
Stephen, I think IPGate is a crazy idea, so I've never touched it ... this seems to be the only good application for it. Apologies to the author, but I just can't see how you can ban someone via IP.<
Shaggy
01 November 2005, 07:29


A list of dates and times would obviouldy make it a little more complicated. What I'm thinking of is a seperate table which would hold MEMBER_ID in one field and the date/time of visit in the other. When a session begins on Snitz, there are a couple of session variables created which could be used to check whether or not a new record needs to be inserted into the table.
<
kpc01
03 January 2006, 09:54


does anyone know if there is even anything similar to this already out? I am needing this exact mod but can't seem to find it anywhere...<
© 2000-2021 Snitz™ Communications