1. 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

Discussion in 'XenForo Questions and Support' started by CrispinP, May 24, 2016.

  1. CrispinP

    CrispinP Active 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?

  2. Mike

    Mike XenForo Developer Staff Member

    Rebuilding the user cache really should cover this. It rebuilds the custom field cache from the user_field_value table.
    CrispinP likes this.
  3. CrispinP

    CrispinP Active Member

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

Share This Page