Invitation Code Checker
Works when making user accounts only (4 posts)

  1. HDRider
    Posted 6 years ago #

    It appears to only work for me when the user selects:

    Just a username, please.

    When they select "Gimme a site!" while registering, it goes to the next screen when they can do the site info, them goes back to the username page again asking for the code.


  2. HDRider
    Posted 6 years ago #

    I feel stupid . . .

    Compatible up to: WordPress MU 2.8.4

    I am using 3.01


  3. Ovidiu
    Posted 5 years ago #

    I need it to work with a site where only user signups are allowed so whats the status? is it dead? will it be updated?

    Besides, if I create a new user from the back end as a site admin it doesn't offer a box for an invite code but stops me from creating an user!

  4. Frank Höfer
    Posted 5 years ago #

    The plugin doesn't work (I'm using WP 2.8.6) because the invitation code isn't passed as a field in the second form at registration. This can easily be done:

    1. In the initialization routine, add
      add_action( 'signup_hidden_fields', array( &$this, 'add_hidden_field_to_signup' ) );
    2. Add the following function:
      function add_hidden_field_to_signup( $errors ) {
      		<input type="hidden" name="invitation_code" value="<?php echo wp_specialchars( $_POST['invitation_code'], 1 ) ?>" />
      	<?php }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Invitation Code Checker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic