Skip to:
Content
Pages
Categories
Search
Top
Bottom

No need for Members, Register, or Activate?


  • joshwinkles
    Participant

    @joshwinkles

    If I have a membership plugin controlling registration, I don’t need a membership directory, and I don’t THINK I need the activation page, can I just create those pages to satisfy BuddyPress and then just make them private?

    People only need to become a user after they have become a member so no one will be signing up just for a Buddypress profile. I wasn’t sure exactly what was involved in Activation page, if that was mandatory before someone could use their profile.

Viewing 1 replies (of 1 total)

  • Henry Wright
    Moderator

    @henrywright

    …can I just create those pages to satisfy BuddyPress and then just make them private?

    You can. In fact, if you’re sure you’ll never need them you can perform a 301 permanent redirect to ensure they never show. For example:

    function redirect_pages() {
    	if ( bp_is_register_page() || bp_is_activation_page() || bp_is_members_component() ) {
    		wp_redirect( home_url(), 301 );
    		exit();
    	}
    }
    add_action( 'template_redirect', 'redirect_pages' );

    If for some reason you find you do in fact need the activation page, then remove || bp_is_activation_page() from the above code.

Viewing 1 replies (of 1 total)
  • The topic ‘No need for Members, Register, or Activate?’ is closed to new replies.
Skip to toolbar