webxmedia

webxmedia supports this item

Supported

Popular questions for this item

I simply want the ability to BAN users and prevent them from logging in. What basic options do I need to set?

The plugin by default allows you to BAN and UnBAN user accounts, and to force users to logout when banned. It also comes pre-configured with the email notification templates. Other options are available from the Plugin’s option settings.

When banning or unbanning users I want to send them a custom email notification.

This feature is enabled by default. To customise the emails simply click on the ‘Email Templates’ tab and then edit the subject titles and email body. There are currently two email templates. The ‘BAN user notification template’, and the ‘UnBAN user notification template’. Both of which have a configurable subject title. If you have enabled the ‘Require unique reason for ban’ option then you will need to include the tag ‘ %reason %’ within the body of the ‘BAN user notification template’. This tag will then be replaced with the text you enter when banning a user.

I want to clearly highlight users who have been banned in the users table.

By default banned users are highlighted in the users table by a red circle in the BANned column. Users who have been banned are also highlighted by a red row. You can disable these display options by editing the plugin options (click the Options tab).

When banning a user, I want to include the reason why they have been banned in their email notification.

To include the reason for banning the user in the notification email, ensure the option ‘Require unique reason for ban’ has been checked. Also make sure you have included the tag ‘ %reason %’ within the body of the ‘BAN user notification template’. This tag will then be replaced with the text you enter when banning a user.

When a user has been banned from the site whilst still logged in, I want them to see a message.

To display a message to logged in users when banned, first uncheck the plugin option ‘If already logged in when banned, force logout’. This will then reveal another option called ‘If already logged in when banned, display message to user’. Make sure this option is checked. A text input will then appear allowing you to set a short message (e.g. You have been banned from the website).

When a user has been banned from the site whilst still logged in, I want to redirect them to the default WP login page

To automatically log a banned user out and redirect them to the default login page you will need to ensure the plugin’s option ‘If already logged in when banned, display message to user’ has been unchecked. You will then see another option called ‘If already logged in when banned, force logout’. Simply check this to enable this feature.

When a user has been banned from the site whilst still logged in, I want to redirect them to a custom url.

To automatically log a banned user out and redirect them to a custom url you will need to ensure the plugin’s option ‘If already logged in when banned, display message to user’ has been unchecked. You will then see another option called ‘If already logged in when banned, force logout’. Simply check this to enable this feature. To then set a custom url instead of redirecting banned users to the login page, click the ‘Set custom logout URL’ and enter a valid url in the text field that appears.

When banning a user I want to change all their posts to a different status (i.e. to hide all their published content).

Often the reason for banning a user from your website is they’ve posted content that breaches the site’s policy. The BAN User plugin allows you to change the user’s posts to a different status (i.e. draft) when banning them. To enable this feature click the ‘Change user’s posts statuses when banning user (i.e. to hide posts from showing on blog)’ checkbox on the options tab. A dropdown list will then appear allowing you to select the preferred status you wish to use.

I only want to BAN a user for a week.

The BAN User plugin allows you to specify how long you want to BAN the user for. The date is set using a datepicker which is available on the users table and appears as a calendar icon when hovering over the username. To enable the datepicker you must first ensure the plugin’s option ‘Allow user to be unbanned automatically when a date is reached.’ has been checked.

I want the system to automatically reinstate users’ login access when their banned period has expired.

Once a banned user’s banned date has elapsed they will automatically be able to log back in to the system. No administrative action is required.

I want to customise the BANned and UnBANed email templates.

From the plugin’s option’s page click on the ‘Email Templates’ tab. You should then see two sections for each corresponding email template. One for the ‘BAN User email notification template’ and another for the ‘UnBAN User email notification template’. Within each section is the subject title and the message body. Important, please make sure you include the tag %reason % within the message body of the ban user template if you’ve enabled the option ‘Require unique reason for ban’.

I want to ban a user how do I do this?

There are two ways (and places!) in which you can ban a user (i.e. disable their account). Either by accessing the user’s Profile page, or using the WordPress admin Users page. To BAN a user from their profile page, simply scroll to the bottom of their profile and tick the Ban User checkbox. To BAN a user from the Users page, navigate to the Users page and then find the corresponding user you wish to BAN. Once found hover your mouse over their username and some text links should appear below their username. To disable their account click the link ‘Ban’. After a brief moment the link should change to ‘Unban’ and depending on the options you’ve set for the plugin the users row should go red and the BANned column should now display a red circle.

I want to unban a user how do I do this?

There are two ways (and places!) in which you can unban a user (i.e. reinstate their account). Either by accessing the user’s Profile page, or using the WordPress admin Users page. To UnBAN a user from their profile page, simply scroll of the bottom of their profile and untick the Ban User checkbox. To UnBAN a user from the Users page, navigate to the Users page and then find the corresponding user you wish to UnBAN. Once found hover your mouse over their username and some text links should appear below their username. To reinstate their account click the link ‘Unban’. After a brief moment the link should change to ‘Ban’ and depending on the options you’ve set for the plugin the users row should return to white and the BANned column should now display a green circle.

Show more

Contact the author

This author provides limited support for this item through this item's comments.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by