Liam C.
Member
Hi there - I am learning and tinkering around with Xenforo Development. I've watched majority of the videos made by Xenforo as well as taken inspiration and guidance from other addons however I have a question.
We are currently considering a custom AutoMod solution - this would essentially validate specific data. For example, when a user were to sign up on our Forums site, we would like to validate whether or not the Date of Birth is a certain date (as we notice majority of our bots go for the exact same Date of Birth).
Another one is to check the content of a message and validating it before sending. So the use case here is to disallow all websites apart from the ones we have whitelisted. I have already set up the options for this, and they output properly, etc.
The issues I am currently facing is on how we can properly access these events when it occur (so 'onThreadSend') as well as whether it has a major performance implication.
Regarding performance implications - I'm also considering using it in certain cases, for example if the user's account is new or without any roles - it performs the check thus reducing any extra queries as they are deemed as unlikely spam.
Many thanks!!
We are currently considering a custom AutoMod solution - this would essentially validate specific data. For example, when a user were to sign up on our Forums site, we would like to validate whether or not the Date of Birth is a certain date (as we notice majority of our bots go for the exact same Date of Birth).
Another one is to check the content of a message and validating it before sending. So the use case here is to disallow all websites apart from the ones we have whitelisted. I have already set up the options for this, and they output properly, etc.
The issues I am currently facing is on how we can properly access these events when it occur (so 'onThreadSend') as well as whether it has a major performance implication.
Regarding performance implications - I'm also considering using it in certain cases, for example if the user's account is new or without any roles - it performs the check thus reducing any extra queries as they are deemed as unlikely spam.
Many thanks!!