Forum support

We provide good documentation for our free Joomla! extensions, including online documentatation directly in the administraton interface. If you need further individuel help with our free Joomla! extensions, you can subscribe for our payed support forum. Please apply for the paid forum support here and log in with the user id of the user with whom you have purchased the forum support.

Forum Support is free as long as you have an active Visforms Subscription or an active Subscription for the Bootstrap Carousel. Please just log in with your subscription user id.

Read-only use of the forums is free for everybody.

Topic-icon graphic error with captcha-recaptcha 2.0

More
3 years 4 months ago #2713 by alexmurphy
graphic error with captcha-recaptcha 2.0 was created by alexmurphy
vis form does not display the captcha with joomla 3.5.0 and visform 3.6.10 and captcha plugin 3.4

is this a problem due to visform or plugins joomla?

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #2714 by Administrator
Replied by Administrator on topic graphic error with captcha-recaptcha 2.0
Hi,

thanks for the information!!

I fear that is a problem due to Visforms.
I will check into this as soon as possible and if necessary provide a bugfix.
I was told, that recaptcha 1 still works and there is the Visforms captcha as an alternative, too as a workaround, until I can tell you whether this is due to visforms or not and provide a bugfix if it is cause by Visforms.

Regards,
Aicha

-- Visforms Developer --

I helped you? The best way to thank me is to post a review on Joomla! Extensions Directory or to use the donate button to the right and make a donation. :)

Always consult our documentations before asking a question on our forum, the answer is most probably there. ;)

Konnte ich dir helfen? Die beste Art mir zu danken ist es, ein Review auf Joomla! Extensions Directory zu schreiben oder den Spendenbutton rechts zu verwenden, um mir eine Spende zukommen zu lassen. :)

Bitte konsultiere immer zuerst unsere Dokumentationen bevor du eine Frage im Forum stellst, die Antwort ist bestimmt da. ;)

Enjoy Joomla!
The following user(s) said Thank You: alexmurphy

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #2715 by Administrator
Replied by Administrator on topic graphic error with captcha-recaptcha 2.0
Hi,

well I should have used the Jooma! JCaptcha class to include the repcaptcha in the form.
But, as I did not, Visforms is not able to handle Recaptcha V2.0 properly.
You can change this relatively easily.
Open the file administrator/components/com_visforms/helpers/html/visforms.php
There is a function getCaptchaHtml
Find the code lines
else if ($form->captcha == 2) 
                {
                    JPluginHelper::importPlugin('captcha');
                    $dispatcher = JDispatcher::getInstance();
                    $dispatcher->trigger('onInit','dynamic_recaptcha_1');
                    $html .= '<div id="dynamic_recaptcha_1"></div>';
                }
in this function and replace it with
else if ($form->captcha == 2) 
                {
                    $captcha = JCaptcha::getInstance('recaptcha');
                    $html .= $captcha->display(null, 'dynamic_recaptcha_1', 'required');
                }
I had to generate new Recaptacha 2.0 compatible keys as well but after that and clearing all browser caches, the V2 Recaptcha was displayed properly and work fine.
Please let me know, if this fixes the problem. I could merge thechanges into the Visforms code then and (after waiting a bit longer if any other issues with Joomla! 3.5 pop up) can release a bugfix version of Visforms.

Regards,
Aicha

-- Visforms Developer --

I helped you? The best way to thank me is to post a review on Joomla! Extensions Directory or to use the donate button to the right and make a donation. :)

Always consult our documentations before asking a question on our forum, the answer is most probably there. ;)

Konnte ich dir helfen? Die beste Art mir zu danken ist es, ein Review auf Joomla! Extensions Directory zu schreiben oder den Spendenbutton rechts zu verwenden, um mir eine Spende zukommen zu lassen. :)

Bitte konsultiere immer zuerst unsere Dokumentationen bevor du eine Frage im Forum stellst, die Antwort ist bestimmt da. ;)

Enjoy Joomla!
The following user(s) said Thank You: alexmurphy, Pilzfreunde

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #2725 by alexmurphy
Replied by alexmurphy on topic graphic error with captcha-recaptcha 2.0
yes fix it!
Do you insert this fix in next update version of visform? :)

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #2726 by Administrator
Replied by Administrator on topic graphic error with captcha-recaptcha 2.0
Hi,

thanks for the response!

I will insert it for sure in Visforms 3.7.1 (beta).
I think I will release a stable Visforms 3.6.11 with this fix to, but only after I have waited a bit longer, if there comes up other problems with Joomla! 3.5 so that I can make one release for all problems cause by the update of Joomla! 3.5.

Regards,
Aicha

-- Visforms Developer --

I helped you? The best way to thank me is to post a review on Joomla! Extensions Directory or to use the donate button to the right and make a donation. :)

Always consult our documentations before asking a question on our forum, the answer is most probably there. ;)

Konnte ich dir helfen? Die beste Art mir zu danken ist es, ein Review auf Joomla! Extensions Directory zu schreiben oder den Spendenbutton rechts zu verwenden, um mir eine Spende zukommen zu lassen. :)

Bitte konsultiere immer zuerst unsere Dokumentationen bevor du eine Frage im Forum stellst, die Antwort ist bestimmt da. ;)

Enjoy Joomla!
The following user(s) said Thank You: alexmurphy

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #2727 by Pilzfreunde
Replied by Pilzfreunde on topic graphic error with captcha-recaptcha 2.0
Mit der Code-Ă„nderung funktionierts perfekt, danke.

Please Log in or Create an account to join the conversation.

Moderators: Administrator