Closed (fixed)
Project:
Quota by role
Version:
5.x-7.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Mar 2008 at 15:41 UTC
Updated:
2 Apr 2008 at 05:28 UTC
I installed the module, set the rights to admin the module but when I navigate to admin/settings/quota_by_role I get just these instrutions but no form to actually configure anything:
Quota by role
Key:
* Limit to - The maximum number of posts/comments you want to allow specific roles to make in a specific time period.
* Per - The time period previous to check for posts that "count" against the maximum number.
* Content type - You can limit the quota to all content types, or a specific content type, thereby ignoring others.
* Weight - Set the order for evaluating quota settings. Starts at -50, and ends at 50. The first negative match will be the final one.
Notes:
* When a new role is added, there will be no quota set up for it. You need to come to this settings form to add a new quota.
* Quotas are determined based on the weight. Processing starts at the lowest weight and is stopped at the first group match. It is a good idea to have groups that admins are in at the lowest weight.
* User 1 will not be included in quota checks.
How can I configure the module?
Comments
Comment #1
introfini commentedHi,
You need to give you "administer quota by role" permissions.
introfini
Comment #2
wpanssi commentedI have already done that...
Any other suggestions?
Comment #3
lazyboy commentedHi wpanssi
I'm not too sure what can cause the problem. Usually that type of problem stems from that fact that the user can access the link for admin the module, but once you actually click on the link, you are denied access. The reason you see the top part (the Notes section), is because there is a different hook in drupal that renders that help screen, and then another hook that generates the actual body of the admin screen. The best I can suggest is to download the latest version module (http://drupal.org/project/quota_by_role). Make sure to completely uninstall the module, and install the new version. Let me know how it goes :)
Regards
lazyboy
Comment #4
wpanssi commentedUninstalled the module, downloaded the latest version for 5.x but the problem remains..
Comment #5
wpanssi commentedI use a prefix in the table names, but this shouldn't be the cause I guess.
Comment #6
dmuth commentedHere's your fix:
The permission "administer user quota" wasn't used anywhere else in the module. I have NO idea what it is doing there.
Comment #7
lazyboy commentedMe neither! Thanks for the code, I've already committed it, and it's available for download.
Regards
lazyboy
Comment #8
lazyboy commentedClosing request. Problem seems to have been resolved.
lazyboy