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)
 Download Tracker
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

skwayb
Starting Member

17 Posts

Posted - 30 January 2007 :  14:35:48  Show Profile  Reply with Quote
Anybody have some code or an idea of how to track files downloaded from the Forum (i.e. File Library Mod, or any attachments to posts, etc.) and record it to the database.

I would like to be able to track who downloaded what file, when, from where (post, file library, etc.) and then be able to look at their profile (as the admin) and see what files they downloaded (filename, when, post (if it is an attachement), or if it came from the file library.) I tried coding this myself but made a total mess of it. I am a still learning and not a very good programmer.

Any help or examples of how to now when a file was downloaded would be appreciated.
<

AnonJr
Moderator

United States
5768 Posts

Posted - 30 January 2007 :  14:54:55  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I think there is still a File Library MOD up on www.snitzbitz.com ... but I don't remember what it does/doesn't do. If nothing else, it could be a good starting point.<
Go to Top of Page

skwayb
Starting Member

17 Posts

Posted - 30 January 2007 :  16:10:04  Show Profile  Reply with Quote
I have the library mod installed but I don't see where it stores who downloaded what file. So I was looking to add that code so I can track who downloaded what file and when.<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 30 January 2007 :  16:14:35  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
there is a mod called who viewed this or somthign liek that...basically what it does is when someone views a topic it gets logged who has read the topic...maybe you could modify they 2 mods to do what you want it to do.<

© 1999-2010 MaD2ko0l
Go to Top of Page

skwayb
Starting Member

17 Posts

Posted - 30 January 2007 :  16:22:53  Show Profile  Reply with Quote
Have a link to it? Is it the 'Who's On' MOD ? I have that one installed. Maybe it will point me in the right direction.<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 30 January 2007 :  17:18:09  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
i think it was called "Who Viewed This" by Kal Korp?? (Kal Corp/VASMOD) or somthing like that

but i think that there have been similar mods in the past that you coudl have a look for<

© 1999-2010 MaD2ko0l
Go to Top of Page

skwayb
Starting Member

17 Posts

Posted - 01 February 2007 :  12:55:20  Show Profile  Reply with Quote
Thanks MaD2ko0l I found the mod. It looks like something I could modify to work as a download tracker.

Only question I have, how do you tell if a file has been downloaded or not?<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 01 February 2007 :  13:26:57  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
something like this, you woudl ahve to modify it so it logs the user who downlaoded it

<%
  GetIt = Request.QueryString("GET")

		mySQL = "UPDATE tblFiles SET Hits = Hits + 1 WHERE Image='" & GetIt & "';"
		Conn.Execute(mySQL)
		Conn.Close

  Response.redirect "Uploads/" & GetIt
%>


hope this helps<

© 1999-2010 MaD2ko0l
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 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