No announcement yet.

stopping spam via custom fields

  • Filter
  • Time
  • Show
Clear All
new posts

  • stopping spam via custom fields

    I added a custom field to my registration page. It makes it pretty easy to tell which new users are spammers because they don't take the time to answer the question in an appropriate way. So I go and manually delete each of them (about 200 or so in the last couple weeks).

    Question.. most of the spammers seem to answer the question by entering their username or a value of "1" to my custom field. Can I add some code somewhere to block registration with logic akin to:

    if custom1 = username or custom1 = "1" then block registration

    Just curious. I have many other methods in place to help with spam (which is why I'm deleting only 200 users instead of 5000 right now). This would probably bring it down to 5.

    Would happily pay a developer to write me the code if no solution exists.

    Thanks for any help!

  • #2
    You might be able to do this with a regex but I don't have the code for it. The people on may be able to assist with either a regex or some other solution involving custom code.


    • #3
      thanks, will give it a shot.


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.