JComments - can't disable CAPTCHA


Not possible to disable CAPTCHA for Public user group in Settings > Permissions > Public (JComments 3.0.0). After saving the changes "Enable CAPTCHA" check-box gets checked again.


The issue is a bug confirmed by JComments developer "smart" here.

Until fixed version is released this can be fixed by editing file:

On line 169, after code:

if (is_array($data))

Add following code:

$config = JCommentsFactory::getConfig();
 JForm::addFormPath(JPATH_COMPONENT . '/models/forms');
 JForm::addFieldPath(JPATH_COMPONENT . '/models/fields');
 $form = JForm::getInstance('jcomments.permissions', 'permissions', array('control' => ''), false, '/permissions');
 foreach ($form->getFieldsets() as $fieldset) {
 foreach ($form->getFieldset($fieldset->name) as $field) {
 $key = $field->fieldname;
 if (!isset($data[$key])) {
 $data[$key] = '';



Luis Arias
+1 # Luis Arias 2014-05-14 16:39
Thank you for the help! :lol:


Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait