XF 1.5 {$user.customFields} not working in member_list_item


Well-known member

i am facing issue with custom user fields variable , its not printing out the value of custom user field whereas when i check dump of $user variable the values of field is available

i used this for printing out the value {$user.customFields.locationla}

and this dump is available for one user but it display nothing

["custom_fields"] => string(178) "a:8:{s:10:"locationla";s:3:"625";s:10:"locationln";s:4:"1756";s:3:"aim";s:0:"";s:3:"icq";s:0:"";s:5:"yahoo";s:0:"";s:5:"skype";s:0:"";s:8:"facebook";s:0:"";s:7:"twitter";s:0:"";}"


XenForo developer
Staff member
The dump you showed is "custom_fields". The "customFields" value requires data to be prepared which (presumably) isn't done there, so what you want isn't directly available in the template.