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.

Comments

erikhopp’s picture

Status: Active » Needs review
StatusFileSize
new2.77 KB

Ok, 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!

owen barton’s picture

StatusFileSize
new2.82 KB

I 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.

robertdouglass’s picture

Version: master » 4.6.x-1.x-dev

This has been addressed in 4-7 so I'm changing the version of the issue to 4-6

AjK’s picture

Status: Needs review » Closed (fixed)

4.6 no longer supported