wp-signup vs register
-
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
-
Copy register.php and activate.php from buddypress-home into your own theme. Make any HTML mods you need.
I could not find signup.php in buddypress-home. Where else could it be?
Or where can I download it?
Thanks
it is register.php, not signup.php
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…
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
Any pointers any body?
I have the same problem
I think it may be something with the .htaccess files
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.
could you post a link? So we can debug your problem
Nicolagreco
here is the link http://lamgiau.info
If you look click on adminbar, you will see it.
Thanks for you help.
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
funny thing is, I didnt have this problem the first time I installed buddypess
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
Hmm tried this and no success
could you pastebin your home and member functions.php?
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’ );
?>
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’ );
?>
Maybe I should try doing a fresh reinstall?
mmm it seems to be ok..
first try to update via svn, if it won’t work, do a fresh reinstall..
I am going to go ahead with a fresh install
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…..
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
i continue thinking that the problem is your functions.php
are you using rc1 or svn?
rc1
- The topic ‘wp-signup vs register’ is closed to new replies.