The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
You haven't defined $username_new to anything....
|
#3
|
|||
|
|||
![]()
it's defined...I just didn't show it here
|
#4
|
||||
|
||||
![]()
It'd be good if you did show everything, then I could help you better.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|