The Joomla! Extensions Directory ™


DomainRestriction PluginLanguage

Need to restrict registration to one or more specific email domains or specific email addresses?

Using DomainRestriction is simple. Enter one or more domains into the plugin "Domain Restriction" parameter and you're done. Anyone attempting to register an email address that isn't on the approved domain list is immediately denied.

Need more granularity? No problem! Additional configuration allows an administrator to allow specific email addresses in addition to or instead of the domain restrictions! If you want to use it in the opposite manner - you can allow all and deny specific domains and addresses. On special request, I've added the ability to allow/disallow on specific TLDs as well.

Give it a try using the demo link above. You'll never guess the valid domains ;)

Admins can edit the language file to change the failure message. I chose to make the default failure message vague.

For the administrator who wants to automate group assignment based on domain, a new set of options has been added to allow group assignment on a per-domain or per address basis. Additional configuration can prevent modification for selected groups or individual addresses.

Update 1.4 - updated to allow configuration of denied domains and addresses - provided facility for automatic group assignment based on domain or address
Update 1.5 - Joomla 3.0 compatibility and a new storage method to address some hosts that can't seem to utilize more than a few domains in any list
Update 1.6 - Added ability to allow/disallow on TLD
Update 1.7 - added bulk import methods

4/26/2012 - Joomla 1.5/1.6/1.7 availability and support withdrawn.

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the "Website" link to make a contribution.

Report Extension

 

 

2013-04-11
Reviews: 2
This extension works well and does the job. I was looking for a tool to block those public email domain signups and this does the job well. No more spam and bot signups. Many thanks.

Needed a couple of language strings added but apart from that excellent plugin.
2012-07-16
Reviews: 1
Thanks for this plugin, I needed it the other way around, since I get a lot of SPAM registrations from 3-4 domains, if you change Line 42 from false to true and Line 44 from true to false, you'll allow ALL domains EXCEPT for the ones you specified.
You may of course adjust the tooltips, but that's not really important.

Thanks again,

cheers
Owner's reply

You reduced my extension rating because you wanted to use it in exactly the opposite way that it was designed to be used?

What you wanted is already an option in the new version to be released in a few days.

2012-03-16
Reviews: 2
This was exactly what I was looking for. I was concerned that it might not work with CB (Community Builder) but it worked just great in my testing.

One possible addition to consider in the future would be regular expression matching for the domain names and usernames. This could be an advanced feature so that it doesn't scare off users who don't know regular expressions.

Even without this suggestion, this plugin is wonderful.
2012-02-09
Reviews: 3
This component was exactly what I needed and is really quite simple to use.
Good work. Thanks!
2011-12-30
Reviews: 3
Works like a charm! Searched for hours and this simple pluging did it!

Thanks mate!
2011-10-08
Reviews: 2
Thanx for an amazing plugin. Was looking for this and couldn't be happier to get it for free.

i'm doing a small project for my school and don't have have the finance to buy one. btw, i'm still developing the website and was working in joomla 1.7 and so will have to rollback to 1.6 version. any plans to support joomla 1.7?

Thanx for a great app.
Owner's reply

The Joomla 1.6 version is also compatible with Joomla 1.7.

It's funny, I wrote this plugin originally for a use on a school district website!

2011-05-17
Reviews: 2
This is a very useful plugin. My site only has to except one email domain.

The only problem I have is that I use a Dutch translation.
This results in an Error after registration. I hope I can find a solution.
Owner's reply

Thanks for reporting this. The newest version (currently 1.1) addresses the language issue.