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 10056 time(s), 4 post(s) 15.01.2013 20:46:08by super
super

super

15.01.2013 20:46:08
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
khorvat

khorvat

17.01.2013 08:33:05
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
GeorgeBirbilis13

GeorgeBirbilis13

03.03.2015 10:42:02
the link for using ReCaptcha from ASP.net is broken
a useful one may be http://recaptchanet.codeplex.com/
Dieser Inhalt wurde noch nicht bewertet. 
211 Reputation 26 Total posts
Zoomicon

Zoomicon

01.04.2015 11:53:34
btw, would be nice if the login module had a captcha - can keep out some automated spambots
Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts