![]() |
Restrict registrations to one domain
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. |
nice job
|
Thanks so much! It works perfectly.
|
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? |
Nice hack :)
|
In order to ensure security, the change email should also be restricted. Are there any other loopholes?
|
Well, preventing Users from changing their eMail after registration was never a planned Feature for this.
So it is working as designed :) |
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! |
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. |
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 |
All times are GMT. The time now is 05:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|