XF 1.5 Question about customuser fields

DEZero

Well-known member
So I want to display a custom userfield outside of the extra user info, at the moment I set up my postbit horizontally and want to display a custom field under my username and title. I am using the {$choice} value to select a certain image depending on what the user pics in the drop down. My issue is if I try to place something like this:

<xen:if is="{$user.customFields.Maingame}">
<img class= "official1 Tooltip" title="Main Game" src="/image%20ranks/{$choice}.png"/>
</xen:if>


Anywhere it does not pick up the image at all, i have also done a full path. It works just fine if i do it via the Value Display HTML. If anyone can point me in the right direction I would appreciate it here is a screenshot on what i want to try to do.:

example.webp
 
Back
Top Bottom