Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Has anyone written any TRACKING code?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Aaron S.
Average Member

USA
985 Posts

Posted - 21 September 2002 :  18:15:21  Show Profile  Visit Aaron S.'s Homepage
My new forum has Active Users on it, and it is fascinating watching visitors go from page to page (maybe I need more hobbies).

Anyway, has anyone written any code that stores some of this information. I think traffic behavior is extremely important, and it would be nice to be able to turn on "full tracking" and it logs every page a member visits during their session.

I would also like to see a LOGIN table that tracks all members that have hit the forums during a given period (so you can see how many visited during a certain day).

BTW: I realize web logs may track some of this, but some folks don't have access to them, or the time to sift thru them.

Let me know if there are any MODs for this... if not, I'll play around with it (AFTER Avatar Plus, becuase I feel a mob descending down on my house if I don't finish it soon).

--Aaron

DOWNLOAD GREAT NEW MODS HERE

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 September 2002 :  18:39:05  Show Profile  Send ruirib a Yahoo! Message
I'm pretty certain GauravBhabu has a mod to do this. Visit his site (http://www.forumsquare.com) and have a look.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 21 September 2002 :  18:58:29  Show Profile  Visit MaD2ko0l's Homepage
hey i had a wicked user log mod it would lok the number they were time/date where they went and who there were oh and there ip...u had to installed the first page of the au 3.5 code and then add a few lines to inc_top and that was it...if u r intrestead i can try to make it work in 3.4+

MaD2ko0l

© 1999-2010 MaD2ko0l
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 21 September 2002 :  19:02:34  Show Profile  Visit Aaron S.'s Homepage
That would be great.

This information is critical (IMHO) to webmasters, and I am about to make a major push to potential sponsors, so the more user behavior data I have the better.

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 21 September 2002 :  19:08:52  Show Profile  Visit MaD2ko0l's Homepage
ok then i will get all the file sorted out in lets say 3/4 days ok?

MaD2ko0l

© 1999-2010 MaD2ko0l
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 21 September 2002 :  19:15:20  Show Profile  Visit Aaron S.'s Homepage
Whenever you have time...

Thanks,

--Aaron

DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 21 September 2002 :  22:47:39  Show Profile  Visit CarKnee's Homepage
Not related to a MOD, but check out statCountEx @ http://www.2enetworx.com/dev/projects/statcountex.asp It can give click paths of IP addresses and other usefull info.

CarKnee

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 21 September 2002 :  23:36:26  Show Profile  Visit dayve's Homepage
quote:
Originally posted by ruirib

I'm pretty certain GauravBhabu has a mod to do this. Visit his site (http://www.forumsquare.com) and have a look.



you are right and it was a really nice mod that was going through stages. the last portion he showed to us was awesome but never got released.

so GauravBhabu, care to tell us if you're up to making this available?

Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 22 September 2002 :  14:42:51  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
I found this a while back, don't know who put it on...

Just place it at the bottom of inc_footer.asp, and change the red part to suit where you want the log file to be created/used...



<%strOnLineCheckInTime = DateToStr(strForumTimeAdjust)
strOnlineUserIP = Request.ServerVariables("REMOTE_ADDR")
strScriptName = Request.servervariables("script_name")
if strDBNTUserName = "" then
	strOnlineUser = "Guest"
else
	strOnlineUser = strDBNTUserName
end if

dim iplg, logFile8
set iplg=server.createObject("scripting.FileSystemObject")
set logFile8=iplg.openTextFile(server.mappath("/logs/forum.txt"),8)
logFile8.write strOnlineCheckInTime & Chr(9) & strOnlineUserIP & CHR(9) & strScriptName & CHR(9) & strOnlineUser & vbCrLf
logFile8.close
set logFile8=nothing
set iplg=nothing%>
Go to Top of Page

vweyes
New Member

74 Posts

Posted - 22 September 2002 :  15:09:05  Show Profile
...or you can do what I did and just put an Extreme Tracker in Inc_footer. That works quite well.

Forums: rtcw.gamespage.com
Website: http://www.planetwolfenstein.com/atb/
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 19 October 2002 :  05:33:53  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Just coming back to ask a question, I saw that I made a mistake, it should be in inc_top.asp...sorry.

Anyway, this is what the output looks like:

20021019100832	***.***.***.***	/snitz/iplog.asp	MortiOli


But is there anyway to change the date/time to this format:

2002/10/19 10:08.32

Or even better (for UK ):

19/10/2002 10:08.32

?

Cheers!
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 19 October 2002 :  05:39:09  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Just thinking about it, if I made a new function, and change DateToStr to whatever I called it, would it work?

Eg.


function IPLogDate(dtDateTime)
	if not isDate(strForumTimeAdjust) then
		strForumTimeAdjust = strToDate(strForumTimeAdjust)
	end if

	DateToStr = doublenum(Day(dtdateTime)) & doublenum(Month(dtdateTime)) & year(dtDateTime) & doublenum(Hour(dtdateTime)) & doublenum(Minute(dtdateTime)) & doublenum(Second(dtdateTime)) & ""
end function



But how would I put in /, : and . ?
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 October 2002 :  06:55:25  Show Profile
quote:
Originally posted by mortioli

...
But is there anyway to change the date/time to this format:

2002/10/19 10:08.32
Or even better (for UK ):
19/10/2002 10:08.32
Cheers!



logFile8.write chkDate(strOnlineCheckInTime, "", true) & Chr(9) & strOnlineUserIP & CHR(9) & strScriptName & CHR(9) & strOnlineUser & vbCrLf
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 19 October 2002 :  07:46:58  Show Profile
quote:
Originally posted by mortioli


But is there anyway to change the date/time to this format:

2002/10/19 10:08.32

Or even better (for UK ):

19/10/2002 10:08.32



You got it yet ?? ... I'd just use the MID function (I think that's what it is in ASP).
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 19 October 2002 :  08:10:32  Show Profile
You've got two ways ... to change the function you have presently, you simply do :


DateToStr = doublenum(Day(dtdateTime)) & "/" & doublenum(Month(dtdateTime)) & "/" & year(dtDateTime) & doublenum(Hour(dtdateTime)) & ":" & doublenum(Minute(dtdateTime)) & ":" & doublenum(Second(dtdateTime)) & ""


Or you could change the original code supplied from this :


logFile8.write strOnlineCheckInTime & Chr(9) & strOnlineUserIP & CHR(9) & strScriptName & CHR(9) & strOnlineUser & vbCrLf

to this ...

logFile8.write Mid(strOnlineCheckInTime, 7, 2) & "/" & Mid(strOnlineCheckInTime, 5, 2) & "/" & Mid(strOnlineCheckInTime, 1, 4) & " " & Mid(strOnlineCheckInTime,9, 2) & ":" & Mid(strOnlineCheckInTime,11, 2) & ":" & Mid(strOnlineCheckInTime,13, 2) & Chr(9) & strOnlineUserIP & CHR(9) & strScriptName & CHR(9) & strOnlineUser & vbCrLf

Hope that helps
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 19 October 2002 :  08:13:27  Show Profile
Why not use the chkDate function
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07