XF 1.5 Touch a user through the backend


Well-known member
Not sure how I can phrase that better....

Folks -
I have added a custom field which displays in the postbit (this works)
I then did a mass insert into xf_user_field_value with the correct field_id, user_id and value.

For the mass-inserted ones it does not show on the front-end until I go into the user and click save. Then it shows as expected.

When I go into the user the field is there and the value I put in is also there so I am guessing by saving I am triggering a cache-rebuild of some sorts.

I have tried rebuilding the user cache in tools but to no avail. Is there another way I can cause all the users to start displaying the value?



XenForo developer
Staff member
Rebuilding the user cache really should cover this. It rebuilds the custom field cache from the user_field_value table.


Well-known member
Thanks Mike. I rebuilt it again this morning and it worked. Perhaps I rebuilt something else... (I'll blame lack of sleep :) )