Right now I'm editing the XenForo templates to check to see if a user field is entered. It is a dropdown in "Preferences" with values correlating with 4 for Group A, 5 for Group B, etc. I'm using <xen if="{$user.customFields.a_field_in_preferences} == '4'">...</xen:if>, however {$user.customFields.fieldname} is usually blank. This is in relation to editing a template for the postbit section. Is there a separate variable I'm missing?
(Sorry if I'm making a lot of posts, still new to xenforo programming and everything.)
(Sorry if I'm making a lot of posts, still new to xenforo programming and everything.)