Is there anyway to limit the size/quota of favorite downloaded stuff Is there anyway to limit the size/quota of favorite downloaded stuff
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Is there anyway to limit the size/quota of favorite downloaded stuff

Started by dke, July 05, 2006, 01:07:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dke

Hi,

hard to explain in the short topic.

what i want to do is to limit the qouta each week to like 40mb max size for a zip file that they download when using the "download favorites as zip" but i only want them to be able to do this once a week on their account. Ofcourse they could go through the trouble of registering a new user with a new mail, but im willing to deal with that :)

So basicly, max downloadable quota per week for favorite zip files would be 40mb for people in the "registered group"

Any clues if this is possible?

Sami

yes it's possible.
you have size of pics on db and you know how many pics on fav so you can calculate the total size for each user but for each week you need to create a new table to store when user download zip file
It should be possible as a Plugin
‍I don't answer to PM with support question
Please post your issue to related board

dke

awesome, any clue if there might be someone who already did this and shared hes/shes work? im no pro so im far from writing my own plugin/scripts :)

thanks in advance