eworkers / K2ForJ4

GNU General Public License v2.0
11 stars 6 forks source link

Recaptcha 2.0 does not work #23

Closed cmirnow closed 1 year ago

cmirnow commented 1 year ago

How to reproduce:

  1. Configure recaptcha (Joomla 3.10.11, php 7.4, K2 v.2.10.3).
  2. Leave a comment. Make sure that recaptcha works properly.
  3. Install K2ForJ4.
  4. Reload the page. Try again to leave a comment.
  5. Error: "The anti-spam settings for this website are not yet properly configured and comments cannot yet be published. Please notify the site administrator".
eworkers commented 1 year ago

followed your steps but we were not able to reproduce, the error message on K2ForJ4 will only appear if recaptcha is enabled and keys are not set or they were set with empty string. Can you double check on this?

cmirnow commented 1 year ago

I'm surprised really. It seems that until recently this problem did not exist... OK, step by step.

Install Joomla 3.10.11 (php 7.4). Go to the admin panel. Install K2 v.2.10.3 Create a category in K2. Create an Article in K2. Create a K2 article menu item. Enter the recaptcha key and enable CAPTCHA - reCAPTCHA plugin. Global Configuration -> Site Settings -> Default Captcha -> enter CAPTCHA - reCAPTCHA. Components -> K2 -> Settings -> Site -> Comments -> Anti-spam protection enter Google Recaptcha. Components -> K2 -> Settings -> Site -> Comments -> Anti-spam settings enter recaptcha keys. Open a new K2 article page and write a comment:

recaptcha1

Extensions -> Manage -> Install -> Upload Package File - > K2ForJ4-master.zip Reload the K2 article page. Write a comment:

recaptcha2

eworkers commented 1 year ago

Thought you meant captcha box not appearing, our mistake. Does the last push fix your issue?

cmirnow commented 1 year ago

Yes. It works.