PDA

View Full Version : Limit User Registration - Based Upon Email (Domain)


Dpcows
21 Aug 2006, 23:28
Limit User Registration - Based Upon Email (Domain)



Description:
With this hack, you can Limit your registrations depending on an email adress (domain).

For example only registrations may occur for .....@college.edu (john@college.edu) kind of adress.

Requested here:
http://www.vbulletin.org/forum/showthread.php?t=124269



Instructions:

- Add the product via the product manager.
- Goto "User registration option" and setup the product.

That's it.



Bugs:

- On uninstalling the phrase "enter_valid_email_address" is deleted too.


https://www.vbulletin.org/forum/external/2006/10/5.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=payment%40modcenter%2eorg&item_name=vBulletin%2eorg%20Hacks%20%2d%20Limit%20registration&no_shipping=2&no_note=1&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)

Dpcows
21 Aug 2006, 23:36
reservered

kenanulas
22 Aug 2006, 00:38
vauwww very cool idea thank you mate

Nachtfalke
22 Aug 2006, 06:25
Nice Idea, although I need right the opposite. Disallow registrations from Domains like hotmail.com and some other freemailers ...

captainslater
22 Aug 2006, 08:05
Dafür gehst du ins ACP, vBulletin Einstellungen, Benutzer:Sperren da kannst du alles eintragen.

Nachtfalke
22 Aug 2006, 11:24
*vornkoppschlag* Manchmal sieht man den Wald vor later Bäumen nicht ....

THX, Dominic ;)

Dpcows
22 Aug 2006, 14:30
If we could keep it in english please...

Barakat
24 Aug 2006, 20:58
what about if i dont want them to register from any free emails like hotmail or yahoo or gmail !!! can u do that ?

Ohiosweetheart
27 Aug 2006, 03:01
Nice Idea, although I need right the opposite. Disallow registrations from Domains like hotmail.com and some other freemailers ...
yes that's what I need too

Dpcows
29 Aug 2006, 21:51
Goto:
vBulletin Options -> User Banning Options -> Banned Email Addresses

yes that's what I need too

smothers
30 Aug 2006, 14:32
Can you add more slots for acceptable domains. right now i need 3 and soon i'll need more. awesome mod thou. i'd been looking all over for it.

pickles21
28 Sep 2006, 01:42
Great idea I'm just having trouble with people registering with the acceptable @college.edu and not being allowed. Once they are done registering with all the acceptable info. a page comes up and does not allow them to register even though they fulfilled my request that they can only register with my @college.edu email. Why is that? Would it be because I'm running 3.6.1?

pickles21
29 Sep 2006, 02:26
Still can't get it to work correctly

Monsignore
30 Sep 2006, 23:14
i installed it but it doesn't work with my domain.

where can i edit the text of the failure message?

greetz mons

letsjoy
02 Oct 2006, 03:34
very nice....:D

bitHacker
02 Oct 2006, 21:54
what about if I want to prevent registering from a list of domains ??
http://www.getonemail.com/
offers the ability to create an on-the-fly emails addresses only to recive one message, then it is deleted. a lot of services like that are been created evry day... how can I block a list of doamins ?

Gryphon
03 Oct 2006, 16:25
what about if I want to prevent registering from a list of domains ??
http://www.getonemail.com/
offers the ability to create an on-the-fly emails addresses only to recive one message, then it is deleted. a lot of services like that are been created evry day... how can I block a list of doamins ?

vBulletin has had this ability by default forever as stated earlier in this very thread.

vBulletin Options -> User Banning Options -> Banned Email Addresses

pickles21
06 Oct 2006, 13:43
Is this hack working for 3.6.1? Because I still can't get it to work properly

aeroguy
21 Oct 2006, 04:05
for those who want the text field to be larger
find in code:
<datatype>free</datatype>
After add:
<optioncode>textarea</optioncode>

aeroguy
21 Oct 2006, 04:11
isnt the modcenter.org suppose to be the user email that we are comparing too?
if ($parts[1] != "modcenter.org")

Paul M
21 Oct 2006, 04:36
Yep, this will never work in it's present state.

if ($parts[1] != "modcenter.org")
Should be
if ($parts[1] != $vbulletin->options['required_email_domain'])

aeroguy
21 Oct 2006, 18:52
I have modded this so that you can add multiple white list email domains :)

^SuiCyde^
02 Dec 2006, 08:48
i love it, should stop a lot of random sign ups by spammers..... what are the main free ones?

yahoo, aol, hotmail, msn, gmail, any others?