Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Feb 2020, 01:35
amodal1 amodal1 is offline
 
Join Date: Dec 2019
Converting banned domain to accepted domain

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.

Last edited by amodal1; 28 Feb 2020 at 01:47.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:44.

Layout Options | Width: Wide Color: