Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Due to public holidays and vacations, longer response times can be expected for inquiries in the forum between December 20, 2024 and Janaury 8, 2025.

graphic error with captcha-recaptcha 2.0

More
8 years 9 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?

More
8 years 9 months ago #2714 by Administrator AV
Replied by Administrator AV 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

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: alexmurphy

More
8 years 9 months ago #2715 by Administrator AV
Replied by Administrator AV 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
Code:
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
Code:
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

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: alexmurphy, Pilzfreunde

More
8 years 9 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? :)

More
8 years 9 months ago #2726 by Administrator AV
Replied by Administrator AV 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

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: alexmurphy

More
8 years 9 months ago #2727 by Pilzfreunde
Replied by Pilzfreunde on topic graphic error with captcha-recaptcha 2.0
Mit der Code-Änderung funktionierts perfekt, danke.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum