Forums

Wondering if there's a plugin for this... (4 posts)

  1. JonnyTee
    Member
    Posted 9 months ago #

    Hey. I was wondering if any of you might ever have had a similar situation to me. I'm looking to develop a web application on WordPress (mainly for its amazingly extensive properties for users), and I'm wondering if, while my web application is in beta, there is a plugin that can do this: Restrict registrations to a list of registration codes, and preferably, remove each code as it is used. Is there a plugin for this? Thank you! :)

  2. NateJacobs
    Member
    Posted 9 months ago #

    I wrote up a quick plugin tonight that I think will help do what you are asking. It is untested in a production environment, but I have tried several scenarios this evening. Give it a go, but remember it is only a 0.1 release. Move the register-code-validation folder into your plugins folder. Before you activate the plugin you need to add your set of validation codes to an array. The code is well commented. After you add your codes you can then activate.

    https://github.com/NateJacobs/Registration-Code-Validation

  3. JonnyTee
    Member
    Posted 8 months ago #

    Going to try it now. Thanks for writing the code! :)

  4. NateJacobs
    Member
    Posted 8 months ago #

    Awesome, let me know how it works for you.

Reply

You must log in to post.

About this Topic