Limit registrations depending on an email adress

Is there a way to setup dolphin or a mod to limit the registration for users having specific email address(es)?

For example: site accepts new registrar or registrations may occur for users having '@domain.com; @anotherdomain.net (john@domain.com) kind of addresses. Please advise.

I target members based upon specific email (Domain) address.

Quote · 6 Apr 2010

BUMP

Quote · 22 Apr 2010

anyone know how to do this?

Quote · 16 Jan 2011

Is there an easy way to limit new user registrations to only people with .edu email addresses?
I was thinking it might be possible in the Profile Field Builder -> Email -> Advanced Settings where it says the following:
return (bool) preg_match('/^([a-z0-9\+\_\-\.]+)@([a-z0-9\+\_\-\.]+)$/i', $arg0);
I am not a programmer, so I wouldn't know how to make the changes to that expression.  Any help would be greatly appreciated.
Thanks,
Quote · 17 Jan 2011

bump

Quote · 19 Jan 2011

hello - does anyone know how to limit registration by email address?

 

Thanks

Quote · 21 Jan 2011

In the [admin panel -> builders -> fields builder] click on "Email" field, switch to Advanced tab and replace "Check" expression from

return (bool) preg_match('/^([a-z0-9\+\_\-\.]+)@([a-z0-9\+\_\-\.]+)$/i', $arg0);

to

return (bool) preg_match('/^([a-z0-9\+\_\-\.]+)@domain\.com$/i', $arg0);

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 22 Jan 2011

Two quick questions:

1) If I want it to be '.edu', do I simply change the 'com' to 'edu'?
2) Facebook Connect: Will this also limit people adding accounts using Facebook Connect?

Thanks for your help. I greatly appreciate it!

Quote · 22 Jan 2011

 

Two quick questions:

1) If I want it to be '.edu', do I simply change the 'com' to 'edu'?
2) Facebook Connect: Will this also limit people adding accounts using Facebook Connect?

Thanks for your help. I greatly appreciate it!

1) Yes

2) No


https://www.deanbassett.com
Quote · 22 Jan 2011

Thanks Deano.

Quote · 22 Jan 2011

Maybe this was obvious, but I will post it anyhow

For those of you who aren't programmers, like myself, the expression should read:

 

return (bool) preg_match('/^([a-z0-9\+\_\-\.]+)@([a-z0-9\+\_\-\.]+edu)$/i', $arg0);

Quote · 22 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.