Styling Recaptcha

Styling Recaptcha

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:

In mojoPortal 2.3.9.1 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:

CaptchaLength is the number of characters, you could set this higher to posisbly make the captcha stronger. Allowed values for CaptchaFontWarping are High and Low, High should make it a bit stronger. You can also override the InstructionText.