I need to make available a list of files for logged in users and then track the following ;
1.All the downloads done by any particular user
2.all the users that have downloaded a particular download
I am thinking a creating a custom post type called "Download" with the file as a media upload attachement. now my question is ;
1.How do I list the users who have downloaded for a particular file ?
2.How do I list all the downloads of a particular user ?
Please let me know what concepts should I use to implement these functionalities ? thanks.