• 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

Cooper

Active member
#1
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
 

JVCode

Well-known member
#2
Confirmed. After creating a new user account, the custom user information from my only other registered member is being shown on the new account.
 

Kier

XenForo Developer
Staff member
#3
Can you verify this with an unmodified style? (Apart from the 'Show custom fields' style property)
 

Kier

XenForo Developer
Staff member
#5
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}}}