How do I manually activate a user’s account?
inzerat 1 week, 5 days ago
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 youihor 1 week, 4 days ago 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.
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 1 week, 3 days ago 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.ihor 1 week, 2 days ago developer
Thanks – this is planned for future updates, I’ll add some option for switching the user status manually.
You must be logged in to reply to this topic.