Menu

DomainRestriction

November 15th, 2013

DomainRestrictionAllow/Deny registration to specific email, domain or TLD and perform automatic group assignments on 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.

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!)

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.