Google Captcha (reCAPTCHA) by BestWebSoft
[resolved] Can this be used with BP registration page? (5 posts)

  1. laura.lee
    Posted 1 year ago #

    Hi... I am trying to use this. Captcha didn't appear in the Buddypress registration page. So, I added the shortcode to the page. It didn't appear then either. (It is a Buddypress program field page).

    Is there a fix so I can use this on this site? Or is it just not made for this usage? (The captcha is showing up in the Buddypress login page - showing the private and public keys were entered correctly in configuration of this plugin on my site).


    Thank you.


  2. bestwebsoft
    Plugin Author

    Posted 1 year ago #

    Hi Laura,

    Since you use a custom form instead of the standard wordpress functionality, it is necessary to do the following:

    1) Install the Google Captcha plugin and activate it.
    2) Open the file with the form (where you would like to add google captcha to).
    3) Find a place to insert the code for the google captcha output.
    4) Insert the necessary lines:

    if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ;

    If the form is HTML you should insert the line with the PHP tags:

    <?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>

    BestWebSoft Support Team

  3. laura.lee
    Posted 1 year ago #


    Thank you for your response. This answer will help someone else, I am sure. For me, whoosh! Like a jet flying overhead... like that... this flew over my head. :) My friend, I don't want to learn how to fly that plane to become a jet pilot with you... I'll stay right here on the ground. :)

    I still use this plug-in, but added "something else" so it covers what I needed done. **I marked this resolved.

    Thank you for your response and the plug-in.

    Have a wonderful day. :)

    Laura Lee

  4. Kilmanagh
    Posted 1 year ago #

    Honestly, I do not think this answers the question.
    They asked if this plugin can be used for the default BuddyPress registration screen.
    The answer would be simply NO! The register page is dynamically rendered, therefore there is no place to put the code you described above.

    This and similar Captcha plugins are useless to BuddyPress.
    I have yet to find one that will work.

    The only way you can slow down the spam users is to go to the Register webpage under pages and rename the slug from register to something else like siteregister.

  5. bestwebsoft
    Plugin Author

    Posted 1 year ago #


    Google Captcha (reCAPTCHA) will only be displaying and functioning correctly, if you are using standard registration login and comments form pages. In case you are using custom forms and pages, you need to make changes to them (we have mentioned these changes above) in order to have Google Captcha (reCAPTCHA) displayed and working properly.

    BestWebSoft Support Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Captcha (reCAPTCHA) by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.