Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Only let users register if email is on a certain domain
So I'm not really new to PHP but I'm new to vanilla forum. I was wondering if there was a way to make it so users with email addresses on certain domains only could register. I can make a plugin but I have no clue where to start, what functions to call, or what files I would need to modify.
Tagged:
0
Comments
There is actually an event that we fire specifically to stop registration. I'm pretty sure this stuff is available only in the current 2.0.18 branch so you'll have to work off of that.
The registration process is stopped but I get this message:
Fatal error: Call to a member function AddError() on a non-object in ....