Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: haralamb - helmikuu 24, 2008, 11:34:09 AP

Otsikko: Find out WHO downloaded an attachment
Kirjoitti: haralamb - helmikuu 24, 2008, 11:34:09 AP
I need to find out who downloaded every attachment (I'm using a SMF forum for my students and I don't want to disable the download function).
It exists already made a mod that gives this information? If not...
Thanks!
P.S. I'm using 1.1.4 version.
Otsikko: Re: Find out WHO downloaded an attachment
Kirjoitti: Oldiesmann - helmikuu 24, 2008, 12:55:47 IP
In SMF it is already possible to customize things so that only specific users can download attachments:

1. Create a new membergroup.
2. Give only this group permission to view/download attachments.
3. Add members to the group from their profile (profile -> Account Settings, click on "Show Additional Groups" and check the box next to the group) - this ensures that members do not know the group exists.

If you want to allow all members to view attachments but only allow certain ones to download them, ask JayBachatero (http://www.simplemachines.org/community/index.php?action=profile;u=4365) to update his Attachments Download Permission (http://custom.simplemachines.org/mods/index.php?mod=406) mod to work with 1.1.4.
Otsikko: Re: Find out WHO downloaded an attachment
Kirjoitti: Kindred - helmikuu 24, 2008, 01:06:39 IP
Oldies,

I don't think he's concerned with who CAN download it, but rather who HAS downloaded it...
I think he wants to know which of his students have downloaded the classwork attachment

Haralamb,   I'd suggest requesting a mod. This is not something that would be desired enough for a feature, IMO.  (I have moved your request into mod requests rather than feature requests)
Otsikko: Re: Find out WHO downloaded an attachment
Kirjoitti: haralamb - helmikuu 24, 2008, 01:27:33 IP
Thanks for the answers!
I need to know WHO did what they must do it and who don't... And when...
Thanks for moving to mod requests!
Otsikko: Re: Find out WHO downloaded an attachment
Kirjoitti: rsw686 - helmikuu 24, 2008, 01:46:54 IP
The mod would need to create a new database table. For each download instead of just incrementing the counter you would add a row to the download log table. Then you would need an interface to make some sense of that information. Very doable.
Otsikko: Re: Find out WHO downloaded an attachment
Kirjoitti: haralamb - helmikuu 24, 2008, 03:03:29 IP
Thanks! I understand that there are some chances...
Unfortunately, I'm only a user capable to click on "downloaded # times"... And I have no time to learn php, mysql...
So, I HOPE that somebody has time enough to do this!   :)