It would be nice if admins could have unlimited invites.
or, probably a better way to do it would be to allow admins to specify a default number for everybody, then be able to change that number per role, and even per user.
anyway. nice module.
erik.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | no-limit.patch | 2.82 KB | owen barton |
| #1 | invite_max_by_role_plus_unlimited_option.patch | 2.77 KB | erikhopp |
Comments
Comment #1
erikhopp commentedOk, here is a patch against cvs that implements:
- Select boxes for setting a maximum number of invites per role
- Option to set unlimited invites in above-mentioned select boxes
I needed this functionality so that I could have unlimited invites for administrators of a site but have a limited number for authenticated users
This code works for me on my 4.6.3 site. (Actually I changed a little OR operator, but it should be fine.)
I am aware that some of this code is not ideal.
I'm learning so please feel free to provide suggestions!
Comment #2
owen barton commentedI hadn't spotted this patch, so I put together a simpler patch that just adds 'no limit' to the invite_maxnum dropdown box. Apart from that it looks pretty similar to this one, except it does some additional tweaking of help text to hide stuff about limits.
Comment #3
robertdouglass commentedThis has been addressed in 4-7 so I'm changing the version of the issue to 4-6
Comment #4
AjK commented4.6 no longer supported