Mark User as Spammer

Description

The ability to mark specific users as spammers like on Multisite install. Right now after account have been banned user can’t log in. Even if they currently have active sessions (and admin area currently open) they will be force log out without opportunity to log in again.

If you found any errors in this text (or on other plugin description tabs) please contact me directly via me@korobochkin.com or submit a bug report on Github. You can also help by translating this plugin.

Plugin on Github. Photo on banner created by Bastian Sara.

Screenshots

  • Ban or unban users on Users page. Blocked users marked with red background.
  • If you ban someone he can't log in anymore and WordPress shows up the error notice during login process.

Installation

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘mark user as spammer’
  3. Activate Mark User as Spammer from your Plugins page.
  4. Ban or unban users on yourdomain.com/wp-admin/users.php page.

From WordPress.org

  1. Download Mark User as Spammer.
  2. Upload the ‘mark-user-as-spammer’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
  3. Activate Mark User as Spammer from your Plugins page.
  4. Ban or unban users on yourdomain.com/wp-admin/users.php page.

FAQ

Installation Instructions

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘mark user as spammer’
  3. Activate Mark User as Spammer from your Plugins page.
  4. Ban or unban users on yourdomain.com/wp-admin/users.php page.

From WordPress.org

  1. Download Mark User as Spammer.
  2. Upload the ‘mark-user-as-spammer’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
  3. Activate Mark User as Spammer from your Plugins page.
  4. Ban or unban users on yourdomain.com/wp-admin/users.php page.
Why deleting accounts is not good idea?

This plugin helpfull if you want disable any accounts but not want delete the account. Deleting account is not good idea because you can delete good account. After deleting you can’t restore account but with this plugin you can ban or unban accounts anytime. You can ban or unban users on /wp-admin/users.php page by clicking links bellow username. Be careful, you can ban yourself, administrators or other highlevel users.

Which information plugin stores in DB?

The plugin adds only single meta option for each user (mark_user_as_spammer). On uninstall action plugin completely removes this metas for all users.

How to manually edit account status?

You can also switch account status by manually editing mark_user_as_spammer meta in wp_usermeta table. 1 — spammer. 0 — not spammer.

Contributors & Developers

“Mark User as Spammer” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.0.0

  • Force delete active user sessions immediately after click “ban” link.
  • Completely new plugin architecture.
  • API for any other plugins.

1.0.2

  • Prepare URL before output it. This plugin doesn’t have XSS vulnerability like many others plugins (because we use wp_nonce_url() before output the links) but page may look incorrect if you try to open something like site.com/users.php?"><script>alert('hi')</script>. Script not working (thanks wp_nonce_url()) but markup looks crashed.

1.0.1

  • Translated all comments in code to english.
  • Added plugin icon, banner and screenshots.
  • Fixed WordPress required and tested up versions.
  • Improved readme file.

1.0.0

  • First version of plugin.