Can't login ? please use the "Forgot password" under "Login"

Are you getting "We could not connect to ChronoEngine" error when you try to validate Chronoforms ? please update Chronoforms7!

Forums

Joomla event "onUserAfterSave"

deef73 posted Nov 17, 2021 at 06:14
#397415
I have made a contact page (whit some help) to which I added a password:
https://www.offirent.be/contacteer-ons/contact1
So the workflow is this:New user --> uses contactform --> contactform sends to info@offirent.be --> contactdetails will be added to the easysocial database. --> user gets a email, please confirm you're registrationExisting user --> use contactform --> contactform will sends to info@offirent.be --> user gets a email, hey user please login to easysocial.
The problem is that the onUserAfterSave is not triggered. I don't know how to do this (I am using easysocial). So I am in search of how to do this I have installed the demo form
A form to register a new Joomla user account and send an account activation email
But I don't know where to start to trigger this action. Is there someone who can give me a clue?
GreyHead posted Nov 18, 2021 at 10:40
#397424
Hi deef73,
I suspect - though I'm not certain - that the problem here is that ChronoForms writes directly to the user table and so the onUserAfterSave function is not called. You could possibly use Custom PHP to call that at the appropriate point in the process flow???
Bob
deef73 posted Nov 18, 2021 at 15:57
#397426
Is someone who can guide me out what is the best way to trigger this event?
GreyHead posted Nov 19, 2021 at 15:27
#397432
Hi deef73,
What are you trying to achieve by calling this function?
Bob
deef73 posted Nov 22, 2021 at 09:28
#397446
Easysocial "User - EasySocial" plugin doesn't get triggered when the user register via contact form.
I see, from what I test, I think this contact form process doesn't trigger this Joomla event "onUserAfterSave" so the Easysocial "User - EasySocial" plugin doesn't get triggered when the user register via contact form.If you create a new user account from the backend Joomla user page, the Easysocial will assign the newbie badge for the user account since the Joomla create new user process did trigger for this event "onUserAfterSave".Perhaps you can consult with the contact form developer and see whether the contact form submit form did allow to trigger this event "onUserAfterSave"?
GreyHead posted Nov 22, 2021 at 15:17
#397453
Hi deef73,
I guess that you could use Custom PHP either to call the Joomla event; or possibly to call directly to EasySocial.
Bob
You need to login to be able to post a reply.

 2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com