The Arcive of vBulletin Modifications Site. |
|
Restrict registrations to one domain Details »»
|
|||||||||||||||||||||||||
This hack restricts new registratiosn to users who have eMail-Adresses from one specific domain.
This can be useful if you are running a corporate/internal forum. In register.php FIND PHP Code:
PHP Code:
![]() Should work with all vB 3 versions. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
nice job
|
|
#3
|
||||
|
||||
|
Thanks so much! It works perfectly.
|
|
#4
|
|||
|
|||
|
Thanks for the great hack, Kirby ... I'm sure it will be very useful
![]() At an educational institution, student and staff e-mails are often located on a different machine so that: a staff e-mail address is staff@school.edu a student e-mail address is student@student.school.edu How would one alter your hack to permit both staff and student e-mail addresses to register? |
|
#5
|
|||
|
|||
|
Nice hack
|
|
#6
|
|||
|
|||
|
In order to ensure security, the change email should also be restricted. Are there any other loopholes?
|
|
#7
|
||||
|
||||
|
Well, preventing Users from changing their eMail after registration was never a planned Feature for this.
So it is working as designed
|
|
#8
|
|||
|
|||
|
Thanks for this-- we're running a 3.5.4 system. Do you think it will still work?
Also, like fms, we have two domains we need to allow. Is it possible that wild card symbols would work, like www.pdq*.* for two domains (www.pdqstudents.edu and www.pdqparents.org). This is kind of a "huge deal" to us, because we want a facebook.com type of limited registration access. Thanks again! |
|
#9
|
|||
|
|||
|
Actually, this would be a handy addition for my site , though i want to restrict them from using my sites e-mail address.
I give all new members an e-mail address, and i want to avoid them using username@mydomain.com as their e-mail address and then logging into the mail on the site and getting the authrosiation email. Just removing the ! should do that for me - thanks for this. |
|
#10
|
|||
|
|||
|
Okay, I made the change to our 3.5.4 system, and it does not seem to work. New users (with non-approved email domains) simply get approved with no bademail message. Any ideas for making it work with 3.5.4?
I also heard there was a hack to change the banned email list from a blacklist to a whitelist. This would work even better for us, since we have two domains we want open. Anyone recall the hack for this? Thanks again! Jim H |
![]() |
|
|