• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Touch a user through the backend

CrispinP

Well-known member
#1
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?


Thanks
Crispin
 

Mike

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

CrispinP

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