![]() |
Profile Edited Hook problem
Hi All,
My aim is to "mirror" user profile information to another mySQL table. So I need to update this mirror table on profile changes (when user edited his profile). for exemple, if user modify his/her email address in userCP. The following hook is working but ... PHP Code:
I tried placing hook in many location like profile_updatepassword_complete, profile_complete, etc. I tried refresh by calling global.php I even try to move hook location after $userdata->save(); in profile.php Hope I am clear enough. Thanks for your help. vB version is 3.8.0 |
You should use the hook userdata_post_save_each. This is executed every time user data is updated and will have the necessary variables for the user already there.
|
All times are GMT. The time now is 09:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|