Quote Originally Posted by shrimp-gumbo-mmmhhh View Post
Thank you all who are updating this plugin.

I am running 1.5.7c with the latest reCaptcha module. I have noticed that there is no reCaptcha for the "Ask a Question" page that is also connected in some way to a "contact us" page.

Thank you!

Shrimp

I just had your same issue and I finally fixed it. To use reCaptcha in "ask a question" page, you need to adjust \includes\classes\observers\class.google_recaptcha.php Otherwise "ask a question" page will still show reCaptcha section but not in use.

Near line 24, add following code:

$pages_to_check[] = 'NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK';

Near line 40 below if (!$resp->isSuccess()) { Change the following code from:

$event_array = array('NOTIFY_CONTACT_US_CAPTCHA_CHECK' => 'contact', 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK' => 'create_account', 'NOTIFY_REVIEWS_WRITE_CAPTCHA_CHECK' => 'review_text');

To

$event_array = array('NOTIFY_CONTACT_US_CAPTCHA_CHECK' => 'contact', 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK' => 'create_account', 'NOTIFY_REVIEWS_WRITE_CAPTCHA_CHECK' => 'review_text','NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK' => 'contact');

zc version is 157 with Observer bug fixed. reCAPTCHA version 3.4