Fixed Custom Profile Field Same for other users

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
 

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.
 

Kier

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

Kier

XenForo developer
Staff member
In the message_user_info template, find this:
Rich (BB code):
{xen:helper userFieldValue, $fieldInfo, $visitor, {$user.customFields.{$fieldId}}}
and replace with this
Rich (BB code):
{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}
 
Top