Recaptcha can be used in mojoPortal to prevent spam in forums, blog comments, or other palces where unauthenticated users are allowed to post content. See the Recaptcha Website for more information about Recaptcha or to get public and private keys for use in recaptcha in your web site built on mojoPortal CMS.
You can enter the public and private keys for Recaptcha in Site Settings or it can be set in user.config as follows:
<add key="RecaptchaPrivateKey" value="6LehqMgSAAAAAJfSWNxoLZbpVRyr9D6SZdSLfFyk" />
<add key="RecaptchaPublicKey" value="6LehqMgSAAAAAK6e7cRcwQ5KfhQuvIYmswFrJkJY" />
In versions of mojoPortal older than 220.127.116.11 the theme used for Recaptcha could be controlled from user.config like this:
<!-- Valid values for RecatchaTheme are red, white, blackglass, clean -->
<add key="RecaptchaTheme" value="white"/>
In mojoPortal 18.104.22.168 or newer we have changed this so that you can now specify the Recaptcha theme from the theme.skin file of your mojoPortal skin. This makes it easy to use different Recaptcha styles in different skins or sites whereas the older web.config/user.config setting was global to the whole mojoPortal installation.
In theme.skin you first need a control declaration at the top like this:
<%@ Register Namespace="Recaptcha" Assembly="Recaptcha" TagPrefix="Recaptcha" %>
Then further down you can add this and set it to one of the allowed values:
<%-- Valid values for Recaptcha Theme are red, white, blackglass, clean --%>