View Full Version : Limit User Registration - Based Upon Email (Domain)
Dpcows
08-21-2006, 10:00 PM
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:
https://vborg.vbsupport.ru/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://vborg.vbsupport.ru/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%20 registration&no_shipping=2&no_note=1&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)
Dpcows
08-21-2006, 10:36 PM
reservered
kenanulas
08-21-2006, 11:38 PM
vauwww very cool idea thank you mate
Nachtfalke
08-22-2006, 05:25 AM
Nice Idea, although I need right the opposite. Disallow registrations from Domains like hotmail.com and some other freemailers ...
captainslater
08-22-2006, 07:05 AM
Dafür gehst du ins ACP, vBulletin Einstellungen, Benutzer:Sperren da kannst du alles eintragen.
Nachtfalke
08-22-2006, 10:24 AM
*vornkoppschlag* Manchmal sieht man den Wald vor later B?umen nicht ....
THX, Dominic ;)
Dpcows
08-22-2006, 01:30 PM
If we could keep it in english please...
Barakat
08-24-2006, 07:58 PM
what about if i dont want them to register from any free emails like hotmail or yahoo or gmail !!! can u do that ?
Ohiosweetheart
08-27-2006, 02:01 AM
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
08-29-2006, 08:51 PM
Goto:
vBulletin Options -> User Banning Options -> Banned Email Addresses
yes that's what I need too
smothers
08-30-2006, 01:32 PM
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
09-28-2006, 12:42 AM
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
09-29-2006, 01:26 AM
Still can't get it to work correctly
Monsignore
09-30-2006, 10:14 PM
i installed it but it doesn't work with my domain.
where can i edit the text of the failure message?
greetz mons
letsjoy
10-02-2006, 02:34 AM
very nice....:D
bitHacker
10-02-2006, 08:54 PM
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
10-03-2006, 03:25 PM
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
10-06-2006, 12:43 PM
Is this hack working for 3.6.1? Because I still can't get it to work properly
aeroguy
10-21-2006, 03:05 AM
for those who want the text field to be larger
find in code:
<datatype>free</datatype>
After add:
<optioncode>textarea</optioncode>
aeroguy
10-21-2006, 03:11 AM
isnt the modcenter.org suppose to be the user email that we are comparing too?
if ($parts[1] != "modcenter.org")
Paul M
10-21-2006, 03:36 AM
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
10-21-2006, 05:52 PM
I have modded this so that you can add multiple white list email domains :)
^SuiCyde^
12-02-2006, 07:48 AM
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.