Support » Plugin: Invitation Code Checker » [Plugin: Invitation Code Checker] Works when making user accounts only

Viewing 3 replies - 1 through 3 (of 3 total)
  • I feel stupid . . .

    Compatible up to: WordPress MU 2.8.4

    I am using 3.01

    duh

    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!

    Frank Höfer

    (@nomadsconnected)

    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 }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Invitation Code Checker] Works when making user accounts only’ is closed to new replies.