- Posts: 7
COMMUNITY FORUM
You can also add Recaptcha in contact form too
- Ibrahim Bdawy
- Offline
- New Member
Less
More
14 years 7 months ago #73219
by Ibrahim Bdawy
Replied by Ibrahim Bdawy on topic You can also add Recaptcha in contact form too
Danel Westerdale said:To try and resolve this issue I have tried to isolate K2
1) disabled reCAPTCHA in the K2 Params
2) plugin still enabled and untouched
Added a contact form for Me in a dummy main menu link
/public_html/components/com_user/views/login/tmpl/default_login.php
and added the {captcha) syntax
......
Result ... there is not even a glimmer of the reCAPTCHA graphic.
I wonder in this case if I am not modifying the correct form bacause I changed the label text for the
"Remember Me" checkbox and refreshed and nothing changed.....
I also noticed that under my installed template I have
/public_html/templates/rt_affinity_j15/html/com_user/login so now I think this might be he login form I need
UPDATE: Yes it was the wrong login form and I can see my reCAPTCHA graphic.. the issue looks like the K2 / reCAPTCHA integration
d.k.shukla said:Hi It is very unfortunate that this solution could not worked at your website.It is working normal at my website. I think that reason of sluggishness are following, 1- slow response of recaptcha.net website
2- css and template related issue
Please check your php error file.
It is better to check recaptcha functionality in different form other than k2 component, if it work fine then implement in k2 comment,please don't forget to disable recaptcha functionality in k2,please also get ensure that some other plug in not get installed which are using recaptcha.
I hope above may help you.
With best wishes.
Danel Westerdale said:Hi Well the feedback is Yes and No! Yes after setting auto verify I did have the reCAPTCHA graphic on my form. I was about to reply to you then I thought I better make absolutely certain...... I have now test it a number of times:
1) My site does appear more sluggish when rendering the form
2) when I input the contact form and press TAB to enter the 2nd Word in the reCAPTCHA graphic the reCAPTCHA graphic simply disappears ( without any postback involved)
3) The reCAPTCHA graphic and sometimes the submit button do NOT occasionally appear on the form when I ever refresh the form.
Regards
Daniel
d.k.shukla said:Hi I think you are doing everything correct except you are not selecting yes to auto verify in JEZ reCAPTCHA Integrator Plugin, After selecting it to yes,it will work. If you are facing any difficulty then please post your feedback. Best of luck. Shukla
Danel Westerdale said:Hi I have been following your excellent posts regarding enabling Recaptcha in K2 and I have stumbled across the issue whereby I can refresh the comment form for my post and the ReCaptcha graphic appears....then it promptly disappears before my users get a chance to complete form!. To recap my setup I have summarised my steps as follows: Firstly, go to the recaptcha.net/ and create your reCAPTCHA Key for either you single domain or all domains (globally)
Go to www.joomlaez.com/ then download and install the JEZ reCAPTCHA Integrator Plugin
Now, login to your Joomla administration panel and navigate to Extensions -> Plugin Manager -> System - JEZ reCAPTCHA Integrator then configure JEZ reCAPTCHA Integrator plugin as following:
Enabled: Yes
reCAPTCHA Public Key: your public key
reCAPTCHA Private Key: your private key
Inclusion Syntax: Yes
Auto-verify: No
On the Joomla administration panel and navigate to Components -> K2 -> Parameters
Enable reCaptcha: Yes
reCaptcha public key: your public key
reCaptcha private key: your private key
Using your FTp client or SSH or whatever
edit /public_html/components/com_k2/templates/default/item_comments_form.php
Comment out lines 34-35 and add the {captcha} inclusion syntax as show in the attached item_comments_form.php form
Any ideas please?
1) disabled reCAPTCHA in the K2 Params
2) plugin still enabled and untouched
Added a contact form for Me in a dummy main menu link
/public_html/components/com_user/views/login/tmpl/default_login.php
and added the {captcha) syntax
......
Result ... there is not even a glimmer of the reCAPTCHA graphic.
I wonder in this case if I am not modifying the correct form bacause I changed the label text for the
"Remember Me" checkbox and refreshed and nothing changed.....
I also noticed that under my installed template I have
/public_html/templates/rt_affinity_j15/html/com_user/login so now I think this might be he login form I need
UPDATE: Yes it was the wrong login form and I can see my reCAPTCHA graphic.. the issue looks like the K2 / reCAPTCHA integration
d.k.shukla said:Hi It is very unfortunate that this solution could not worked at your website.It is working normal at my website. I think that reason of sluggishness are following, 1- slow response of recaptcha.net website
2- css and template related issue
Please check your php error file.
It is better to check recaptcha functionality in different form other than k2 component, if it work fine then implement in k2 comment,please don't forget to disable recaptcha functionality in k2,please also get ensure that some other plug in not get installed which are using recaptcha.
I hope above may help you.
With best wishes.
Danel Westerdale said:Hi Well the feedback is Yes and No! Yes after setting auto verify I did have the reCAPTCHA graphic on my form. I was about to reply to you then I thought I better make absolutely certain...... I have now test it a number of times:
1) My site does appear more sluggish when rendering the form
2) when I input the contact form and press TAB to enter the 2nd Word in the reCAPTCHA graphic the reCAPTCHA graphic simply disappears ( without any postback involved)
3) The reCAPTCHA graphic and sometimes the submit button do NOT occasionally appear on the form when I ever refresh the form.
Regards
Daniel
d.k.shukla said:Hi I think you are doing everything correct except you are not selecting yes to auto verify in JEZ reCAPTCHA Integrator Plugin, After selecting it to yes,it will work. If you are facing any difficulty then please post your feedback. Best of luck. Shukla
Danel Westerdale said:Hi I have been following your excellent posts regarding enabling Recaptcha in K2 and I have stumbled across the issue whereby I can refresh the comment form for my post and the ReCaptcha graphic appears....then it promptly disappears before my users get a chance to complete form!. To recap my setup I have summarised my steps as follows: Firstly, go to the recaptcha.net/ and create your reCAPTCHA Key for either you single domain or all domains (globally)
Go to www.joomlaez.com/ then download and install the JEZ reCAPTCHA Integrator Plugin
Now, login to your Joomla administration panel and navigate to Extensions -> Plugin Manager -> System - JEZ reCAPTCHA Integrator then configure JEZ reCAPTCHA Integrator plugin as following:
Enabled: Yes
reCAPTCHA Public Key: your public key
reCAPTCHA Private Key: your private key
Inclusion Syntax: Yes
Auto-verify: No
On the Joomla administration panel and navigate to Components -> K2 -> Parameters
Enable reCaptcha: Yes
reCaptcha public key: your public key
reCaptcha private key: your private key
Using your FTp client or SSH or whatever
edit /public_html/components/com_k2/templates/default/item_comments_form.php
Comment out lines 34-35 and add the {captcha} inclusion syntax as show in the attached item_comments_form.php form
Any ideas please?
Please Log in or Create an account to join the conversation.