Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Projekt-42
    Participant

    @projekt-42

    A hassle-free solution is to use a theme with a Restrict Page / Require A Login page template.


    Projekt-42
    Participant

    @projekt-42

    Problem solved.

    Anleitung:

    Im Ordner /wp-content/plugins/ die Datei bp-custom.php anlegen.

    Die bp-custom.php Datei öffnen und folgendes einfügen:

    
    <?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' );
    
      add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-signup.php'; 
        }
    ?>

    Datei speichern. Fertig!

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar