The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|