@vecturn
6 years, 2 months ago
@prashantvatsh that doesn’t answer my question, I want to know how to still use it as a child page?
7 years, 3 months ago
Why does no one know how to fix this???
If I don’t get a response I’m just giving up on Buddypress and moving over to the alternative Peepso
Really could use some help because no one can signup to my site.
Nobody knows?
Here’s my solution, bit easier:
function blockode_custom_username_validate( $result ) { $error_name = $result[ 'errors' ]->get_error_message( 'user_name' ); if ( ! empty ( $error_name ) && !preg_match( '/[^_a-zA-Z0-9]/', $result['user_name'] ) ) { unset ( $result[ 'errors' ]->errors[ 'user_name' ] ); return $result; } else { return $result; } } add_filter( 'wpmu_validate_user_signup', 'blockode_custom_username_validate' );
That doesn’t help me at all, it only forces specific characters inside the username it doesn’t actually allow the option of them.