The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have created two custom profile fields which the user can not see but are updated based on their other profile data. However, I can't get the update to actually do anything.
This is a plugin at hook location profile_updateprofile Code:
$zipcode = $userdata->fetch_field('field16'); if(isset($zipcode)){ // this is where the code doesn't do anything... $userfields = array( 'field16' => 'hello', 'field17' => 'world' ); $userdata->set_userfields($userfields, true, 'admin'); die("updated"); } Ideas? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|