Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: fyi: WP-reCAPTCHA works fine with BuddyPress


r-a-y
Keymaster

@r-a-y

There are no instructions I’m afraid. You have to dive into the BuddyPress code.

Just looked at the plugin, here’s some sample code:

add_action('bp_before_registration_submit_buttons', 'display_recaptcha', 9999);
add_action('bp_signup_validate', 'check_recaptcha_bp');

You’ll have to write your own validation function for BP. I’ve called the new function check_recaptcha_bp(), but you can call it whatever.

For more info, look at buddypress/bp-core-signup.php, I’ve given you the tools needed to walk, now run with it ;)

Skip to toolbar