The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

BP Disable Activation Reloaded
User Role BP 2.0 (4 posts)

  1. sharmavishal
    Posted 2 years ago #


    The plugin is working fine but the user is not being assigned any site role. The backend admin shows no role for this site. Its not picking up the default user role.

    How do i fix this?

    Thanks in advance.



  2. kshade
    Posted 2 years ago #

    I just want to say that I've got the same problem after updating to WordPress 3.9.1 (from 3.8.something). Guess WordPress changed the way activation works? The original plug-in has the same issue, all new users

  3. kshade
    Posted 2 years ago #

    I've solved the issue by editing bp-disable-activation.php. Add this to line 8 (BEFORE $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );):

    $activation_key = get_user_meta($user_id, 'activation_key', true);
    $activate = apply_filters('bp_core_activate_account', bp_core_activate_signup($activation_key));
  4. Damian
    Plugin Author

    Posted 2 years ago #

    Thanks for the fix, I didn't have time to check myself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Disable Activation Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.