The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Submission pre-parser still sending email - 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: Submission pre-parser still sending email (/showthread.php?tid=1671)



Submission pre-parser still sending email - designandetc - Oct 5th, 2011

Form Tools v2.0.6

I have a form using module: Submission Pre-Parser (to fight spam bots).

All seems to work fine, with no messages appearing in the control panel when the hidden field is filled in. The problem is that the system still sends an email to the owner of the form stating that there is a new message and with all of the fields on the email message blank.

I can confirm that there is no submission saved when this happens, only a blank email sent. Please help me.


RE: Submission pre-parser still sending email - designandetc - Oct 5th, 2011

(Oct 5th, 2011, 1:26 PM)designandetc Wrote: Form Tools v2.0.6

I have a form using module: Submission Pre-Parser (to fight spam bots).

All seems to work fine, with no messages appearing in the control panel when the hidden field is filled in. The problem is that the system still sends an email to the owner of the form stating that there is a new message and with all of the fields on the email message blank.

I can confirm that there is no submission saved when this happens, only a blank email sent.

Perhaps an upgrading might do me well?





RE: Submission pre-parser still sending email - Ben - Oct 7th, 2011

Hi designandetc,

Are you using the "form_tools_ignore_submission" key, to indicate that you want to ignore the submission? If so, that may well be the cause: there was an issue with that not being recognized properly.

If not, could you post your Submission Pre-Parser rule content (just the salient parts of it, if it contains sensitive info) so I could take a look?

Thanks!

- Ben


Spam Bot Fighting Method - designandetc - Oct 8th, 2011

Ben,

I upgraded to the latest version of Formtools (2.1.3) and the latest version of the Submission Pre-Parser module (1.1.1) and after creating a couple rules, the spam has stopped!

First:
I am using the "formtools_ignore_submission" key.
Here is my rule:
PHP Code:
if (!empty($_POST["name"]))
  
$_POST["form_tools_ignore_submission"] = true

My "honeypot" field is coded like this:
PHP Code:
<div class="honey">
<
input type="text" name="name" value=""
</
div>

.
honey{display:none;} 

Notice that i used "name" as my field name. I figured the bots would see that as an important field to fill in.

Second:
I changed the names of my fields to their "backwards-selves". i.e. (city = fytic, and email = fliame). This was to avoid bots looking for specific field names from entering data in my fields.

Last:
I made and additional rule in the Submission Pre-Parser module that will ignore any blank submissions. This is for two reasons. First, because if a visitor or a bot were to submit my form without filling in any field, I'd get a blank submission. Second, my initial problem was that even with the above Submission Pre-Parser rule, Formtools was not recording a bots submission but it was sending a completely blank email.
Here is the second rule:
PHP Code:
if (empty($_POST["feman"]) && empty($_POST["fliame"]) && empty($_POST["fenohp"]) && empty($_POST["fegassem"]))
    $_POST["form_tools_ignore_submission"]= true

Thanks for your help and I hope this will help someone else avoid spam bots submitting to their form!

-Paul


RE: Submission pre-parser still sending email - Ben - Oct 10th, 2011

Excellent! Big Grin I'm very glad that's all working now. Thanks for posting your solution!

- Ben