Reply to thread

Searched for this issue but didn't see it in the bug forums so here goes.


I created a Custom User Field as follows:


[ATTACH]19658[/ATTACH]


[ATTACH]19659[/ATTACH]


[ATTACH]19660[/ATTACH]


It shows up just fine in the Profile of the person:


[ATTACH]19661[/ATTACH]


But on the postbit it's not there, I did set the checkbox in message elements and I am using only the default theme at the moment.


As a test I added the following to message_user_info to see if it was getting past the style property check:


[code]

<xen:if is="@messageShowCustomFields AND {$user.customFields}">

This is just a test

<xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">


<xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">

<xen:if is="{$fieldInfo.viewable_message}">

<xen:if hascontent="true">

<dl class="pairsInline userField_{$fieldId}">

<dt>{xen:helper userFieldTitle, $fieldId}:</dt>

<dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $visitor, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>

</dl>

</xen:if>

</xen:if>

</xen:foreach>


</xen:hook>

</xen:if>

</xen:contentcheck>

[/code]

After that change the postbit looks like this:

[ATTACH=full]19662[/ATTACH]

So I know that the style property settings is working right, and that it is detecting that the user has a custom user field with data in it, it just isn't pulling up the user fields.


Back
Top Bottom