User activity mod - نوشته شده در (717 Views)
کاربر قفل شده
laser
مطلب: 3859
3859
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<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
muzishun
مطلب: 1079
1079
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)
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
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.”
نوشته شده در
Senior Member
StephenD
مطلب: 1044
1044
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
مطلب: 3859
3859
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.<
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
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.”
نوشته شده در
Starting Member
kpc01
مطلب: 3
3
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...<
 
شما باید یک متن وارد کنید