• Resolved mirettep

    (@mirettep)


    Hello, I have a big issue.

    When I try to add admin user to the site, if wp-members is activated, I cannot reset or send their passwords. I have a big site that needs different admin users, and they need to have possibility to change their password, if the password are forgotten for some reason.

    Admins also need to modereta all the registrations.

    Also having issue with translating this text: “Click to validate your account:”

    And this:
    Thank you for validating your account.Your account is now pending approval

    I need to translate those in finnish, because that click to validate is now misleading for the user, because the user needs to validate their e-mails.

    Where / how can I translate those? I tried even translate them with loco translate, but no luck :/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    if wp-members is activated, I cannot reset or send their passwords

    The plugin doesn’t block this process, so I’m not 100% sure of the issue here. However, a user can reset their own password, or you can set a password through the admin user profile.

    they need to have possibility to change their password, if the password are forgotten for some reason.

    Doesn’t sound like you’ve set up a user profile for managing user registration info – that would include the password reset process.
    https://rocketgeek.com/plugins/wp-members/docs/user-profile/

    Admins also need to modereta all the registrations.

    That’s fine – any user with “edit_users” capability (which the WP default administrator role has) can edit users (and thus approve/deactivate users).

    Keep in mind that if moderated registration is enable, ALL accounts must be activated – that means admins, too.

    I need to translate those in finnish, because that click to validate is now misleading for the user, because the user needs to validate their e-mails.

    WP-Members translation is handled in polyglots. The strings you mentioned are newer strings, so they may not have been translated by anyone yet, in which case you’d have to translate them in the .po file and recompile using something like Poedit to give you a compiled .mo file. See: https://rocketgeek.com/plugins/wp-members/docs/translation-and-localization/

    Thread Starter mirettep

    (@mirettep)

    The plugin doesn’t block this process, so I’m not 100% sure of the issue here. However, a user can reset their own password, or you can set a password through the admin user profile.

    -> This, unfortunately, doesn’t work. Even if I activate the admin users, they still don’t get into the admin. And if the user resets their own password (and creates a new one), the login will give an error, that password is not right.

    My process, let me know if you see something wrong:

    1. I will create a new user / give him admin rights, and click “Activate”.

    2. The new user will get this message via e-mail:

    Username: TestUser
    Add a new password here:
    https://loremipsum.fi/wp-login.php?action=rp&key=xxxxxxx&login=TestUser

    3. After that, the user clicks that link ^, generates a new password – tries to log in, and the login will give an error: “ERROR: User has not confirmed their account.”

    4. I will go to admin, and re-generate a new pass -> try to log in. Same error.

    —–
    PS. Found a solution for the missing translation, thanks.

    Thread Starter mirettep

    (@mirettep)

    FYI, I tested this process with different style:

    1. I asked admin-to-be-user to register via register form (and create their own password)

    [AND within this part of the process, I as a “moderator”
    got 2 “New user” -emails to activate the new user. The first mail comes automatically when the user registers. The second one (same as the first one), comes after the user has activated their e-mail.
    So is this a bug? Why moderator will get 2 same emails? ]

    But yeah, continuing:

    2. I as a moderator, activate the user
    3. After this, the user gets an e-mail with credentials (but without a password, because the password is now the one, she/he has generated before)
    4. User logins, and if she or he doesn’t remember the pass that she/he has created, he can generate a new one.
    5. And now, if I want to make this user an admin, I can do that via the admin panel.

    And now because the user has registered via the wp-members register form, she/he can also use the “forgot password” -form.

    So this a bit odd process, because I would like to add “admins” to the site via wp-admin / but I think this is the only way to get everything go smoothly.
    Because the first process that I wrote, is not working.

    Plugin Author Chad Butler

    (@cbutlerjr)

    3. After that, the user clicks that link ^, generates a new password – tries to log in, and the login will give an error: “ERROR: User has not confirmed their account.”

    4. I will go to admin, and re-generate a new pass -> try to log in. Same error.

    Based on the error message, you also have the confirmation link setting enabled. So all users need to verify their account email.

    What you need to do instead of what you have in #4 is to go to the Users > All Users panel, locate the user, and click “confirm” in the hoverlink group below the user.

    This is a newer feature (which is why it is set as a “new feature setting”) so there are some elements that are still being improved as the plugin is moved forward. In this case, an email for the user to click the confirmation link does not go out when the user is created via Users > Add New (which is the process you are doing here).

    Thread Starter mirettep

    (@mirettep)

    Hah, halleluja, it works! Thank you so much! <3

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin’s cannot log in / wrong password’ is closed to new replies.