Pol
Member
Hello,
I'm trying to execute code when a user upgrade his account.
For example i'm looking to execute a query on external database when user changing his usergroup.
On Xenforo 1, i used this code : https://xenforo.com/community/resources/run-query-on-user-upgrade-code-example.396/
But on Xenforo 2, this seems to be different.. i'm lost
I have to manage a event ? But wichs one ? I really search tips or solution but i found nothing on documentation
That's why i'm looking for help
Thank's
Regards,
I'm trying to execute code when a user upgrade his account.
For example i'm looking to execute a query on external database when user changing his usergroup.
On Xenforo 1, i used this code : https://xenforo.com/community/resources/run-query-on-user-upgrade-code-example.396/
But on Xenforo 2, this seems to be different.. i'm lost
I have to manage a event ? But wichs one ? I really search tips or solution but i found nothing on documentation
That's why i'm looking for help
Thank's
Regards,