in my e-learning website i sell my tutorials. my files are there in private folder and after paying for each set of files, users have access to download that specific set of files...
to implement that; so far i used this module: "Private files download permission" = Allows by-user and by-role downloads from private file system directories.
so for each set of files i have to created a separate role!
my problem: now i have so many roles and it is getting more difficult to organize them!
now i am thinking of other solutions such as using taxonomy!
i can create a form to upload a file to private folder and assign a taxonomy to it!
1- any user who pay for it, can get that taxonomy and can download it but i don't have a clear idea how to assign this taxonomy to a user after paying?
2- how can i let him download from private folder if that user has the taxonomy?
i can do it all by PHP coding and hooks but is there any module which can do half of the job at least? or if there is no module to help me...can i use Rules to check if a user has a certain taxonomy or not?