Using DomainRestriction is simple. Enter one or more domains into the plugin configs and you're done. Anyone attempting to register an email address that isn't on the approved domain list is immediately denied or vice versa - inclusive or exclusive - it's your choice.
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 or TLD, a new set of options has been added to allow group assignment on a per-domain or per TLD basis. Additional configuration can prevent modification for selected groups or individual addresses.
Update 2.0 - Complete rewrite. More efficient - uses new Joomla API features.
Update 2.1 - Add option to assign groups per individual email address alongside the existing domain and TLD assignments. (Thanks for the suggestion Vincent!)
Update 2.2 - fix bad email test and other improvements (Thanks Serge!)
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.
You may of course adjust the tooltips, but that's not really important.
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.
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.
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.
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!
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.
Thanks for reporting this. The newest version (currently 1.1) addresses the language issue.