Allow/Deny registration to specific email, domain or TLD and perform automatic group assignments on IP (address or CIDR network), email, domain or TLD. Restrictions, group assignment/revocation, and more.
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.
Advanced users can assign user to user group automatically based on email address (email@example.com), email domain (domain.com), or even email top-level domain (.com, .net, .edu, etc.). Additional configuration allows you to omit certain addresses from automatic group assignment, as well you can configure some groups which are also immune to automatic group assignment.
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.4 - changed default whitelist from 0.0.0.0/0 (all addresses) to 0.0.0.0/32 (no addresses) to relieve confusion regarding this new feature.
Update 2.5 - fixed missing files in install XML
Update 2.5.1 - Updated for Joomla Update System compatibility
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.