I just try to save a field to the table user.
I do it like this
Now i want to do the same thing to xf_user.new_field
XF answers me that new_field could not be recognized.
How can i tell XF to know my new field, please?
I do it like this
Code:
// update user
$dw = XenForo_DataWriter::create('XenForo_DataWriter_User');
$dw->setExistingData($user);
$dw->set('custom_title', "Test");
$dw->save();
Now i want to do the same thing to xf_user.new_field
XF answers me that new_field could not be recognized.
How can i tell XF to know my new field, please?