Close We have just updated BuddyDev for better performance. If you note a glitch, please let us know by using the feedback button on the left.

BuddyDev

Introducing WordPress Restrict Email Domains Plugin

Jotted by Brajesh Singh in BuddyPress, WordPress, Wordpress Multisite on February 11, 2012
11th Feb

The WordPress Restrict Email domains plugin allows you to limit/restrict user registration on your WordPress/ BuddyPress site by email domains. You can limit the registration by specific emails or domains or just the domain extensions(like .edu/.com)

This plugin is best suited for intranets, educational institutes or the cases when you do not want to allow registration from everyone but a subset of users based on their email address. If you want to limit registrations on your WordPress, BuddyPress website to the emails belonging to only specified domains, this plugin is for you. It goes one step further and allows you to allow users by emails, or domains or even the domain extensions. So, if you are building an educational website and only want to allow the users from .edu domain, just put .edu in the settings. Same goes with the domain. If you are building a corporate network and only want to allow users from your own network, put your domain name in the settings.

It’s easy and efficient. The use of regular expression gives it  a lot of flexibility.

Features:-

  • Works with
    • WordPress
    • WordPress Multisite
    • BuddyPress
  • Allows you to limit new user registrations by
    • Domain names(e.g example.com)
    • Extensions (e.g. .edu, will only allow emails having .edu domain)
    • Email addresses (e.g admin@you-website.com, friends@some-other-website.com)
  • You can configure the rules to allow users in the plugin admin panel(domain/email/extensions)
  • It is very efficient

Screenshots

with BuddyPress

With WordPress Multisite

With WordPress

Admin Options:-

Allows you to update the list of allowed domains and the erro message as shown below

After activating the plugin, you can access it from Dashboard->Settings->Restrict Email Domains.

Download & Installation http://buddydev.com/plugins/wordpress-restrict-email-domains/

Hope it helps a few of you. Looking forward to hear your suggestions for further improvement.

Related posts:

  1. Introducing WordPress Ban Registration Domain Plugin
  2. Introducing Join Blog Widget for WordPress Multisite
  3. Introducing BuddyPress Message Privacy Plugin
  4. Logout redirect plugin for wordpress Mu /buddypress
  5. Introducing the first stable version of Global Forums Plugin

5 Responses to Introducing WordPress Restrict Email Domains Plugin

  • Hello Brajesh.

    There is a typo in the Restrict Email Domains Plugin backend GUI: extnesions

  • Hi Brajesh,

    Thank you for making this plugin.

    I am also running your version of BP MultiNetwork which is great.

    For Restrict Email Domain in my WP Multisite/BP MultiNetwork configuration I am activating the plugin at the site level. However, when I change the domains on site A the setting are changed on site B.

    Hopefully there is a way to make the setting independent by site.

    Thanks,

    ~eric

  • This is great. Is there something like this for discussion settings? i.e. I want to restrict the posting of any comments unless they have a specific email domain. This would be ideal for our college website.

    • Hi Matthew,
      Thank you for the comment.
      That gives me a new idea to create a plugin for the purpose :)

      Let me see if I can get something working in a day or two :)

      Regards
      Brajesh

Leave a Reply

Your email address will not be published. All the fields marked as * are required.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>