There will be an extension pack launching soon.
plugin-sidebar.php
plugin-template.php
register.php
activate.php
Great! Thanks Andy! You’ve done some amazing work with BP.
Hey Andy…I just noticed when I add register.php to my custom theme, the menu-bar’s “Sign Up” link takes the user to domain.com/register, instead of domain.com/wp-signup.php. When I click the “Sign Up” link, it just redirects to the WP-Login screen.
How can I fix this? Are there some “extra” modifications I’ll need to make to register.php and activate.php to get them functioning?
Thanks again for the help
When you use the register.php file – /wp-signup.php is no longer used. You should change any links to /register
Of course if you don’t want this functionality just don’t put register.php in your theme. The only problem with wp-signup.php is that it’s not easy to customize.
That makes sense, but my issue isn’t that my links are wrong…it’s that when I add register.php to my custom theme, the Sign Up link takes me to “http://domain.com/wp-login.php?redirect_to=http://domain.com/register” instead of just “http://domain.com/register .” All my links point to the /register screen, but it just redirects to the standard WP login screen instead of the register page.
Make sure you are starting your customization with the latest trunk brad85. I don’t know what ver of bp’s home theme you are customizing. In the latest trunk there are two functions that control what goes on in the login/signup buttons. The bp home theme header.php file calls <?php bp_login_bar() ?>. In that fn it calls bp_signup_page() which you see below:
function bp_has_custom_signup_page() {
if ( file_exists( WP_CONTENT_DIR . ‘/themes/’ . get_blog_option( 1, ‘template’) . ‘/register.php’) )
return true;
return false;
}
function bp_signup_page( $echo = true ) {
global $bp;
if ( bp_has_custom_signup_page() ) {
if ( $echo )
echo $bp->root_domain . ‘/’ . REGISTER_SLUG;
else
return $bp->root_domain . ‘/’ . REGISTER_SLUG;
} else {
if ( $echo )
echo $bp->root_domain . ‘/wp-signup.php’;
else
return $bp->root_domain . ‘/wp-signup.php’;
}
}
Unless you don’t have the register.php file in /themes/<your theme>, or you’ve somehow altered the header calling sequence so this code doesn’t run, then it should work fine. The signup button should not have anything to do with wp-login.php
Sorr but can you tell me how to do it exactly because i m a super noob and don t know too much PHP also.
Thank you
I can tell you exactly what this is…
You are missing the information from the functions.php file in the latest trunk of buddypress-home. You are most likely using a functions.php from your own custom theme, which creates the redirect above.
Without that data the registration and activation won’t work.
Sorry I was searching and found this item to have to same issue I am facing.
my sign up page is not showing. I would like to find out from Andy if I would be able to route to register.php. does it mean the user would be sign up for wpmu too.
so how to configure for my page? thanks