Restrict Registration for WordPress

"Restrict Registration" is a plugin for WordPress that allows you to control who is registering on your blog. This plugin uses simple blacklists and whitelists to define who can register for your blog, and who is restricted. Use simple literal matching, flexible asterisk wildcard matching, or powerful regular expression matching: it's your choice! The options page is clear and easy to use. Set your lists, and you're done!

This plugin was inspired by WP-Deadbolt, but has been completely rewritten and redesigned, and several new features have been added.

Screenshots

  • Admin page
  • Registration denied

Download

Installation

  1. Download the plugin file above and put it in the wp-content/plugins folder of your WordPress installation.
  2. Log into Wordpress, go to the Plugins section, and activate the plugin.
  3. Go to the Users section, click on Restrict Registration, set your restrictions, and click Update.

Changelog

2.3, released 2009-09-25
  • Updated PCRE (Perl Compatible Regular Expressions) documentation link
2.2, released 2009-07-31
  • Fixed bug with whitelist entries being added to blacklist instead
2.1, released 2009-02-20
  • Sanitized inputs with $wpdb->prepare
  • Changed name of matching type "Literal" to "Exact (Literal)"
2.0, released 2009-02-14
  • Rewrote most of plugin
  • Added username restriction capability
  • Added literal matching and wildcard matching capabilities
  • Redesigned admin UI
1.0, released 2008-09-01
  • Initial release
  • Restriction based on email only: username planned
  • Regular expression matching

License

Restrict Registration is dual-licensed under the GPL v3 and the MIT licenses. Basically, this means you can do what you want with the code, as long as you credit my work and release your work under a similarly open license.