Download & Extend

User files reporting & Top Users Block | Enable on Specific Content Types

Project:Public Download Count
Version:6.x-1.0-beta5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Sorry to request two more features, but I figured I'd request those as well if it weren't too much of a task for you. My friend who is a PHP guy may be able to do it and then I could just post a patch, however, his Drupal experience is null so it may take a bit.

(1). New tab under Public Download Count for Users. So basically a list of all users with it adding up the total of the files that the user has uploaded. For example:

Count | Username |

90 | Ted
84 | Maria

And once you click on the User it would display the files from that author with the same type of reporting that exists currently.

With that functionality, it would be great to have an option to show Top Users with the count as well in the Top Download block.

(2). Being able to enable Public Download Count on only certain content types would be great as well; in case there are two content types with the same type of file being uploaded.

Thanks again for all of your work, and I hope you aren't offended by me requesting more features so soon.

Comments

#1

(1) This is totally outside of this module's control. Public Download Count does nothing to do with file uploading and has no way to know the author (a user who upload file) of a file. All this module does is to find the anchor tag in the node body/teaser or Views fields, and then convert them so that the external PHP CGI program (pubdlcnt.php) is invoked when users click the anchor.

(2) I'm not sure if this is something many people find it good to have. This module knows the ID of the node where the downloadable file belongs to. Therefore, it's easy to know the content type of the node too. So technically speaking, this feature is possible. Could you explain the scenario where this feature will helps. This module uses file name to manage the download count. Therefore, if files with the same file name exist, they share the same download counter. If the module also consider the file path in addition to file name, then these files are handled separately but currently they do not.
Anyway, I need more info on this feature.

#2

(1). Ah I see, I didn't mean just file uploads though. Sorry for the confusion. I meant being able to link the NID with the UID of the individual who created the node who also uploaded the file. Since the Public Download Count table is collecting NID, and the UID is in the node table; I figured this would be possible.

(2). Basically, this would come in handy if you have a forum where individuals upload zip files, and you also have a blog like content type where they upload zip files. I only want to have Top Downloads Block and reporting to track downloads from the blog like content type rather than the forums.

#3

OK, now I understand much better.

(1) This is possible but not a simple code change (requires hours of work). To add this, I think I need to add user ID to the database table of this module. I will think about it.

(2) I think this is reasonable and nice feature to have. One question is if the content type filtering to be applied upon counting or upon showing the top download list. Which is better do you think?

#4

(1). Well I'm glad it's at least possible. No worries if it's too much work for you. You're donating your time to us with this project, so I completely understand if this isn't a priority.

(2). Honestly, I think it would be good to somehow be able to filter certain content types on the reports; as well as being able to specify the content type in the block. So I guess both since I'm sure other users will need one and not the other and vice-versa.

nobody click here