The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Hidden Fields Method of Spam Prevention - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Hidden Fields Method of Spam Prevention (/showthread.php?tid=542) Pages:
1
2
|
Hidden Fields Method of Spam Prevention - waizen - Mar 1st, 2010 Hello: I have created a few forms using Form Tools version 2.0. I have employed the hidden fields method of spam prevention as outlined in this page: http://modules.formtools.org/submission_pre_parser/documentation.php?page=spam_detection_example All seems to work fine, with no messages appearing in the control panel when the hidden fields are filled in. The problem is that the system still sends an email to the owner of the form telling him/her that there is a new message and with all of the fields on the email message blank. Anyway to have the system not send any kind of message at all when a hacker bot fills in a hidden field? Any help is appreciated. RE: Hidden Fields Method of Spam Prevention - martin_undefined - Mar 2nd, 2010 Hi, Can you confirm that the 'spam' form submissions aren't showing up in the FT admin panel (as you would expect). Martin RE: Hidden Fields Method of Spam Prevention - waizen - Mar 3rd, 2010 Correct...they are not showing up in the form's admin section. RE: Hidden Fields Method of Spam Prevention - Ben - Mar 7th, 2010 Damn... this is a bug. I refactored the ft_api_process_form() function a little while back and must have missed this. Drat! I know this isn't ideal, but you can fix this by manually changing your api.php file. Assuming all goes well I'll include this fix in the next API version so that you'll be able to upgrade safely. Here's how to do it. 1. Edit your /global/api/api.php file, 2. Scroll down to line 850. You should see this chunk of code: PHP Code: if ($passes_captcha && !empty($next_page) && !$is_deleting_file) Change it to this: PHP Code: if ($passes_captcha && !empty($next_page) && !$is_deleting_file) I haven't confirmed this fix, so you're going to be the Beta tester I'm afraid. But it should work fine. Let me know how it goes. - Ben RE: Hidden Fields Method of Spam Prevention - waizen - Mar 8th, 2010 Thanks, Ben. I appreciate the fix. I'll employ it and have the client let me know if he see's any more problems. (Mar 7th, 2010, 11:00 AM)Ben Wrote: Damn... this is a bug. I refactored the ft_api_process_form() function a little while back and must have missed this. Drat! RE: Hidden Fields Method of Spam Prevention - EvdBoogaard - Jun 25th, 2010 Hi Ben, I experienced the same problem, blank emails are send even though the submission is ignored. So I updated to v 2.0.1 (with the new API - I can confirm that the new code is included). However, blank emails are still send whenever a spammer uses the form (sorry). Any other suggestion how to handle this? Thanks, Erwin RE: Hidden Fields Method of Spam Prevention - rdegler - Jul 19th, 2010 I am having the same problem. It continues after adding the suggested code. Any further suggestions? I am using Formtools 2.0.0 thank you roy degler RE: Hidden Fields Method of Spam Prevention - waizen - Jan 7th, 2011 I'm sorry to rehash an old post here... I'm still having a problem here with this situation, even though I had employed the requested fix. For various reasons, we don't want to upgrade to the latest version just yet. Is there another workaround for this? Thank you in advance. RE: Hidden Fields Method of Spam Prevention - Ben - Feb 5th, 2011 Hi Waizen, Is this still a problem? If so, let me know (ben.keen@gmail.com) - I think I may need to take a look at it directly on your server to figure out what's going on. - Ben RE: Hidden Fields Method of Spam Prevention - waizen - Feb 18th, 2014 Wow...been quite a while since I've visited this thread and I didn't see Ben's offer to take a look at my situation. Sorry, Ben. I've got a new one related to this method: is this method of spam prevention supposed to work with the latest version of Form Tools (v. 2.2.7)? All of a sudden, I can't get this tutorial to work at all...all submissions go through, even if I enter something in in "bad", hidden, field. Has something change in the latest and greatest version of Form Tools since way back in 2011? I've followed the tutorial to the letter and everything submits. |