1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Block custom user fields

Discussion in 'XenForo Questions and Support' started by Solidus, Jan 27, 2016.

  1. Solidus

    Solidus Well-Known Member

    Hey.

    I have 2 custom user fields set, and they appear during registration. Lately I've noticed that every single spam account puts the same word in these custom user fields.
    Is there a way I can block these words?

    Thank you.
     
  2. Mike

    Mike XenForo Developer Staff Member

    It would have to be a bit hacky using a regular expression to not match, but that's not ideal (and it'd take testing to ensure the correct regex was written). Alternatively, it could be done with a PHP callback for the value match requirements, but it would require some custom code to hook that up.
     

Share This Page