Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Users not recieving emails. Very difficult to register. Is the registration process frightening away

have them check their spam folder (and proper host config for sending email – maybe the host has trouble with users sending out spam)

buddypress rules for usernames

`
if ( !validate_username( $user_name ) || in_array( $user_name, (array)$illegal_names ) || $user_name != $maybe[0] )
$errors->add( ‘user_name’, __( ‘Only lowercase letters and numbers allowed’, ‘buddypress’ ) );

if( strlen( $user_name ) < 4 )
$errors->add( ‘user_name’, __( ‘Username must be at least 4 characters’, ‘buddypress’ ) );

if ( strpos( ‘ ‘ . $user_name, ‘_’ ) != false )
$errors->add( ‘user_name’, __( ‘Sorry, usernames may not contain the character “_”!’, ‘buddypress’ ) );

/* Is the user_name all numeric? */
$match = array();
preg_match( ‘/[0-9]*/’, $user_name, $match );

if ( $match[0] == $user_name )
$errors->add( ‘user_name’, __( ‘Sorry, usernames must have letters too!’, ‘buddypress’ ) );
`

Skip to toolbar