MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

any way to use recaptcha ?  (Mono Support )

Viewed 9260 time(s), 4 post(s) 1/15/2013 8:46:08 PMby super
super

super

1/15/2013 8:46:08 PM
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 ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

1/17/2013 8:33:05 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
GeorgeBirbilis13

GeorgeBirbilis13

3/3/2015 10:42:02 AM
the link for using ReCaptcha from ASP.net is broken
a useful one may be http://recaptchanet.codeplex.com/
This content has not been rated yet. 
211 Reputation 26 Total posts
Zoomicon

Zoomicon

4/1/2015 11:53:34 AM
btw, would be nice if the login module had a captcha - can keep out some automated spambots
This content has not been rated yet. 
2793 Reputation 345 Total posts