• I am using the Register Plus Redux plugin (which is great) but I want to have the users automatically logged-in after they fill in the registration form, and then redirect them to a page on the site.

    Is there a way to do this? (Right now it wants users to login after registration, which, if they’ve already created an id and password, seems an extra step.)

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • U have the same requirement. Has anyone figured this out?

    I almost had this working with the following code that i found on theme-my-login, which I also use, but there was a conflict with RPR … the conflict resulted in none of my RPR field information making it to the user profile and i was no longer receiving my new user notifications…

    i added this to the end of the register-plus-redux.php

    <?php
    function tml_new_user_registered( $user_id ) {
        wp_set_auth_cookie( $user_id, false, is_ssl() );
        wp_redirect( 'http://mysite.com/congrats' );
        exit;
    }
    add_action( 'tml_new_user_registered', 'tml_new_user_registered' );
    ?>

    evandunn

    (@evandunn)

    I’m trying to get auto-login with Register Plus Redux, but no luck so far. All I can manage to do is generate php errors. 🙁

    grindflow

    (@grindflow)

    I believe I am using wp-auto-login to achieve this….

    evandunn

    (@evandunn)

    What is wp_auto_login ? I’d really appreciate any guidance at all you could give me.

    Thanks so much!
    -Evan

    grindflow

    (@grindflow)

    Sorry, I forgot that I didn’t get this from the wordpress plugins…

    some aussies were kind enough to write a plug-in and shared it through their site…. i remember it took a couple hours to get through this, and I usually don’t take modules from other repositories, in this case i did

    here’s where i found it:
    http://blog.coderaustralia.com/tag/wordpress-auto-login-and-redirect

    evandunn

    (@evandunn)

    Interesting! I’ll definitely check this out. Thanks for the help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Auto-Login After Registration with Register Plus Redux’ is closed to new replies.