XF 2.0 Updating custom user field from external script

k3ithos

Member
Is it possible to update custom user fields for a user from an external script, not using any XenForo classes and functions at all? I believe data for fields are stored in the xf_user_profile and xf_user_field_value tables?
 
If you know where the data is stored, you'd just need to form an UPDATE query and fire that up. Depending on what language your script is written in you'd want to use a prepared connector and leave the rest of the work to that bridge.
 
If you know where the data is stored, you'd just need to form an UPDATE query and fire that up. Depending on what language your script is written in you'd want to use a prepared connector and leave the rest of the work to that bridge.
The problem is that the custom fields data in the xf_user_profile table is BLOB data, so how would I insert a record and update that?
 
Back
Top Bottom