ElkArte Community

Project Support => Support => Topic started by: radu81 on October 01, 2015, 04:47:14 pm

Title: block registration for some domains
Post by: radu81 on October 01, 2015, 04:47:14 pm
I would like to block some email domains to register to my forum (example @gmail.com). I know I could ban them, but that will also ban some "inocent" users.

Is there a way to do this? in smf there was a mod if I remember well
Title: Re: block registration for some domains
Post by: Flavio93Zena on October 01, 2015, 05:04:18 pm
And it was this: http://custom.simplemachines.org/mods/index.php?mod=1493
Title: Re: block registration for some domains
Post by: radu81 on October 01, 2015, 05:28:41 pm
Solved, this can be done with ban system, instead of a total ban I can use a partial ban. I forgot about this ;)

(http://i.imgur.com/Dv5maTE.png)

maybe the check email during registration could be a little improved: instead of letting the user to insert all fields for registration and the then showing a message error[1], could be that once filled the email and if the domain is blocked for registration to show a message like "This domain is blocked, choose another email address...". what do you think about it?
with the message error displayed the user will never know why he cannot register
Title: Re: block registration for some domains
Post by: Flavio93Zena on October 01, 2015, 06:01:09 pm
I don't know if you can ban multiple domains at once though, via that system.

As regards the error message... Yeah, the mod was doing it.
Title: Re: block registration for some domains
Post by: Jorin on October 02, 2015, 01:06:34 am
Quote from: radu81 – maybe the check email during registration could be a little improved: instead of letting the user to insert all fields for registration and the then showing a message error[1], could be that once filled the email and if the domain is blocked for registration to show a message like "This domain is blocked, choose another email address...". what do you think about it?

Good idea. Such as showing a green "your address seems to be okay with us, go on with the registration!" give the user a red "oh no, you are not allowed here with this address. Go get another one for free and try again!"  :)
with the message error displayed the user will never know why he cannot register
Title: Re: block registration for some domains
Post by: Wizard on October 02, 2015, 08:54:45 am
I have actually have seen such message with a forum or two. While registration, they say, they do not approve emails on the particular domain.
Title: Re: block registration for some domains
Post by: emanuele on October 02, 2015, 05:31:07 pm
Interesting idea. Actually, as usual, the whole banning would benefit from some improvements, few ideas are floating in my head,  though it takes time. lol