ooiepe / epe_modules

1 stars 0 forks source link

EPE-21 Filtering / fixing spam users #132

Open seagrinch opened 8 years ago

seagrinch commented 8 years ago

Filtering / fixing spam users (honeypot, hidden fields, same data input across fields..may be other ideas..maybe improving the admin interface - adminviews)

seagrinch commented 7 years ago

Allan, I spent some time today trying to get Honeypot, particularly on the user registration form. https://www.drupal.org/project/honeypot

Unfortunately, it seems that the hidden field isn't being added to the page. I've tried adding the follow line to epe_wp_form_user_register_form_alter as the docs seems to say to do, but that doesn't seem to work. honeypot_add_form_protection($form, $form_state, array('honeypot', 'time_restriction'));

When I try to submit the registration form, I keep getting the minimum time required error, unless I set that to 0. But because the hidden field(s) isn't included, the module doesn't seem to work at all. I couldn't find anything online to help.

While I think Honeypot might help with our spam users, I think we could also try simply banning some domain names outright. But as 90% of our spam users seem to enter the same data in all form fields (first/last name and role), if there was a way to simply block those entries, that would be a big help. Do you have any ideas?