Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – is there a way to ban a user from logging in?
Tagged: account state
- This topic has 4 replies, 4 voices, and was last updated 9 years, 2 months ago by
admin.
-
AuthorPosts
-
February 24, 2016 at 6:10 pm #12880
xberg
ParticipantHi,
I am looking for a way to ban a user. I tried most settings: expire, unsubscribed, etc… but they can always log in. I want them to NOT be able to log in.
Yes: I could completely delete their account, but that would break a lot of content they created. So: keep their content, but not allow them to log in.
Any thoughts?
February 25, 2016 at 12:17 am #72617admin
KeymasterAn “Inactive” or “Expired” user will only be able to log into the site if you have the following option enabled:
Allow Expired Account login
Remember, that the users with “Inactive” or “Expired” status can’t see any protected content. So you shouldn’t really be worried about that.
You can always move any content from that user to another user account (WordPress allows you to do it when you try to delete a WP User record). Then delete the account.
September 13, 2016 at 11:43 am #72618karencheah
MemberHi, I’ve been trying to do the same. I also have the ‘Allow Expired Account Login’ setting checked because I would like premium members who have cancelled their subscriptions previously, to be able to upgrade again from the free membership that they have been downgraded to.
However, there may be instances we will need to deactivate the free members. I’ve tried setting it to inactive or expired, but they can still login and access content. I think the reason they can access content is because their account state is changed back to ‘active’ when they log in. What am I not doing right? Please help, thanks.
September 13, 2016 at 12:08 pm #72619wzp
ModeratorI think the reason they can access content is because their account state is changed back to ‘active’ when they log in.
Is that a “guess,” or have you actually confirmed that?
Would this be a more appropriate solution for you?
https://www.tipsandtricks-hq.com/wordpress-membership/auto-downgrade-membership-account-addon-941
September 14, 2016 at 12:35 am #72620admin
KeymasterIf you want to just block a user then you should be able to use the following interface of the plugin to block the user:
WP eMember -> Members -> Manage Blacklist
-
AuthorPosts
- You must be logged in to reply to this topic.