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

Fixed Custom Profile Field Same for other users

Discussion in 'Resolved Bug Reports' started by Cooper, Oct 5, 2011.

  1. Cooper

    Cooper Active Member

    Set up a custom profile field, entered my own details, added it to the message_user_info

    Now appears for *some* not all users with my details:

    Capture.JPG
     
  2. JVCode

    JVCode Well-Known Member

    Confirmed. After creating a new user account, the custom user information from my only other registered member is being shown on the new account.
     
  3. Kier

    Kier XenForo Developer Staff Member

    Can you verify this with an unmodified style? (Apart from the 'Show custom fields' style property)
     
  4. JVCode

    JVCode Well-Known Member

    Yes, I have created a new default style.
     
  5. Kier

    Kier XenForo Developer Staff Member

    In the message_user_info template, find this:
    Code:
    {xen:helper userFieldValue, $fieldInfo, $visitor, {$user.customFields.{$fieldId}}}
    and replace with this
    Code:
    {xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}
     
    Fuhrmann, Cooper and Michael like this.
  6. JVCode

    JVCode Well-Known Member

    That fixed it.
     
  7. Cooper

    Cooper Active Member

    Fixed it here too. :)
     

Share This Page