Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable buddypress login page and switch back to wordpress default login.

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

  • buddycore
    Participant

    @buddycore

    I believe this is the default functionality of a BuddyPress powered site.

    Your theme may be hijacking this, I’d look in the theme files first for a template.


    graphitewp2
    Participant

    @graphitewp2

    On the other hand, Id like the buddypress login redirect to my theme login page. The theme is just all done up already.

    Ive managed to redirect BP registration already to my theme registration page.

    This would help many in that we dont have any recent answers.

    Thanks


    Paul Gibbs
    Keymaster

    @djpaul

    It’s unlikely that the original recipients will reply, as this thread is nearly two years old.

    BuddyPress does not offer its own log-in page. This is your theme, or something else, doing that.

    I suspect also people are mixing up the “log in” page with the user registration form, which are two very different things.


    graphitewp2
    Participant

    @graphitewp2

    Thank you Paul for commenting. I wish I was clearer.

    I was referring to the Log In and Register buttons on the admin bar (which is Buddypress) in the top left.

    Im using this to disable BuddyPress’ registration process and fallback to WordPress. I want to merely change the link of the Log In button so it goes to my custom login page. How do you go about doing it?

    
    <?php
    
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    ?>

    yusareba
    Participant

    @yusareba

    Strangely that function doesn’t seem to change anything for me. When BP is enabled, registration links are still changed to go to /register/ rather than the default :v


    yusareba
    Participant

    @yusareba


    graphitewp2
    Participant

    @graphitewp2

    Alls well that ends well I guess since enough information is not forthcoming 🙂

    When I inspect that login element using a browser, I can only find deprecated functions in buddybar files that then still dont remove/alter that “Login” link for me.

    I thought I had it … its really put away somewhere

    Thanks for contributing!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.