reCAPTCHA bbPress

Options Saved

To use this plugin, you need two keys (a private and a public key) from the reCAPTCHA website - you can sign up for these for free here.

Public Key
Private Key

 

Like this? Please Donate!

Donations help keep me chugging away at plugins. Donations as much and as little as you want.

var RecaptchaOptions = { theme : 'white', lang : 'en' , tabindex : 5 };"; echo "Please prove you are human"; echo recaptcha_get_html($pubkey); } } function recaptcha_bbpress_verify() { if (recaptcha_bbpress_register_page()) { if(bb_get_option('recaptcha_bbpress_public_key') && bb_get_option('recaptcha_bbpress_private_key')) { if ($_POST["recaptcha_response_field"] || $_POST) { $privatekey = bb_get_option('recaptcha_bbpress_private_key'); $resp = null; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { bb_get_header(); echo "

Error

You failed to complete the form correctly, please return to the previous page and try again.

"; bb_get_footer(); exit; } } } else { echo "The public & private keys aren't set at the moment! "; } } } ?>