vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=327860

Converting banned domain to accepted domain
by amodal1
28 Feb 2020 01:35

Hello all,

I am new to vBulletin and am attempting to restrict user registrations to a a single domain. Basically, only allowing users from a single company to register and to force using the work email address when registering.

I found this solution from back on v3, https://www.vbulletin.org/forum/showthread.php?t=78244
but things have changed a bit. When I look at the registration.php file, I don't see a section dealing with email domain checking. Am I missing something?

Is it reasonable to add a banned domain through the admin panel and then to go into the code and swap the 0 and 1 cases to only allow from the "banned domain, " thereby turning the blacklist into a whitelist? This seems simplest without altering any of the functionality of the site or replacing lots of functionality with my own clumsy code.

Does anyone know where the banned email handling is done? or if the is_banned_email() function still exists somewhere?

Thanks in advance for any assistance.


All times are GMT. The time now is 23:45.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.