The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile edit userid
I am wanting to create a script that will run on a hidden (hidden to user, but not admin) field when an admin updates a users profile. What variable would I use to get the profile users id instead of the admin's id that is editing the profile?
$vbulletin->userinfo['userid'] is for the user that is doing the editing right? EDIT: Also should I use the profile_updateprofile hook or the userdata_postsave hook? Again only admins will be able to edit this custom profile field. I have a similar script that processes this field on registration. This field can be edited only on the registration page by the user. I don't want the scripts to overlap and run over each other. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|