Suggestion: Login/Registration Forms

Posted in: Newspaper
Post count: 55

Hi Lucian and team,

I would like to give you couple feedbacks about the Login/Registration forms from the point of view of the user. It looks beautiful, but it is missing couple options to be the best login form I have seen for WP.

+ Login
– missing a “Keep Me Connected” checkbox
– would be nice to have fields in theme Translation menu, for the “Remember Password” notification email

+ Register
– validate username only with alphanumerics, but excluding -, _, spaces and at least 4 chars, see below
– would be nice to have fields in theme Translation menu, for the “Welcome” notification email
– create a option to insert a link, target new window, in case the user wants to read the Terms of Use, for example

+ Logout
– settings to decide where the user should be redirected after logout

I tried the validate_username and seems your theme override the function. See below:

add_filter( ‘validate_username’, ‘username_restrictor’ , 10, 2 );

function username_restrictor( $valid, $username ) {
if ( ! $valid || ( is_user_logged_in() && current_user_can(
‘create_users’ ) ) )
return $valid;

$username = strtolower( $username );

if ((!ctype_alnum($username)) || (strlen($username) < 4)) {
$valid = false;
} return $valid;
}

Thanks!

Post count: 3343

Hi,
Thank you for your feedback!, i will add this on our todo list for future updates.

Great share!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.