Methods to Block Users from Logging In, Selecting or Changing Membership

If you come across any “problem” members in your business, these methods will allow you to limit or completely disable their access on your site. We’ll also cover how to lock a member’s level indefinitely or for a specific required term.

Methods covered in this post include: Disabling User Login | One-Time Use Memberships/Trials | NEW Lock Membership Level Add On


Disabling User Login

These methods are based on the locking the user’s existing membership as tied to their account email address. It won’t prevent a problem customer from creating a new account with a different email address.

Disable Users by Jared Atchison

This plugin allows you to mark a user’s account as “disabled”. To disable a user, navigate to their profile under Users > Edit Profile. There you will see a setting labeled “Disable User Account”.

When the member attempts to login, they will see a notice that reads “Account Disabled”. Simple!

disable-users-login-message

User Blocker by Solwin Infotech

Similar to Disable Users, this plugin allows you to block users with a variety of settings, including time frame. You can view a list of all blocked users, as well as write custom messages to your blocked users. If you need more advanced (complicated) options, this plugin may be the correct fit. I found the interface a bit difficult to navigate and prefer how Disable Users allows the setting directly in the “Edit Profile” page.

To block a user, navigate to the User Block admin area. Select the type of block you would like (by time, date or permanent), then locate the user account(s) you wish to block.

When the member attempts to login, they will see the default notice or your custom message as entered in the dashboard.

user-blocker-login-message

One-Time Use Memberships/Trials

We covered how to limit a membership level to “one-time use” only in a previous post. Note that this won’t prevent the same customer from creating a “new account” with a different email address.

When a member attempts to check out for the same “one-time” use level, they will see your custom message or the default message:

pmpro-one-time-trial-message

View the Tutorial

Lock Membership Level Add On

There are a few cases where you may want to restrict a member from changing their level. One method we help members with via the forums is to not allow a “paying” member to check out for a free level.

Our Lock Membership Level Add On has the capability to lock a user’s membership level or lock all members of a level for a specified term (for required installments).

Members who have a locked level will be redirected to a new page that displays a custom notice or the default message “An administrator has locked changes to your membership account”.

View the Lock Membership Level Add On

Limit Post Views for Non-Members a la New York Times

Inspired by sites like The New York Times, which limits visitors to 5-10 monthly article views before redirecting to a paywall. The plugin sets a cookie for each visitor to track their views per month. You can set the number of visits and once that limit is reached, the visitor is directed to your Membership Levels page and must sign up to view additional posts.

View or Download the Add On


Great for SEO

This add on is also a great workaround to allow search engines “in” to index your content.

If you set post views to 1, search bots can access posts and index them. We’re working on other unique code to allow search bots to scan your full site for SEO, but until that time this is the interim solution.