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 )

9893 put(a) pogledan, 4 odgovor(a) 15.1.2013. 20:46:08Kreirao(la) super
super

super

15.1.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 ?
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
khorvat

khorvat

17.1.2013. 8: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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
GeorgeBirbilis13

GeorgeBirbilis13

3.3.2015. 10:42:02
the link for using ReCaptcha from ASP.net is broken
a useful one may be http://recaptchanet.codeplex.com/
Ovaj sadržaj još nije ocijenjen. 
211 Reputacija 26 Ukupno objava
Zoomicon

Zoomicon

1.4.2015. 11:53:34
btw, would be nice if the login module had a captcha - can keep out some automated spambots
Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava