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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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