Forums

 
  Support Forum  Modules  Engage: Tell-a-...  reCaptcha
Previous Previous
 
Next Next
New Post 6/2/2010 1:59 PM
  awoomer
7 posts
No Ranking


reCaptcha 

Has anyone tried to add reCaptcha to this module? Is it fairly straightforward?

 
New Post 6/3/2010 9:45 AM
  Brian Dukes
502 posts
3rd Level Poster


Re: reCaptcha 

I believe that the ASP.NET reCaptcha control makes it pretty simple to plug it in.  You can put it on the control, and set your API keys to get it to show.  However, you'll then need to make an AJAX request to their validation service to see if they've correctly filled it in before sending the request to process the email.  So, depending on how comfortable you are with using jQuery to make an AJAX request and evaluate the results, it may or may not be a simple addition (though Tell-A-Friend itself is an example of doing that same thing, which may help you get started).

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/14/2010 10:58 AM
  awoomer
7 posts
No Ranking


Re: reCaptcha 

Thanks Brian, I got the reCaptcha working but a funny thing started to happen again. After it validates the captcha and successfully sends the mail, I get an error message.

"There was a problem sending your email. If the problem continues, please contact the site administrator."

This was the issue that brought me to your forums initially and I had fixed.

 
New Post 6/15/2010 8:16 AM
  Brian Dukes
502 posts
3rd Level Poster


Re: reCaptcha 

 When the message sends correctly but the error message is shown, it means that the response from the email web service call wasn't processed correctly (i.e. the web page thinks that the success response was actually an error response).

How did you fix the issue before?  You added the dataType parameter to Tell-A-Friend 1.1?  You might want to use FireBug to monitor the response that you get back from the service and see why it's not what you would expect.  You may also need to step through the JavaScript to see if something isn't being processed like you'd want (you can set breakpoints in the JavaScript through FireBug).

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/17/2010 1:01 PM
  awoomer
7 posts
No Ranking


Re: reCaptcha 

Thanks Brian,

I'm using the same dataFilter function in my reCaptcha ajax post as you use in your send mail post. The d value returned for the reCaptcha is TRUE when you enter it correct and the d value is an empty string after it sends the mail. I assume that's my issue.

 

 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Tell-a-...  reCaptcha

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke