Page 1 of 2
FormBuilder and Captcha? Not working.
Posted: Fri Jul 06, 2007 9:56 pm
by loukote
Hi,
since few days I'm wondering around FormBuilder and playing with. It's a very nice module. Thank you programmers! Everything works well, except:
I'm using the latest versions of FB (0.3) and Captcha (0.3) on CMSMS 1.0.7. Captcha was installed before FB.
I want to use Captcha for a form, so I check the "use captcha" button, the permissions are set, I tried both -- the HN and the PHP captchas. The captcha/images/captchas folder is made 777.
ADDED (dis I forget the essential?): The thing is that no Captcha image appears in the form (tried one or multipage, looked in the source code). After the form submitted, the form page appears with the default error message saying the captcha was incorrect.
The thing should be pretty simple but I simply cannot figure it out. I guess because I do not see *anyone* complaining in the forum.
Any ideas?
Re: FormBuilder and Captcha? Not working.
Posted: Sat Jul 07, 2007 4:38 pm
by Mesmer
same problem here.
I upgraded formbuilder to the latest version, clicked on Captcha Settings and checked the 'Use Captcha to protect form submissions?:'box
When I view my form I don't see the Captcha. When I try to submit it gives an 'wrong captcha' errror.
What do I need to do to activate captcha on my forms?
I have the Captcha module installed and it;s working on my guestbook so that's not the problem.
Re: FormBuilder and Captcha? Not working.
Posted: Mon Jul 09, 2007 12:38 pm
by Mesmer
anyone?
Re: FormBuilder and Captcha? Not working.
Posted: Tue Jul 24, 2007 1:28 pm
by loukote
One more time, FormBuilder and Captcha?
Re: FormBuilder and Captcha? Not working.
Posted: Tue Jul 24, 2007 1:38 pm
by Mesmer
I've found the solution. Will post it when I get home from work.
Re: FormBuilder and Captcha? Not working.
Posted: Tue Jul 24, 2007 1:40 pm
by RonnyK
Works over here....
http://test.krijt.eu/index.php?page=cap
CMSMS 1.0.8
Captcha 0.3
FormBuilder 0.3
Make sure that:
File Creation Mask (umask):
in global settings is set to "002", to be able to show the created images.
Ronny
Re: FormBuilder and Captcha? Not working.
Posted: Tue Jul 24, 2007 1:44 pm
by Mesmer
The problem is in the template. When you upgrade to the new version of forumbuilder the template does not get updated so there is no place for captcha.
I installed the new version on an other site (so no upgrade) and copy / pasted that template to my upgraded version of formbuilder. That did the trick.
Maybe someone can post there template so you can use it. I still have to work some hours.
Re: FormBuilder and Captcha? Not working. [SOLVED]
Posted: Tue Jul 24, 2007 4:13 pm
by loukote
Thank you RonnyK and Mesmer.
Mesmer wrote:
Maybe someone can post there template so you can use it. I still have to work some hours.
The template actually doesn't upgrade only in the existing forms (otherwise it would destroy your previous work). Once the FBuilder upgraded just create a new form and use the template. Or put the code bellow:
Code: Select all
{if $has_captcha == 1}
<div class="captcha">{$graphic_captcha}{$title_captcha}<br />{$input_captcha}</div>
{/if}
somewhere in the template.
Re: FormBuilder and Captcha? Not working.
Posted: Thu Aug 02, 2007 2:42 am
by Dr.CSS
Don't you have to install the captcha module?...
Re: FormBuilder and Captcha? Not working.
Posted: Thu Aug 02, 2007 6:37 am
by RonnyK
Correct Mark,
Captcha has to be installed, but the case is that when upgrading, the "Captcha"-lines aren't being inserted in the template, so the old template, without the captcha-logic inside is what you'll endup with. In a clean install are the lines present, as shown in the topic just above yours.
Ronny
Re: FormBuilder and Captcha? Not working.
Posted: Wed Aug 29, 2007 12:45 am
by gk
Hi there,
I'm new here, and I had this same problem dealing with captcha & Formbuilder. I can't see no img though I've checked inside images/captchas that there were some good image captcha generated. I can only read the Alt while I'm sure the img exists in its folder. Can someone tell me about the trick!? I really need it working.
Re: FormBuilder and Captcha? Not working.
Posted: Wed Aug 29, 2007 6:40 am
by loukote
gk wrote:
Hi there,
I'm new here, and I had this same problem dealing with captcha & Formbuilder. I can't see no img though I've checked inside images/captchas that there were some good image captcha generated. I can only read the Alt while I'm sure the img exists in its folder. Can someone tell me about the trick!? I really need it working.
Hi gk,
Is it "the template problem" solved lower in this post or sth else? If different, could you post the HTML code of the form generated? + the versions of the CMS, FBuiler, Captcha.
Regards, Ondra
Re: FormBuilder and Captcha? Not working.
Posted: Wed Aug 29, 2007 2:05 pm
by calguy1000
If you are using a stock 0.3 formbuilder template but have upgraded to 0.4.1, then what I suggest you do is:
a) Create a new form and add a field to iit (any field) and save it.
b) in the form template tab, select the template you want (make sure it has the captcha stuff in the template) and
copy that template to your clipboard
c) go back into your previous form (the one with the 0.3 template) and paste overtop of your current form template.
Re: FormBuilder and Captcha? Not working.
Posted: Sat Sep 15, 2007 1:55 pm
by gk
kotecky wrote:
gk wrote:
Hi there,
I'm new here, and I had this same problem dealing with captcha & Formbuilder. I can't see no img though I've checked inside images/captchas that there were some good image captcha generated. I can only read the Alt while I'm sure the img exists in its folder. Can someone tell me about the trick!? I really need it working.
Hi gk,
Is it "the template problem" solved lower in this post or sth else? If different, could you post the HTML code of the form generated? + the versions of the CMS, FBuiler, Captcha.
Regards, Ondra
hi all,
thanx for your help and advices, I could solve the issue. Sorry for being that slow in answering, I was far from my laptop for a long time. Thank you all again!
Re: FormBuilder and Captcha? Not working.
Posted: Wed Sep 19, 2007 11:01 pm
by sjg
A user submitted a fix, so the newest release of FormBuilder (0.4.3) has the correct templates.
For existing forms, however, you'll still need to the code kotecky posted to your template.
Sorry about that!
SjG