Mono Support any way to use recaptcha ? 

Viewed 10343 time(s), 4 post(s), 1/15/2013 8:46:08 PM - by super
1/15/2013 8:46:08 PM
6018 Reputation 709 Total posts

I see on contact us page there is in-build captcha which is quite small and not very clear - any way to use recaptcha by google ?

1
1/17/2013 8:33:05 AM
15993 Reputation 2214 Total posts

Hi,

yes you can use ReCaptcha in MonoX please take a look at the following Using reCAPTCHA with ASP.NET, if you want to switch the Captcha on the contact WebPart and in other controls, you will have to Inherit CaptchaModule and inside the mark-up hide the built-in captcha and add ReCaptcha, then you should override the following methods:

/// <summary>
 /// Generates new captacha string.
 /// </summary>
 public virtual void GenerateNewCaptcha()
 
 /// <summary>
 /// Check if Captcha code is valid.
 /// </summary>
 /// <returns>True if Captcha is valid, False otherwise</returns>
 public virtual bool IsCaptchaValid()
and after that you will have to point every control that needs to use new captcha to your new CaptchaModule WebPart e.g. ContactModule

From
<%@ Register Src="/MonoX/ModuleGallery/CaptchaModule.ascx" TagPrefix="monox" TagName="CaptchaModule" %>
To
<%@ Register Src="/YourProject/ModuleGallery/YourCaptchaModule.ascx" TagPrefix="monox" TagName="CaptchaModule" %>
Regards

2
3/3/2015 10:42:02 AM
211 Reputation 26 Total posts

the link for using ReCaptcha from ASP.net is broken
a useful one may be http://recaptchanet.codeplex.com/

3
4/1/2015 11:53:34 AM
2793 Reputation 345 Total posts

btw, would be nice if the login module had a captcha - can keep out some automated spambots

4
This is a demo site for MonoX. Please visit Mono Software for more info.