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

dmuth’s picture

Status: Active » Closed (works as designed)

Well, 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