euge
Member
We have a series of validator classes, including an Email validator. It is fairly trivial to extend most classes within XenForo, including this one. It would just involve extending theisValid
method in that class and adding your own logic to it (which is presumably reading information from your customer database)
Hi,
this is not a pre-sales question anymore so I am not sure if this is the right place to ask but I will try.
I have seen the
isValid
method and yes, it will be easy to customize it. I also need an additional case in the verifyEmail
method of the user class if I want to display a different error message if a non-customer tries to register. Is it safe (even across upgrades) to edit the User.php file as well?