The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Is it possible... - 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: Is it possible... (/showthread.php?tid=930) |
Is it possible... - sstoney200 - Nov 12th, 2010 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 RE: Is it possible... - Ben - Nov 12th, 2010 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_api_display_captcha POST forms: http://docs.formtools.org/tutorials/post_form_captchas/ - Ben RE: Is it possible... - sstoney200 - Nov 12th, 2010 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.. RE: Is it possible... - sstoney200 - Nov 15th, 2010 Has anybody else come across this problem when installing the captcha? RE: Is it possible... - sstoney200 - Nov 16th, 2010 ahhh man! :/ I've tried it with and without the hidden field and double checked everything! RE: Is it possible... - Ben - Nov 18th, 2010 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 RE: Is it possible... - sstoney200 - Nov 21st, 2010 (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 RE: Is it possible... - Ben - Nov 23rd, 2010 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 RE: Is it possible... - sstoney200 - Nov 24th, 2010 (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! RE: Is it possible... - Ben - Nov 24th, 2010 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 |