Keyword

[SOLVED] Re: reCaptcha not working

  • jorge mejia gallegos
  • jorge mejia gallegos's Avatar
  • Offline
  • Junior Member
More
10 years 10 months ago #64539 by jorge mejia gallegos
Replied by jorge mejia gallegos on topic Re: reCaptcha not working
Disablingg the recaptcha plugin does make the K2 recaptcha work... BUT I also need the recaptcha plugin to be enabled to work with other components that I have on the site (Mosets Tree and others)

How can recaptcha work for all components?
The topic has been locked.
More
10 years 9 months ago #64540 by B.A. Umberger
Replied by B.A. Umberger on topic [SOLVED] Re: reCaptcha not working
I figured out what the issue was in my case and maybe for several other too ...

There are FOUR areas where reCaptcha is configured in Joomla/K2 installation ... most everyone has been only adjusting the settings from THREE areas, the last setting is sooooo tucked away many of us missed it.

Here is a revised set of instructions for getting reCaptcha to work with Joomla and K2 ...

- Goto www.google.com/recaptcha and get your Public Key and Private Keys.
- Goto Joomla Admin > Plug-in Manager > Captcha - ReCaptcha and enter your Keys and ENABLE Plug-in.
- Goto Joomla Admin > Global Configuration > Default Captcha and set it to use "Captcha - ReCaptcha".
- Goto Joomla Admin > Components > K2 > Parameters > Comments > Anti-spam protection and set it to use "Google reCaptcha" (or Both), plus ENABLE "reCaptcha for registered users".
- Goto Joomla Admin > Components > K2 > Parameters > Advanced > down to "Anti-spam Settings" and enter your Keys again, plus set "Enable reCaptcha on registration form" to YES.

Many of us have done those steps several times trying to figure out the right combination, however there is one final step, mentioned earlier in the forum, a conflict with the default reCaptcha in Joomla vs. K2. The answer to get it to work is this ...

- Goto Joomla Admin > User Manager > Options (button) > Captcha and set it to use "NONE". This will turn-off the default user registration reCaptcha loading in the background behind K2 and causing the conflict.

End of Madness! ... Good luck everyone ... :woohoo:

Umby
The topic has been locked.
More
10 years 3 months ago #64541 by Tanto Soft
Replied by Tanto Soft on topic Re: reCaptcha not working
Google has changed javascript URL. This affects both Joomla reCaptcha and K2. To make it to work I did this:

Joomla plugin:
Edit plugins/captcha/recaptcha/recaptcha.php and change URL
Line 24: const RECAPTCHA_API_SERVER = "api.recaptcha.net/recaptcha/api";
Save file.


K2:
Edit components/com_k2/views/item/view.html.php and change URL
Line 168: change URL to "api.recaptcha.net/recaptcha/api/js/recaptcha_ajax.js"
Save file.

Done! Working for me now!
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #64542 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
Hello Tanto Soft,

This has been fixed in the newer versions of K2. For older ones your fix does the trick :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
10 years 3 months ago #64543 by Zehnder
Replied by Zehnder on topic Re: reCaptcha not working
Hi, I tried more or less all the suggestions from above, but I didn't work.

Funny thing is, that in the beginning it worked without any problems. But I think after I switched my website to german the images stopped to appear. Are there any known issues with the languages and the recaptcha function in k2? If no, has anyone an idea how to solve the problem? Would it help if I show you the website with the problem? Thanks a lot for your efforts!
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #64544 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
I don't think that is the issue. Which version of Joomla! and K2 are you using?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
10 years 3 months ago #64545 by Zoran Kanti-Paul
Replied by Zoran Kanti-Paul on topic Re: reCaptcha not working
I cannot get this working either.

I get told that the words I have entered are wrong every time.

I have settings on my Joomla 2.5 as above.

I have tried as registered and unregistered users, no difference. IN my case I really only want my site users have the ability to post comments. And I would love them to use recaptcha.
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #64546 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
You have deactivated the default Joomla! reCaptcha plugins, right?

You can deactivate caching as well to make sure this not a caching issue.
Finally are you using any third party caching plugins?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
10 years 3 months ago #64547 by Zoran Kanti-Paul
Replied by Zoran Kanti-Paul on topic Re: reCaptcha not working

Krikor Boghossian wrote: You have deactivated the default Joomla! reCaptcha plugins, right?

You can deactivate caching as well to make sure this not a caching issue.
Finally are you using any third party caching plugins?


No 3rd party caching plugins. Disabled caching still the same problem.
The topic has been locked.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #64548 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: reCaptcha not working
Are you using the latest version of K2? Also you are not behind a CDN by any chance?

Did you try the solution of B.A. Umberger ?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.

Powered by Kunena Forum