XenForo Get User on Custom Field Validator

S

stavrosst

Guest
Hello,
I have created a thread custom field. I have extended the AbstractValidator class ( \XF\Validator\AbstractValidator ) to validate the input of the user.
Part of the validation requires the user id of the creator of the thread.

Is there a way to get the user info of the creator of the thread (id or email) from within my Validator class?
Thanks.

Continue reading...