Conditional for profile and pulling custom field data


Active member
Hey everyone I am wondering how I can go about pulling custom field data on the members profile pages, I currently use this for the message template:


But that doesnt work and nor does:


In the member_view template.

I also want this data to change based on the profile you are viewing, say Bob put he liked bananas under a Favourite Food field, when viewing Bobs profile it would say he liked bananas where if you view Peters profile you would find out he liked pizza, I am sure you will get the idea :D

Any ideas of what I am looking for?

Thank you!

Jake Bunce

XenForo moderator
Staff member
{$user.customFields.my_identifier} works for me. Be sure to replace "my_identifier" with the id of the field.