Quote:
Originally Posted by RikiB
I noticed the byte limit but is there a way to limit how many times each file is downloaded? I just want users to be able to download certain files a maximum of 3 times. There are many files at different sizes so limited based off bytes is not the best option for me.
Thanks!!
|
This is easy to add as a plugin, althought it is not currently available. I will write it for you if you want. Let me know.
Only point to consider - users' hits are stored in the 'hits' table. Popular sites can attract many hits, so this table can become quite large. Consequently, LDM will normally 'prune' the table to get rid of old hits. It is not possible to keep track of individual hits that are older than the 'prune' period, so if you really want to limit your users to 3 hits per file *forever* then you have to keep the hits table populated forever.