Closed (works as designed)
Project:
User Quota
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2006 at 11:58 UTC
Updated:
18 Dec 2006 at 15:28 UTC
This is just a bit of encouragement for you. I built a site recently that I'd like to add upload capabilities to, but I can't until I have a way to support quotas so I can mete out how much content my users can store. Mainly I intend to offer image uploads via the image module, it'd be nice if it can deduct from the quota too if someone deletes files.
Thanks,
David
Comments
Comment #1
dmuth commentedWell, the theory behind the module is that you can pass in a callback when calling user_quota_over_quota() to call your own code that determines image usage.
Where should this code be, though? I'd imagine that it belongs in the image module. It could (in theory) be in any module, though. If someone wanted to write a seperate module that just had quota support for the image module, I think it could be done.
I'm open to suggestions, however. I think there's more than one way to go about doing things here.
-- Doug