Audio Daily Download Limit

alt=
@kayskeem
10 years ago
200 posts
If I have free audio available to members and I want to set limitations on it for example 2 downloads per day on every free download what do I do? And can it be done according to the quota for example a member quota has 2 downloads daily and a vip has unlimited downloads daily? It would be a nice thing on jamroom.
updated by @kayskeem: 04/27/14 07:19:15PM
alt=
@kayskeem
10 years ago
200 posts
@michael which module ?
paul
@paul
10 years ago
4,332 posts
I think Michael pasted the wrong link. Try this one -
https://www.jamroom.net/the-jamroom-network/networkmarket/113/profile-daily-limits


--
Paul Asher - JR Developer and System Import Specialist
michael
@michael
10 years ago
7,746 posts
This was the link I thought I posted:
https://www.jamroom.net/the-jamroom-network/forum/announcements/5017/new-profile-daily-limits-free-module

but paul's one is more direct.
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
I was going to suggest that- but I think that's for limiting uploads (item creations), not downloads. Might be an interesting feature to add to that module though (limiting downloads).
alt=
@kayskeem
10 years ago
200 posts
I agree with @ilovehousemusic
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
lol


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
alt=
@kayskeem
10 years ago
200 posts
@Stevex ?
alt=
@kayskeem
10 years ago
200 posts
@michael @Paul dont know if that will work
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
kayskeem:
@Stevex ?

funny


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
paul
@paul
10 years ago
4,332 posts
That would need to be something custom then, but fairly simple.
Listen for downloads and log the user's IP to a datastore. If number of same IPs logged within the last 24 hours > n, stop the download.
Alternatively, add in a smarty call or function to return true/false on the same condition and use it in the templates to grey out the download button.


--
Paul Asher - JR Developer and System Import Specialist
alt=
@kayskeem
10 years ago
200 posts
Ok thanks @paul how do u go about limiting different user quotas not all users ?
paul
@paul
10 years ago
4,332 posts
Its all part of the module's structure.
Instead of a global config.php file that has the max daily downloads option in, you put that option in the quota config so then it can be different, or disabled, for each quota.

Is there demand for something like this? It would take too long to do, but not worth our time for one person, if you see what I mean.

I've put the idea on the Feature requests -

https://www.jamroom.net/the-jamroom-network/tracker/464/limit-daily-downloads-per-quota


--
Paul Asher - JR Developer and System Import Specialist

Tags