News:

Looking for documentation? Take a look on our wiki

Main Menu

does Virtuemart trigger the onBeforeSave and onAfterSave events?

Started by rage76, May 07, 2014, 07:35:20 AM

Previous topic - Next topic

rage76

Hi, I am looking for an anti-spam solution for VM registration. Can anyone guide me a good one?

Alternately, does anyone know if Virtuemart triggers the onBeforeSave and onAfterSave events?

Thanks

J 2.5.19
VM 2.6.0

AH

VM 2.6.0 now utilises Joomla Captcha for registration

Enable the Joomla Captca - ReCaptcha plugin

Get the key:

https://www.google.com/recaptcha/admin#whyrecaptcha

Then in VM Admin/Configuration

Enable Use "ReCaptcha for Registration"



Regards
A

Joomla 4.4.5
php 8.1

rage76

Thanks for the support Hutson. That was done nice & easy. 2 more things though:

1. The "register & cancel" buttons show on the top of the form. Can they be brought below the captcha?

2. I have a feeling that spam registrations do not use the registration form and somehow byepass it because I have enabled email activation link to enable & activate the registration process; but the spam registrations mostly show that they are enabled & activated !!

Your suggestions on this shall be very helpful.

GJC Web Design

1. by changing your template with an over ride

2. seems unlikely - if you really do require activation (it will kill your shop - 50% will not know what to do - the rest won't find the email..  ;)  )
and you have tested it working how good they possibly bypass a key core joomla process?
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

rage76

Hello GJC

Thanks for the reply to my query. I have disabled the activation. Will wait and see the fate of spam registrations with this !!

As for the "register & cancel" button, can you please guide me to the file I need to override?

Warm regards

Rajesh

GJC Web Design

what sort of spam regs are they?  just idiots, people trying to leave spam links?

I run a lot of shops and don't find spammy registrations particually a problem with VM as there's too many fields and they are lazy

joomla spam registrations is another matter - plenty of those

to over ride the buttons do an over ride for components/com_virtuemart/views/user/tmpl/edit_address.php
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