Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×
RND Kcombo - Kunena game template (27 Nov 2017)

RND KCombo is a dark template and is best for game forums. It is also can be used in a lot of sites related to cinema, gaming, book forums and other.

recaptcha v2 problem

3 weeks 3 days ago - 3 weeks 3 days ago #873 by Wiktor Kalita
recaptcha v2 problem was created by Wiktor Kalita
1. Recaptcha v2 is invisible on the comments form.

www.roland-gazeta.pl/uwaga/wszystkie-kat...nicy-miekini-zdjecia

2. How to change the color of the buttons from blue to burgundy?

3. Inserting the invisible Recaptcha (very desirable)


Thank you for your help! Kamil.
Attachments:

3 weeks 5 hours ago #876 by Eugene S.
Replied by Eugene S. on topic recaptcha v2 problem
Hello Kamil,
1. As far as I know, the official JComments has no Google Captcha support.
We are using a fork of JComments that supports Google Captcha v.2 and is PHP7 compliant.
github.com/exstreme/Jcomments-Recaptcha2

But it seems our templates should be updated for Google Captcha support.
Try to patch the following file:
/yoursite/components/com_jcomments/tpl/rnd_jelegant/tpl_form.php
Find lines 126-135:
<?php
		}

		if ($this->getVar('comments-form-captcha', 0) == 1) {
			$html = $this->getVar('comments-form-captcha-html');
			if ($html != '') {
				echo $html;
			} else {
				$link = JCommentsFactory::getLink('captcha');
?>

And replace them to:
<?php
		}
		if ($this->getVar('comments-form-captcha', 0) == 1) {
			$html = $this->getVar('comments-form-captcha-html');
            if ($html == 'recaptcha') {
                    // Recaptcha
                $recaptcha = JCaptcha::getInstance('recaptcha', array('namespace' => 'anything'));
                echo $recaptcha->display('recaptcha', 'dynamic_recaptcha_1','g-recaptcha');
            }
			elseif ($html != '') {
?>

2. You need to customize CSS here:
www.roland-gazeta.pl/components/com_jcom...d_jelegant/style.css
Find colors:
#6493BD - button
#51789B - hover button
And replace these colors on yours.

3. Invisible Captcha is Google Captcha ver.3.0. I do not know such a fork of JComments.
Recently official JComments 3.0.7 was released, but its code is not refactored to meet PHP7 standards and I we do not use it.
Please contact a component developer and send him a feature request.

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!