I’m trying to block users from using the site but I have no success. I tried using plugins, but I could still access the account on my test-user.
What is the easiest way of blocking a user and preventing him from posting listings?
to clarify things: deleting is not an option, I need to keep his messages and listings to review and often send details to the police in case of fraud.
I can hide a user’s listings, but can’t block a user from accessing his account.
I tried setting the vendor status to “Review” or “Draft”, which had no impact. I also tried removing any user roles, no impact either.
Please let me know if you mean blocking some specific user or disable the listing submission for all users? There are a few ways to do this, for example you can simply change the email & password (so it’ll be impossible to restore it) in WordPress/Users section. You can also try using a plugin like this one https://wordpress.org/plugins/user-blocker/
By blocking I mean preventing a user from logging in and disabling all of his listings without deleting anything.
I already tried User Block with no luck, I was still able to log in as usual.
Changing Email and password is not an option as it’s unpractical if I have to un-block a user’s accout.
Johannescapitalss2 1 week, 5 days ago
And how to read other people’s messages to prevent fraud
Either view them in the SQL database or use a plugin like “User Switcher”, so you can use the site like the selected user and read the messages.
HivePress doesn’t really have any low-level user access features (only those related to listing access), if third-party plugins don’t work there may be a workaround – if you set a hp_email_verify_key meta field (with any value) for a user (e.g. via ACF) then this user will not be able to sign in.
You must be logged in to reply to this topic.