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

Duplicate Custom User Field not showing in message_user_info

bambua

Well-known member
#1
Searched for this issue but didn't see it in the bug forums so here goes.

I created a Custom User Field as follows:

Screen Shot 2011-10-06 at 3.57.32 PM.png

Screen Shot 2011-10-06 at 3.57.43 PM.png

Screen Shot 2011-10-06 at 3.57.38 PM.png

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

Screen Shot 2011-10-06 at 3.58.39 PM.png

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>
After that change the postbit looks like this:
Screen Shot 2011-10-06 at 4.01.35 PM.png
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.