Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I keep the default WP user registration screen?

Viewing 4 replies - 1 through 4 (of 4 total)
  • buddypress requires certain steps (such as activation, avatars, profile, xprofile, activity) in the signup process

    Profile photo of Joe
    Joe
    Participant

    @themeanwhile

    so there is no way to escape this? I ask because my site is not based around a user community, that is just one feature. Therefore, I don’t want every registration to be based around buddypress.

    One thing that might help matters –
    I have the buddypress part of my site set up on it’s own wordpress install (multisite 3.0). Maybe I can make it so the buddypress registration isn’t applied to the entire network, but just the buddypress site.

    I already tried adding the following line to my wp-config:
    define( ‘BP_ROOT_BLOG’, 2 );

    However, it hasn’t seemed to make a difference.

    Anyone?
    Thanks again.

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Actually it is possible to bypass BP registration using the wp_insert_user() function.
    It *should* be possible by overriding the /registration/register.php template file in your child theme. But all the good stuff like activating an account would be gone. However, you say you want to use WP’s registration system? Would require a BP core hack I believe.

    Changing the BP_ROOT_BLOG wouldn’t do a thing since BP is activated network-wide.

    Profile photo of Joe
    Joe
    Participant

    @themeanwhile

    I think I may have found a solution. I edited wp-login on line 437:

    if ( is_multisite() ) {
    // Multisite uses wp-signup.php
    wp_redirect( apply_filters( ‘wp_signup_location’, get_bloginfo(‘wpurl’) . ‘/wp-signup.php’ ) );
    exit;

    I just commented out those lines so that there is no redirect, and it seems to be working. My one concern is that I am not using wp-signup, like WP 3.0 Multisite registration is intended to do. Will there be any issues down the road with users being improperly registered or anything like that? What is the real difference between “wp-signup.php” and “wp-login.php?action=register” anyway?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I keep the default WP user registration screen?’ is closed to new replies.
Skip to toolbar