Account Maintenace can't be shown when activating Use ReCaptcha for Registration

Started by patbe60, February 21, 2024, 12:36:03 PM

Previous topic - Next topic

patbe60

I'm using Virtuemart "Account Maintenance" as a menu item. As soon as I activate "Use ReCaptcha for Registration" in the VM configuration the site can't be found. Without activating this option I don't have problems.
This happens since I changed to Joomla 5

I'm using J 5.0.3 and VM 4.2.6 10972.

May be also this error message helps to solve the problem (?):

Too few arguments to function Joomla\Plugin\Editors\None\Extension\None::onDisplay(), 3 passed in /home/panmusic/public_html/libraries/src/Plugin/CMSPlugin.php on line 289 and at least 6 expected

I didn't have any problems in Joomla 4.

ketbel

I have the same problem. After set "Use ReCaptcha for Registration" to "No" the error message disappeared.

I also use Joomla 5.0.3 and VM 4.2.6 10972 
Virtuemart v. 4.2.16 11030
Joomla v. 5.1.1
PHP 8.1.29
VMuikit X 10.37
Payplan 5.0.7
Admin Tools Professional 7.4.2

GJC Web Design

temp fix till this is in the core:

components\com_virtuemart\helpers\shopfunctionsf.php  ~ line 1256

currently

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required'));
change to

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required',null,null,null));
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

stawebnice

Hi Max,

now that they're making Google ReCaptcha paid, I decided to switch to this captcha:
https://onlinecommunityhub.nl/downloads/ochcaptcha/file/plg-captcha-ochcaptcha-1-1-1

Can VM be edited to use any captcha that is set as default in Joomla setting, please?

Petra

TheThingIs

Quote from: stawebnice on March 22, 2024, 10:45:36 AMnow that they're making Google ReCaptcha paid,

May I ask where did you read that?

As far as I can see both Google and Hcaptcha are still free for developers and Enterprise is free upto 1,000,000 calls per month.
I don't read any news?


Cheers

fotonio

Quote from: GJC Web Design on March 12, 2024, 12:56:42 PMtemp fix till this is in the core:

components\com_virtuemart\helpers\shopfunctionsf.php  ~ line 1256

currently

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required'));
change to

$output = vDispatcher::trigger('onDisplay', array($reCaptchaName, $id, 'g-recaptcha required',null,null,null));

I tried this. The error goes away but now there is a text input box on the end of the form saying "recaptcha dynamic_" that will be confusing for the visitors.

patbe60

Quote from: fotonio on May 08, 2024, 18:49:00 PMI tried this. The error goes away but now there is a text input box on the end of the form saying "recaptcha dynamic_" that will be confusing for the visitors.
Same here. And the problem is not solved with the newest VM version 4.2.10 11010.

GJC Web Design

Yes -- I couldn't get ReCaptcha to work at all thru VM 4.x so gave up and now use https://kubik-rubik.de/ecc-easycalccheck-plus with the shortcode {easycalccheckplus} on all the VM forms
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

patbe60

Still not solved with version 4.2.14.11022
I have deactivated now ReCaptcha and looking forward for a lot of spam mails.

GJC Web Design

This has been solved now thanks to hard work by Max & Stan and will be included in the next release...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

patbe60

Thank you! I've just tested it and it works fine now.