Download this mod
Previously Written by: Arantor
|Current version: 1.3|
|Updates: Mod support topic|
|Suitable for: SMF 1.1.11, 2.0 RC2, 2.0 RC3||Supported languages:|
Link to Mod | Mod support topic |
This mod allows you to set download quotas per day for your users, instead of uncapped download ability (the default SMF behaviour)
Administrators = No quota
Global Moderators = No quota
Moderators = 10 MB
Other Groups = 0 MB
In other words, most user groups will have to have to values modified.
Any download that would put a user over their quota is not allowed - this adds a note to the forum error log.
Quotas are in KB rather than bytes as of version 1.2 of the mod.
Package Manager should work in most cases. Manual edits may be needed for themes that modify the Admin Panel / Manage Membergroups area; all other edits are generic (language files) or core source files.
Manual Installation Of Mods
How Do I Modify Files?
Questions should be address to the mod support topic. Anything that is a bug or feature request can posted on the mod support topic.
Please uninstall this mod before updating.
1.3 - March 15, 2010 Updated for RC3
1.2 - December 29, 2009
Updated for 1.1.11 and 2.0 RC2
Also added support for displaying quota on user profiles
Quotas now measured in KB not bytes, meaning the maximum file that can be tracked is theoretically 4TB
1.1 - July 30, 2009
Updated for 1.1.10
1.0 - June 26, 2009
Files modified by Download Quota
Sources/Display.php (where the download is handled)
Themes/themedir/languages/Modifications.english.php (for the text in the Admin panel)
Themes/themedir/languages/Errors.english.php (for the 'You have exceeded your quota' error)
Themes/themedir/ManageMembergroups.template.php (for the control panel)
Sources/ManageMembergroups.php (for managing the DB changes)
Sources/Profile.php (1.1.x, when viewing the profile, for getting quota)
Sources/Profile-View.php (2.0, when viewing the profile, for getting quota)
Themes/themedir/Profile.template.php (for showing the quota)