- Posts: 25
COMMUNITY FORUM
[SOLVED] Re: reCaptcha not working
- jorge mejia gallegos
-
- Offline
- Junior Member
How can recaptcha work for all components?
- B.A. Umberger
-
- Offline
- New Member
- Posts: 2
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
- Tanto Soft
-
- Offline
- New Member
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!
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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 :)
- Zehnder
-
- Offline
- New Member
- Posts: 2
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!
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
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.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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 :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
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.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Did you try the solution of B.A. Umberger ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
Krikor Boghossian wrote: 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 ?
Hi yes both Joomla and K2 are the latest versions.
I followed B.A. Umbergers' instructions to the letter.
I have also now tried Firefox as well, same problem. Previously I tried it in Chrome. Both browsers are latest versions.
So it seems that comments protected via recaptcha is not working for my site at all.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which other extensions are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
Krikor Boghossian wrote: this post proposes a different solution getk2.org/community/New-to-K2-Ask-here-first/171207-SOLVED-Problem-when-Comment-Submit-with-reCapchta#184641
Which other extensions are you using?
HI again,
So many extensions, I'm not listing them all here.
The link you posted might be for those that are NOT seeing the captcha images at all right?
I am seeing the images.
Or does that link help with the verification of the form input?
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
So many extensions, I'm not listing them all here.
It is possible there is a conflict with another extension. Is any of them using reCaptcha as well?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
Krikor Boghossian wrote:
So many extensions, I'm not listing them all here.
It is possible there is a conflict with another extension. Is any of them using reCaptcha as well?
nope
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I am running out of ideas and this more like a blackbox. Without knowing your setup is really hard to guess the issue.
Chances are some other extension is already using the reCaptcha API that is why you are seeing the wrong images.
Finally check your plugins list. You can try disabling some plugins to see if that resolves the issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- Zoran Kanti-Paul
-
- Offline
- New Member
- Posts: 6
Krikor Boghossian wrote: I still need to see that list.
I am running out of ideas and this more like a blackbox. Without knowing your setup is really hard to guess the issue.
Chances are some other extension is already using the reCaptcha API that is why you are seeing the wrong images.
Finally check your plugins list. You can try disabling some plugins to see if that resolves the issue.
Would it be easier to give you access to my admin panel?
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
- vinny
-
- Offline
- Junior Member
- Posts: 22
I think my issue was stated in this thread as it works on my contact form but not blogs....when i activate in blogs it doesn't show but gives error wrong entry...
therefore i believe its in conflict with contact sheet and blogs ....any info would be much appreciated been trying this for months...
- Yiota
-
- Visitor
Do you see the reCaptcha or it doesn't appear at all on those pages?
Also what Joomla version do you use and do you have anywhere else the reCaptcha api loading from another plugin or extension that would conflict with the Joomla's default one?