Home Support General HivePress How do I manually activate a user’s account?

How do I manually activate a user’s account?

  • Author
    Posts
  • inzerat

    Sometimes it happens that the user has lost the email with the activation link and he wants me to activate it for him. How do I manually activate a user’s account? By changing the role to Contributor? I don’t think it works …

    By the way … What is the logic of this process? What and where is it written to the DB?

    Thank you

    ihor developer

    There’s no such option yet, but you can activate this user manually, for example you can install this plugin https://wordpress.org/plugins/advanced-custom-fields/ and add a new text field with “hp_email_verify_key” name to user profiles (it adds back-end fields only), then you can manually clear it for this user – if there’s no activation key HivePress recognizes the account as activated. Then you can disable or remove the ACF plugin.

    inzerat

    I’m looking into the DB and only two users have an activation key there … but one of them has already added two listings, so I think it’s active, but still has an activation key written in the db. Its some error?

    Next question is: I have Contributor (35) | Subscriber (16)

    Contributors are activated? And Subscriber are not? But why these subscribers don’t have an activation key in the DB?

    ihor developer

    The user role is not related to activation (the Contributor role is set automatically if user becomes a vendor). Please make sure that you check the hp_email_verify_key meta key, this is the only key used for activation.

    inzerat

    What can do on the https://www.domain.com/wp-admin/users.php
    active / inactive status column
    and
    button or link to forward the activation link?

    ihor developer

    Thanks – this is planned for future updates, I’ll add some option for switching the user status manually.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.