Skip to:
Content
Pages
Categories
Search
Top
Bottom

wp-signup vs register

  • Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Hi

    When I click on Sign up using buddypress-home theme, it takes me to mysite.com/register, but when I switch the theme to something else, it takes me to mysite.com/wp-signup.php.

    How do I make others theme use mysite.com/register??

    Thanks

Viewing 25 replies - 1 through 25 (of 33 total)
  • Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Copy register.php and activate.php from buddypress-home into your own theme. Make any HTML mods you need.

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    I could not find signup.php in buddypress-home. Where else could it be?

    Or where can I download it?

    Thanks

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    it is register.php, not signup.php :)

    Avatar of Tracedef
    tracedef
    Participant

    @tracedef

    Yep, I was confused about this for a little while too… if BP can’t find register.php in your home theme it defaults to wp-signup.php….. should have known to make sure all BP files had an equivalent in the theme I was building…

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Thanks for the info. However, after copy the register.php into my theme, it takes me to the login page.

    In the adress bar it shows http://mysite.com/wp-login.php?redirect_to=http://mysite.com/register

    Thanks for all your help

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Any pointers any body?

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    I have the same problem

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    I think it may be something with the .htaccess files

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Kunkel

    I am not so sure about .htacess.

    But apparently this is an issue without solution.

    I saw many post on this forums around this issue, but none of them come to the resolution. May be there is a resolution but they did not come back and post the solution on this forum.

    Will see if someone can provide some answer.

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    could you post a link? So we can debug your problem :)

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Nicolagreco

    here is the link http://lamgiau.info

    If you look click on adminbar, you will see it.

    Thanks for you help.

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    or you can us http://www.fanbud.com

    Anytime I want to register I get sent to this page

    http://fanbud.com/wp-login.php?redirect_to=http://fanbud.com/register

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    funny thing is, I didnt have this problem the first time I installed buddypess

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    ah ok i understand your problem,

    you’ve made new themes (member/home) or not updated, copy the bp hooks and function contained in the current svn in the functions.php of the member theme & home one to your functions.phps

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    Hmm tried this and no success

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    could you pastebin your home and member functions.php?

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    here is the functions.php in the members

    <?php

    if ( function_exists(‘register_sidebar’) )

    register_sidebar(array(

    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,

    ‘after_widget’ => ”,

    ‘before_title’ => ‘<h2 class=”widgettitle”>’,

    ‘after_title’ => ‘</h2>’,

    ));

    function bp_get_options_class() {

    global $bp, $is_single_group;

    if ( !bp_is_home() && $bp->current_component == $bp->profile->slug || $bp->current_component == $bp->friends->slug || $bp->current_component == $bp->blogs->slug ) {

    echo ‘ class=”arrow”‘;

    }

    if ( ( $bp->current_component == $bp->groups->slug && $is_single_group ) || ( $bp->current_component == $bp->groups->slug && !bp_is_home() ) )

    echo ‘ class=”arrow”‘;

    }

    function bp_has_icons() {

    global $bp;

    if ( ( !bp_is_home() ) )

    echo ‘ class=”icons”‘;

    }

    /* Hook for custom theme functions via plugins */

    do_action( ‘bp_member_theme_functions’ );

    ?>

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    and in the home folder here is functions.php

    <?php

    /* Register the widget columns */

    register_sidebars( 1,

    array(

    ‘name’ => ‘left-column’,

    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,

    ‘after_widget’ => ‘</div>’,

    ‘before_title’ => ‘<h2 class=”widgettitle”>’,

    ‘after_title’ => ‘</h2>’

    )

    );

    register_sidebars( 1,

    array(

    ‘name’ => ‘center-column’,

    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,

    ‘after_widget’ => ‘</div>’,

    ‘before_title’ => ‘<h2 class=”widgettitle”>’,

    ‘after_title’ => ‘</h2>’

    )

    );

    register_sidebars( 1,

    array(

    ‘name’ => ‘right-column’,

    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,

    ‘after_widget’ => ‘</div>’,

    ‘before_title’ => ‘<h2 class=”widgettitle”>’,

    ‘after_title’ => ‘</h2>’

    )

    );

    register_sidebars( 1,

    array(

    ‘name’ => ‘blog-sidebar’,

    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,

    ‘after_widget’ => ‘</div>’,

    ‘before_title’ => ‘<h2 class=”widgettitle”>’,

    ‘after_title’ => ‘</h2>’

    )

    );

    /* Catch specific URLs */

    function bp_show_home_blog() {

    global $bp, $query_string;

    if ( $bp->current_component == HOME_BLOG_SLUG ) {

    $pos = strpos( $query_string, ‘pagename=’ . HOME_BLOG_SLUG );

    if ( $pos !== false )

    $query_string = preg_replace( ‘/pagename=’ . HOME_BLOG_SLUG . ‘/’, ”, $query_string );

    query_posts($query_string);

    $single_check = strpos( $query_string, ‘&name=’ );

    if ( $single_check === false )

    bp_core_load_template( ‘index’, true );

    else

    bp_core_load_template( ‘single’, true );

    }

    }

    add_action( ‘wp’, ‘bp_show_home_blog’, 2 );

    function bp_show_register_page() {

    global $bp, $current_blog;

    if ( $bp->current_component == REGISTER_SLUG && $bp->current_action == ” ) {

    bp_core_signup_set_headers();

    bp_core_load_template( ‘register’, true );

    }

    }

    add_action( ‘wp’, ‘bp_show_register_page’, 2 );

    function bp_show_activation_page() {

    global $bp, $current_blog;

    if ( $bp->current_component == ACTIVATION_SLUG && $bp->current_action == ” ) {

    bp_core_activation_set_headers();

    bp_core_load_template( ‘activate’, true );

    }

    }

    add_action( ‘wp’, ‘bp_show_activation_page’, 2 );

    /* Hook for custom theme functions via plugins */

    do_action( ‘bp_home_theme_functions’ );

    ?>

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    Maybe I should try doing a fresh reinstall?

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    mmm it seems to be ok..

    first try to update via svn, if it won’t work, do a fresh reinstall..

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    I am going to go ahead with a fresh install

    Avatar of Tamphet
    tamphet
    Participant

    @tamphet

    Fresh install could be a fix. But would it be nice to understand the issue.

    I saw many people using custom theme get the same issue, it posted all over the forums. I checked all sites currently running BP. The result is if it does not use BP-theme, the signup page points to wp-signup.php instead of register.

    Could this be a BP’s bug?? or Because the theme used does not design for WPMU?

    Curriousity…..

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    I had modified the original BP theme, I am going to go slower this time and watch what I can do to see if I can nail down the problem

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    i continue thinking that the problem is your functions.php

    are you using rc1 or svn?

    Avatar of Kunkel
    Kunkel
    Participant

    @kunkel

    rc1

Viewing 25 replies - 1 through 25 (of 33 total)

You must be logged in to reply to this topic.