John template - Captcha doesn't works

Creative, responsive and unique Joomla template to create personal portfolio website with amazing animations and clean design.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jun 26, 2014 12:34 pm
Reply with quote
Report this post
Hi, I've installed John's Template on joomla 3.2.3 but captcha belows comments doesn't appear.
User avatar
Fresh Boarder

GK User
Thu Jun 26, 2014 7:20 pm
Reply with quote
Report this post
Hello,

Did you set the reCAPTCHA keys in the reCAPTCHA plugin and K2 component settings?
User avatar
Administrator

GK User
Wed Jul 02, 2014 11:50 am
Reply with quote
Report this post
Hi Duke, can you help me plase? I followed every posts about this issue, but I can't solve the problem.... Website is offline, so I can't tell username and password to everybody :(
User avatar
Fresh Boarder

GK User
Thu Jul 03, 2014 12:10 pm
Reply with quote
Report this post
Please try to open file html/com_k2/templates/default/item_comment_form.php and please try to replace fragment:

Code: Select all
<?php if($this->params->get('recaptcha') && $this->user->guest): ?>


to:

Code: Select all
<?php if($this->params->get('recaptcha') && ($this->user->guest || $this->params->get('recaptchaForRegistered', 1))): ?>
User avatar
Administrator

GK User
Thu Jul 03, 2014 5:09 pm
Reply with quote
Report this post
dziudek wrote:Please try to open file html/com_k2/templates/default/item_comment_form.php and please try to replace fragment:

Code: Select all
<?php if($this->params->get('recaptcha') && $this->user->guest): ?>


to:

Code: Select all
<?php if($this->params->get('recaptcha') && ($this->user->guest || $this->params->get('recaptchaForRegistered', 1))): ?>


This is my default code:
Code: Select all
<?php if($this->params->get('recaptcha') && ($this->user->guest || $this->params->get('recaptchaForRegistered', 1))): ?>
User avatar
Fresh Boarder

GK User
Fri Jul 04, 2014 7:58 am
Reply with quote
Report this post
You had opened the file in the K2 component files not the overrided one - the html/com_k2/templates/default/item_comment_form.php file is located in the template directory.
User avatar
Administrator

GK User
Fri Jul 04, 2014 9:43 am
Reply with quote
Report this post
Good morning. I didn't change anything, but now captcha works O.o
User avatar
Fresh Boarder


cron