The new version of Joomla - 2.5 has a captcha form element built
in - which is great. However, if you install K2 (2.5.6) this also uses
the same ReCaptcha element. Unless you get the settings just right the
two will conflict in strange ways. In order for the system to work you
need to
"The words you typed did not match the ones displayed. Please try again."
Or if you disable just the K2 Captcha then you get this error message:
Empty solution not allowed.
- Disable the Captcha -ReCaptcha component in the Joomla Comonent Manager
- Go to the User Manager and then to the Options (Users Configuration) and set Captcha to be "none selected"
- Go to the K2 configuration and enable Captcha and enter your public and private keys.
"The words you typed did not match the ones displayed. Please try again."
Or if you disable just the K2 Captcha then you get this error message:
Empty solution not allowed.
-------------------------------------------------------------------------------------------------
I have resolved the problem
You don't have to disable anything, just to get the Captcha - ReCaptcha plugin working on K2 comment you have to follow these steps:
1 - ON www.google.com/recaptcha Go to
- USE reCAPTCHA ON YOUR SITE
- ADD Gmail account if you don't have, or log in if you have.
- Go MY ACCOUNT -> + Add a New Site
- Create a reCAPTCHA key -> ADD your Domain -> Create a Key.
- Copy (Public Key and then you will copy the Private Key)
2 - On your admin panel go to:
- Component -> K2 -> Parameters -> Comments-> Active reCaptcha -> Yes.
- Go to Component -> K2 -> Parameters -> Advanced -> Anti-spam.
- Past the two Key that you have from Google. (Public and Private Key)
-> Refresh you site and you got it ^_^
IF YOU STILL DON'T HAVE THE CAPTCHA WORKING:
Make sure you have enabled the K2 plugin and Comments on the Category options.
That should be resolving your problem.
- IF, IF that is still not working:
- Go to your site
- Click " F12 " on Google Chrom / Control+F12 (Firebugs, Firefox)
- Refresh your web site
- If you have a JavaScript errors try to find what is your problems and solutions.
- Last thing if you don't have any JS problem, You should re-install joomla xD
That is all
If there is still problem do following step:
----------------------------------------
Hi there; it seems jQuery is not well loaded in your site.
Do the following:
1. Go to plugin, and ensure that K2 system plugin is enabled (i.e on the back end, go to Extensions, select plugin manager, check out k2 system plugin and ensure it is enabled).
2. Ensure that you setup correctly the jQuery handling options under K2 parameters. All you need to do is go to admin back end, click under components, go to K2 component. Once it is, click on k2 parameters. Check under 'layout & views'. Check jQuery library handling; set it to load v.1.8.2 local; also do the same under Backend jQuery & jQuery UI handling; set it to local copy.
Ensure your k2 comments are enabled and alas, everything will work.
IF THE ABOVE FAILS -- I AM DEAD SURE IT WONT; DO THE FOLLOWING:
Make sure that there is no other javascript error on your page preventing reCAPTCHA from operating. Have in mind that you only need one copy of jQuery on your site. K2 namespaces jQuery with $K2.
Instead of the following:
$(document).ready ....
You can use the following:
$K2(document).ready ....
Cheers!
Do the following:
1. Go to plugin, and ensure that K2 system plugin is enabled (i.e on the back end, go to Extensions, select plugin manager, check out k2 system plugin and ensure it is enabled).
2. Ensure that you setup correctly the jQuery handling options under K2 parameters. All you need to do is go to admin back end, click under components, go to K2 component. Once it is, click on k2 parameters. Check under 'layout & views'. Check jQuery library handling; set it to load v.1.8.2 local; also do the same under Backend jQuery & jQuery UI handling; set it to local copy.
Ensure your k2 comments are enabled and alas, everything will work.
IF THE ABOVE FAILS -- I AM DEAD SURE IT WONT; DO THE FOLLOWING:
Make sure that there is no other javascript error on your page preventing reCAPTCHA from operating. Have in mind that you only need one copy of jQuery on your site. K2 namespaces jQuery with $K2.
Instead of the following:
$(document).ready ....
You can use the following:
$K2(document).ready ....
Cheers!
No comments:
Post a Comment