Exactly the same thing here
When creating the template it self
i get this:
Warning: Illegal string offset 'field5' in [path]/includes/adminfunctions_template.php(4704) : eval()'d code on line 2
v. 5.0.2
Code:
{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
<vb:if condition="$userInfo['field5']"><li><label>{vb:phrase field5_title}:</label> <span>{vb:raw userInfo.customFields.default.field5_title.val}</span></li></vb:if>
After saving it with a lower case I
it saved but its not showing up.
Hooks are active and set exactly as instructed.
Template name is the same
everything is the same but it does not show up.
Do i need to add something to conversation_userinfo
to make it show up?
wow i made it work by putting this
Code:
{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
<vb:if condition="$userInfo['field5']"><li><label>{vb:phrase field5_title}:</label> <span>{vb:raw userInfo.customFields.default.field5_title.val}</span></li></vb:if>
in conversation_userinfo
where i want the gender to be displayed.
Now another question:
Field is Gender
and can i set an image to show for each choice?
(male / female signs)