Plugin: BP Disable Activation

Join this plugin group to follow comments, support topics and reviews.

Not Logged in after Sign Up (3 posts)

Started 1 year, 2 months ago by: Nahum

  • Profile picture of Nahum Nahum said 1 year, 2 months ago:

    This was working but don’t know what happened here recently.

    After the user signs up, it redirected to homepage with user already logged in.

    The redirect works but the user is logged in.

    Now it doesn’t do that…any ideas. I am on 3.1/1.2.8 bp.

  • Profile picture of Weshaw Weshaw said 1 year, 2 months ago:

    I’ve got the same problem: sign-up works, redirect works, but user isn’t signed in.

  • Profile picture of milordk milordk said 1 year ago:

    Fix:

    ~94 rows bp-disable-activation.php:
    After:
    /* Set the password */
    $wpdb->update….

    insert:

    global $wp_roles;
    $jusercap = new WP_User($signup['user_id']);
    $jusercap->set_role(‘subscriber’);