Author |
Topic  |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 31 October 2005 : 19:34:16
|
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 , I just don't have time myself atm < |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 01 November 2005 : 01:41:31
|
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.< |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 01 November 2005 : 06:41:21
|
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?
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
StephenD
Senior Member
   
Australia
1044 Posts |
Posted - 01 November 2005 : 06:53:05
|
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
Advanced Member
    
Australia
3859 Posts |
Posted - 01 November 2005 : 07:14:22
|
Tracking visitation is better - I never logout, so I can't track that . 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
Support Moderator
    
Ireland
6780 Posts |
Posted - 01 November 2005 : 07:29:41
|
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.
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
kpc01
Starting Member
USA
3 Posts |
Posted - 03 January 2006 : 09:54:31
|
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...< |
 |
|
|
Topic  |
|