Form Wizard Pro spam blocking

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/19/2011 10:49:04 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Form Wizard Pro spam blocking

Ho Joe, I'm not sure if this qualifies as a bug or a feature request, but I'm treating it as a bug since I don't think it's intended functionality. a couple of months ago I changed over our sites' settings to use RECAPTCHA, but it looks like all of the Form Wizard Pro instances that have "Enable Spam Blocking" turned on are still using Subkismet. I'm not sure if this is something that changed recently in FWP, or if I just never noticed it before. At the time I changed it, I was most concerned about spam coming in on open blog posts.

We're running mojoPortal 2.3.7.1 (from source, October 10), and FWP 2.6.0.3.

Thanks,
Jamie

10/19/2011 10:51:46 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro spam blocking

It has always been that way in Form Wizard because I could not get Recaptcha to work inside an UpdatePanel.

I'll try again when I get a chance.

Best,

Joe

10/19/2011 10:56:41 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Form Wizard Pro spam blocking

Thanks Joe! I guess it really is a feature request then. devil

10/21/2011 9:47:19 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro spam blocking

I spent most of yesterday afternoon trying again but to no avail. Googling it I find lots of people reporting the problem including my own post from back in 2008. They have an example page with an UpdatePanel in the source code for the recaptcha .NET plugin, and it has the same problem, if the user enters an incorrect string for the solution it correctly fails validation but then the recaptcha dissappears from the page so the user is not able to correct it or try again. I've reported it here.

The next step would be for me to try and fix the recapthca control to make it work in UpdatePanel or implement a new one. I may try it but for the moment I'm going to punt because I have too many other things needing my attention. I do have some ideas to try having looked at the current implementation of the .NET plugin and the documentation for the javascript way of implementing recaptcha.

Best,

Joe

10/21/2011 11:21:47 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro spam blocking

fyi, in working on this I noticed a bug in mojoPortal 2.3.7.0 where if using Recaptcha on the contact form users could submit the form with an incorrect captcha solution or even leaving it blank. Must have been a side effect of upgrading to the latest recaptcha control. Now it seems to need to call .Validate() on the captcha instead of just Page.Validate().

In any case I fixed this and updated the 2.3.7.0 release today, the only file that changed since previous updates is mojoPortal.Web.dll

Best,

Joe

10/22/2011 10:37:57 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro spam blocking

fyi, this morning I implemented changes in the Recaptcha .NET plugin and it now works inside UpdatePanel. So this will be fixed in the next release of mojoPortal.

I'm also going to see if they will take my fix upstream so that I won't have to maintain a custom version of the Recaptcha .NET plugin.

Best,

Joe

10/24/2011 10:39:28 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Form Wizard Pro spam blocking

Wow Joe, awesome work! When I read your first update I was all prepared to update some documentation to indicate the limitation, but now I'm glad I don't have to. I sure hope they take your changes into the core--I can't imagine why they'd want to keep that bug in there.

Jamie

10/25/2011 2:18:11 PM
Gravatar
Total Posts 18439

Re: Form Wizard Pro spam blocking

Hi Jamie,

With the new version of Form Wizard Pro 2.6.0.4 released today, you can add this to your user.config

<add key="FormWizardPro:ForceSubkismetForRecaptcha" value="false" />

and replace the Recaptcha.dll with the one from our source code repository in the _libs folder and then Recaptcha should work in Form Wizard.

I hope they do take the fix upstream but I have this gut feeling they won't and don't care based on the not helpful response I got basically saying UpdatePanel sucks instead of being interested in fixing the problem. I emailed the guy the modified files with good comments around my changes but he never replied so far. People have complained online also for a long time that the Recaptcha plugin doesn't work in medium trust, its another easy fix I also sent with the UpdatePanel fix. I've been compiling my own recaptcha every time I updated it to solve the medium trust problem. It really isn't a very complicated control so if they don't take the fix I'll just either roll it into our own sources or I'll fork it and put it on Codeplex as a new project. I'll give them some time first though, he might just be too busy.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.