Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BuddyPress 1.7.1 How to disable BuddyPress registration

  • Avatar of spiritix
    spiritix
    Participant

    @spiritix

    Hi there

    First of all, thanks for this new version. I can imagine that tough work, good job!

    Anyway, on one of my websites I’d love to let the old WP registration instead of this BP registration. In older versions there were ways how to disable it:

    In functions.php put something like this:
    remove_action( ‘init’, ‘bp_core_wpsignup_redirect’ );
    or use this:
    remove_action( ‘wp’, ‘bp_core_screen_signup’, 3 );

    Well, now in version 1.7.1 I am not able to disable this BuddyPress registration, can you help? I simply need to use old WP registration.

    I’d appreciate your help.

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    The hook changed.

    Use this instead:
    remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );

    Avatar of spiritix
    spiritix
    Participant

    @spiritix

    Hey, no this did not help :-/

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Sorry about that! Forgot the other hook.

    Try this:

    https://gist.github.com/r-a-y/5578432

    Paste in your /wp-content/plugins/bp-custom.php file

    Avatar of spiritix
    spiritix
    Participant

    @spiritix

    Great man, this solved the issue. Thanks :)

    Avatar of FakeNinja
    FakeNinja
    Participant

    @fakeninja

    I used this and attempted to register.
    The result was a Internal 500 HTTP Error.

    Manually disabled all the plugins and when i attempted to re-enable BP
    I got this error:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot redeclare my_disable_bp_registration() (previously declared in /public_html/wp-content/themes/detube/functions.php:35) in /public_html/wp-content/plugins/bp-custom.php on line 8

    I believe there is an issue when attempting to activate an account via e-mail that the fix does not cover up.

    Avatar of FakeNinja
    FakeNinja
    Participant

    @fakeninja

    Nevermind! Solved it.
    I accidentally had the code in functions.php AS WELL as having it in bp-custom.php

    Sorry!

    Avatar of spiritix
    spiritix
    Participant

    @spiritix

    Hi there

    One more issue (it’s killing me). Despite having the registration disabled, emails for registration and the whole activation process stayed from buddypress. So I use WP registration template but get buddypress emails and activation – which is even NOT WORKING!

    Can you help me disable whole f*ckin BuddyPress registration&activation process so I can use only WP registration + its emails and everything?

    I appreciate your help.
    Thank you!

    Avatar of logosinmotion
    logosinmotion
    Participant

    @logosinmotion

    I would love this as well but i need a more detailed explanation of how to disable it.
    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.