Overlysimplified Invite Plugin
-
problem: “How to limit user registrations on a website by invite-only, without any extra admin work or calls to the database?”
answer: “Encrypt the date as a 7-byte string DDMMMYY using a unique seed to the website as well as the email address as the actual key. I chose to use AES128. It generates a unique link, which when clicked would usually open a 404 page, but instead will actually open a sign-up page, but unless all data computes, clicking signup will just lead you to nowhere. The date is an expiry date for the invite. So only two settings are needed, which can be saved in the main settings table for wordpress. No need to register table names. One setting is the unique seed and the other is the number of days the invite is valid for. Incase you didn’t realise, the URI contains the encrypted string.”
I am making myself a plug in now to achieve the above. Would anyone else find this useful? If so, I will add it to the plugins repo.
The topic ‘Overlysimplified Invite Plugin’ is closed to new replies.