![]() |
How Do I Update A User?
How do I update a user using the data manager user?
I'd like to update different fields at different times such as username or email I've got this but it doesn't seem to work. $userdm =datamanager_init('User', $vbulletin, ERRTYPE_ARRAY); $userdm->set_existing($vbulletin->userinfo); $userdm->update_username($userid, $username_new); $userdm->save(); Thanks |
You haven't defined $username_new to anything....
|
it's defined...I just didn't show it here
|
It'd be good if you did show everything, then I could help you better.
|
All times are GMT. The time now is 07:11 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:
|