• Resolved gbordormor22

    (@gbordormor22)


    Hello Sir,
    This is how I want my Login Page to look— https://prnt.sc/QvxQmE9PHKD0

    I need to show “Forgot Password” on the Login Form, and have it aligned to the Right side.

    Please which Code Snippet can I use to do that?

    2.) Please, I need Username to be Changed to “Matriculation Number”– because it is an Alumni website, and we want users to be registered with their Matriculation Number, instead of Username.

    How can I replace Username with a Field Label called “Matriculation Number” ?

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Madalina Ruzsa

    (@madalinaruzsa)

    Hi @gbordormor22,

    1. To display the login button in the center of the form you need to use the following CSS code:

    #wppb-loginform .login-submit {
    text-align: center;
    }

    And to display the Forgot password link on the right side you need to use the following CSS code:

    .login-register-lost-password {
    text-align: right;
    }

    You can add the CSS codes in WordPress Dashboard->Apperance->Customize->Additional CSS.

    You can add a “Lost your password?” link below the Login form using the lostpassword_url arguments:

    [wppb-login lostpassword_url=”www.yourdomain.com/recover-password”]

    2. You have two options:

    2.1 You can change the field label from “Username” to “Matriculation Number”.

    2.2 Or you can create a new field “Matriculation Number”. And if you choose Email in the “Allow Users to Log in With” option, the Username field will no longer appear on the register/login form.

    Please note: The Username field will be hidden in the front-end forms (but visible in the back-end) and Usernames will be automatically generated based on the Emails.

    Thread Starter gbordormor22

    (@gbordormor22)

    You can add a “Lost your password?” link below the Login form using the lostpassword_url arguments:

    [wppb-login lostpassword_url=”www.yourdomain.com/recover-password”]

    1.) I don’t want to add the “Forgot Password\” link under or below the Form. I want it under the Password Field, and aligned to the right.

    You see, I’m using a Child Theme. So I don’t mind going to the PHP Code files to add it from there.

    Can you Please send me how to add it to the main PHP file that controls this Login and Registration Modules?

    2. You have two options:

    2.1 You can change the field label from “Username” to “Matriculation Number”.

    2.2 Or you can create a new field “Matriculation Number”. And if you choose Email in the “Allow Users to Log in With” option, the Username field will no longer appear on the register/login form.

    Please note: The Username field will be hidden in the front-end forms (but visible in the back-end) and Usernames will be automatically generated based on the Emails.

    I have done all these. See it here– https://prnt.sc/kdheWrjNjQ2a

    But on the Login Form, it still shows Username, instead of Matriculation Number. See it here– https://prnt.sc/lsKHMaMfZUj7

    How else can I do this?

    Regards.

    Plugin Author Cristian Antohe

    (@sareiodata)

    Hello,

    We do not have this feature or plans in the future to allow login with a different fields other then username&password.

    This is open source software, so feel free to make any modifications to the plugin yourself.

    Best of luck with your project!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Replace Username with Matriculation Number, add Forgot Password to Login Form’ is closed to new replies.