Nov 12th, 2010, 7:19 AM
to add a captcha to a form that uses formtools scipts? Has anyone managed to do so and if so how?
Cheers,
Jamie Stone
jamie@bubbleweb.eu
Cheers,
Jamie Stone
jamie@bubbleweb.eu
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Is it possible...
|
Nov 12th, 2010, 7:19 AM
to add a captcha to a form that uses formtools scipts? Has anyone managed to do so and if so how?
Cheers, Jamie Stone jamie@bubbleweb.eu
Nov 12th, 2010, 11:06 AM
Hi Jamie,
Sure, no problem! Here's how to do it for each type of form: API forms: http://docs.formtools.org/api/?page=ft_a...ay_captcha POST forms: http://docs.formtools.org/tutorials/post_form_captchas/ - Ben
Nov 12th, 2010, 4:16 PM
(This post was last modified: Nov 12th, 2010, 4:18 PM by sstoney200.)
Hi Ben, thanks, I've nearly got that all working here http://www.for-rent-nerja.com/contact.php
Only problem is it's allowing me to post a message without fillin in the captcha! I'm fairly sure i've covered every step but it's obvious i've done something wrong, just cant see what..
Nov 15th, 2010, 10:18 AM
Has anybody else come across this problem when installing the captcha?
Nov 16th, 2010, 1:27 PM
ahhh man! :/
I've tried it with and without the hidden field and double checked everything!
Nov 18th, 2010, 9:51 PM
Hi Sstoney,
Sorry for not responding sooner! Could you send me your code? (just zip up the page and email it to me at ben.keen@gmail.com). I'd like to take a look at it and test it out myself. - Ben
Nov 21st, 2010, 4:34 AM
(Nov 18th, 2010, 9:51 PM)Ben Wrote: Hi Sstoney, Hi Ben, no problems, thanks for replying! I've emailed you from jamie@bubbleweb.eu Cheers Jamie
Nov 23rd, 2010, 8:51 PM
Ack! This is a bug. At the top of process.php, you'll find this line:
PHP Code: @include_once("$folder/global/api/api.php"); Right before it, add this: PHP Code: $folder = dirname(__FILE__); So, in total, the top section of code will be this: PHP Code: $folder = dirname(__FILE__); I'll include a fix for this in 2.1.0. - Ben
Nov 24th, 2010, 4:02 AM
(This post was last modified: Nov 24th, 2010, 4:10 AM by sstoney200.)
(Nov 23rd, 2010, 8:51 PM)Ben Wrote: Ack! This is a bug. At the top of process.php, you'll find this line: YOU THE MAN BEN! (SORT OF) HAHA I changed the code and uploaded the process.php but when I try to access my contact page: http://www.for-rent-nerja.com/contact.php it is now saying 'The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies.' ARGH! lol p.s. I did try removing and re-uploading process.php without the aforementioned changes but that didn't change the error so I'm thinking it's nothing to so with that!
Nov 24th, 2010, 5:57 PM
Huh! Well I'm puzzled... that fix works for me locally - and I certainly can't think of any reason it would cause that error you're getting.
Any chance I could get temporary access to your server so I log in and debug it directly? (If so, email me!) - Ben |
« Next Oldest | Next Newest »
|