News:

Looking for documentation? Take a look on our wiki

Main Menu

Plugin Development after user registration

Started by bettinz, October 02, 2015, 10:58:53 AM

Previous topic - Next topic

bettinz

Hello, I'm studying virtuemart and joomla system, and I'm pretty new to it.
I'm trying to add an "event" after user registration, like transfer user data to another system (a php page created by me).
What I know is that I need to write a plugin, but I can't find so much about user registration. Can someone help me? :)

GJC Web Design

https://docs.joomla.org/Plugin/Events/User#onUserAfterSave

if your registering the user

if not there is a   plgVmAfterUserStore in the VM user model
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

bettinz

Thank you, but the event is related to Joomla User.
What I'm looking for is an event with virtuemart registration (and fields like address, postal code, etc).
I've searched 'plgVm' and classes in php files, I've also searched in documentation without help :(

GJC Web Design

as I asked -- r u registering the users?.. then u can use the Joomla trigger

if not doesn't this fire?  plgVmAfterUserStore in the VM user model -- look in the user VM model
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