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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 137 forum_permissions
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Captcha with my FormTools
#1
Hello community,

I am using the 2.0 version and I really like it a lot. I have had it up and running just fine for a couple months.

My problem is that I've been getting spammy submissions for many weeks now. They are junk, and I've been spending a LOT of time blocking each IP address that comes through - to no avail though, because they come up with a new one every day.

I've tried incorprating CAPTCHA from instructions on the old version, but they don't work (http://www.formtools.org/forums/index.ph...931.0.html), or at least I've not been able to get it to work.

Searching the forum here, I've seen a RECAPTCHA, but apparently only for use in something called API - which as a *NOOB* to all this stuff, is totally over my head.

Has anyone successfully added CAPTCHA to their forms? My inquiry form is in .htm format, and like I said works very well... I'm getting all sorts of SPAM submissions, so need some sort of deterrent there and am in need of some sort of CAPTCHA.

Is there a version of FormTools that has CAPTCHA built in, or do I need to be (or to hire) a programmer to get this to work?

Any help would be greatly appreciated, thank you!
Reply
#2
Hey!

Thanks for your post - and I'm glad it's been working well up to now.

Quote:Searching the forum here, I've seen a RECAPTCHA, but apparently only for use in something called API - which as a *NOOB* to all this stuff, is totally over my head.

Haha :-) But yes, the API's CAPTCHA script is only hooked into the API and can't currently be added to POSTed forms. This is something I plan on addressing at some

In the meantime - any one else solved this problem to their satisfaction?

Personally, I use the "hidden fields" technique to foil spam. It doesn't work as well with already established forms, since the spammers have already figured out what fields are valid, but it can still help. The idea is that you add some hidden fields to your form with names that are attractive to spam scripts, like "email", "comments" and so forth (it's kinda like fishing!). Then, in the post submission, detect to see if those fields have any values and if so it means the submission is from a spammer.

This can be done pretty easily using the Submission Pre-Parser module, as described here:
http://modules.formtools.org/submission_...on_example

Not sure if that helps... but it might be worth a shot!

- Ben
Reply
#3
(Jun 3rd, 2009, 8:37 PM)Ben Wrote: Hey!

Thanks for your post - and I'm glad it's been working well up to now.

Quote:Searching the forum here, I've seen a RECAPTCHA, but apparently only for use in something called API - which as a *NOOB* to all this stuff, is totally over my head.

Haha :-) But yes, the API's CAPTCHA script is only hooked into the API and can't currently be added to POSTed forms. This is something I plan on addressing at some

That would be really great if some sort of CAPTCHA could be integrated; and folks could turn it on and turn it off at will. I did find a script that did incorporate CAPTCHA, but am not enough of a coder/progrmmer to get it to work in the FormTools, but it works great as a stand-alone Contact Us form:
http://www.maianscriptworld.co.uk/free-p...index.html


(Jun 3rd, 2009, 8:37 PM)Ben Wrote: In the meantime - any one else solved this problem to their satisfaction?

I thought I found something CAPTCHA-wise from version 1 forum. I had to tweak and fine tune some things, but was only able to get it to *almost* work. I could get the CAPTCHA image to show, but couldn't ever get it to submit without utilizing the purpose of CAPTCHA; in other words, all I was able to successfully do is add the image, not the function. But for anyone wanting to try their hand at it, here are a few of the links from the FormTools 1 formum I used:

http://www.formtools.org/forums/index.ph...752.0.html

http://www.formtools.org/forums/index.ph...931.0.html

http://www.formtools.org/forums/index.ph...049.0.html

http://www.formtools.org/forums/index.ph...666.0.html


(Jun 3rd, 2009, 8:37 PM)Ben Wrote: Personally, I use the "hidden fields" technique to foil spam. It doesn't work as well with already established forms, since the spammers have already figured out what fields are valid, but it can still help. The idea is that you add some hidden fields to your form with names that are attractive to spam scripts, like "email", "comments" and so forth (it's kinda like fishing!). Then, in the post submission, detect to see if those fields have any values and if so it means the submission is from a spammer.

This can be done pretty easily using the Submission Pre-Parser module, as described here:
http://modules.formtools.org/submission_...on_example

Not sure if that helps... but it might be worth a shot!

- Ben

Yes, I did find something along this line at the version 1 forum too (your link above looks workable as well, but didn't find anything about that until you posted here... may have saved myself some time if I had!). This addresses spam-fighting with the use of CSS and "hidden fields": http://www.formtools.org/forums/index.ph...973.0.html.

Again, I had to fine tune (by trial and error... with LOTS of errors!) to come up with something that worked for me (for instance, inclusion of the text/css line in my .htm file wasn't enough - I had to add a .css file), and after some severley spoken words and a bit of hair pulling, was able to get it to work. The thing that nobody mentioned though, was how you TEST the hidden CSS to see if it was working? Duh, must me the *noob* in me, but I just "un-hid" the hidden text area, tried to submit, and was unsuccessful - as a spammer would be if they'd tried to submit the form and fill out the (normally) hidden text field.

For now, I'm going to have to settle for this method. You're right I'm sure though about the SPAMMERS already having the form fields tagged, so will revamp my form also. A LOT of work, especially for a non-coder like me, but hopefully CAPTCHA and the CSS Hidden Code can be put together for a better way to use FormTools without being targeted as much for the dang spammers. :-)

Thanks Ben for the reply - it is apprecaited!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)