Quote:
Originally Posted by Gwendolin
Hi, very good modification, I like it very much
But I miss one or I just don't see it.
At the setting of a download limit under local_links_admin.php?set=bandwidth I can just add a limit by usergroup.
It is possible to set a limit on categories, I don't want add a limit for usergroups, just a download limit for 2 categories, all other categories should be unlimited.
Is that anywhere possible or could add?
|
Thanks for the suggestion - this was not possible before, but it is easy to add, and will be available in the next upload of version 2.2.7 (the release candidate).
Basically, there will be a new per-usergroup, per-category permission, called *can_bypass_bandwidth_limits*. So you will be able to set overall limits on bandwidth use, and then turn it off for all but your two categories of interest.
Note that the calculation will be based on the *total* consumption from those two categories. It is not straightforward to change the code to allow different bandwidth usage per category.