From: Graeme <gr...@pr...> - 2004-11-17 17:51:42
|
Graeme said: > I'd like to suggest four enhancements to the excellent File Manager plugin: > ... > 3. Ability to share a common quota over a user's combined file space. > > Currently a specified quota (e.g. 10M) will be applied to each base > directory separately (each base getting its own 10M quota). It would be nice if, as an option, the quota could be specified as being the total allowed for all base directories together (the total file space used summed across all bases must not exceed 10M). > ... I've attached a patch to functions.php that implements my third suggested enhancement. For it to work you also need to add a global, $quota_is_shared, to config.php. Set it to true to get a quota that is applied as the total allowed over all a user's non-shared directories. It seems to work but has only been lightly tested. Cheers Graeme -- http://www.promptpost.com email swift and sure |