I tried this mod on RC1 and ran into the following issues:
Users always get the error message that the invitation code is invalid. They always have the reload the page a second time to register. Doesn't matter if the user has any cookies set or not. Tried in various browsers.
E-Mail Verification does not work when normal registration method is disabled using this plugin. Users always get the invalid invitation code error message until I turned the disabling of the normal registration off in this plugin. Then they are abe to verify their email address.
Defining the user groups who can delete invites has no effect. The delete invite link never shows up.
Edit:
Fixed the missing delete links by changing the code so that a check is done against all groups the user is a member of and not only his primary group. But all delete links link to the last sent invitationcode now because the array from the config is exploded to itself in the while loop causing that the delete link is always the first value.
Fixed the need for re-loading the invite page twice on the first time by changing the code to form setting the cookie and checking for the cookie right away cookie to setting the cookie or checking for the cookie. Setting a cookie and checking for it right away without a page re-load is not possible on all browers.
Fixed the not-supported email verification when the normal registration is disabled by this mod, by adding a check if on user account accitivation an if accepted invitation cookie is present for the user in question. I also removed the cookie at that time since registration should be complete.
Looks like it runs now. Man this thing is buggy, but better than writing one from scratch...
I still need to add some features like reclaiming of deleted invites and automatic invite deletion after some time. It also needs verification that you cannot send invites to already registered emails as well as not allowing to have duplicate invites waiting to be claimed for an email.
|