Buddypress register page
-
I’m using Buddypress but will not need the multilanguage feature on it, my site will have the community component only in English, that’s what makes sense.
The site registration process is handled by Buddypress overiding the WordPress default that makes use of /wp-signup.php to register a user.
Buddypress use a blank wp page and applies its own register.php script to perform the registration fully compatible with WP users added with more collected data useful for BP profiles.
With the exception of the community my whole site is multilanguage so far, included the registration process by using the solution pointed in this thread, however I was not able yet to make Buddypress display the registration link at top adminbar for each language registration page.
Currently the link is mysite.com/register/ and I need it changing according each language to mysite.com/es/registro/ or mysite.com/pt/registar/ and so on.
From what I could find the function that outputs the registration link is this one:
/** * Returns the URL to the signup page * * @return string */ function bp_get_signup_page() { if ( bp_has_custom_signup_page() ) { $page = trailingslashit( bp_get_root_domain() . '/' . bp_get_signup_slug() ); } else { $page = bp_get_root_domain() . '/wp-signup.php'; } return apply_filters( 'bp_get_signup_page', $page ); }
Just to clarify, bp_get_signup_slug() returns the slug from the mentioned blank wp registration page, usually register.
I’m sorry Chouby, I know it’s not at your todo list to provide Buddypress support for Polylang, but could you help on this one ? I know there’s a filter to add for such cases but my skills don’t go that far to figure out how to implement this.
- The topic ‘Buddypress register page’ is closed to new replies.