FormBuilder and Captcha? Not working.
FormBuilder and Captcha? Not working.
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?
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?
Last edited by loukote on Sat Jul 07, 2007 11:18 am, edited 1 time in total.
-
Mesmer
Re: FormBuilder and Captcha? Not working.
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.
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.
Last edited by Mesmer on Sat Jul 07, 2007 5:34 pm, edited 1 time in total.
Re: FormBuilder and Captcha? Not working.
One more time, FormBuilder and Captcha?
-
Mesmer
Re: FormBuilder and Captcha? Not working.
I've found the solution. Will post it when I get home from work.
Re: FormBuilder and Captcha? Not working.
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
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
-
Mesmer
Re: FormBuilder and Captcha? Not working.
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.
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]
Thank you RonnyK and Mesmer.
somewhere in the template.
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:Mesmer wrote: Maybe someone can post there template so you can use it. I still have to work some hours.
Code: Select all
{if $has_captcha == 1}
<div class="captcha">{$graphic_captcha}{$title_captcha}<br />{$input_captcha}</div>
{/if}
Last edited by loukote on Wed Aug 01, 2007 1:36 pm, edited 1 time in total.
Re: FormBuilder and Captcha? Not working.
Don't you have to install the captcha module?...
Re: FormBuilder and Captcha? Not working.
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
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
-
gk
Re: FormBuilder and Captcha? Not working.
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.
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.
Hi gk,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.
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
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: FormBuilder and Captcha? Not working.
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.
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
gk
Re: FormBuilder and Captcha? Not working.
hi all,kotecky wrote:Hi gk,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.
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
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.
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
For existing forms, however, you'll still need to the code kotecky posted to your template.
Sorry about that!
SjG
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!


