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

Conditional for profile and pulling custom field data

Discussion in 'Styling and Customization Questions' started by Michael, Feb 5, 2012.

  1. Michael

    Michael 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!
  2. Jake Bunce

    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.

Share This Page