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

Fixed Blank joined date for visitors in posts

Discussion in 'Resolved Bug Reports' started by Jon W, Jul 26, 2013.

  1. Jon W

    Jon W Well-Known Member

    This might be as designed because it seems like it has been specifically left out, but if you have it set in Style Properties to show a user's registration date in their post bit, then guest posts will show a blank entry:
    upload_2013-7-26_15-29-42.png

    To fix, replace the following in the template message_user_info:
    HTML:
                    <xen:if is="@messageShowRegisterDate">
                        <dl class="pairsJustified">
                            <dt>{xen:phrase joined}:</dt>
                            <dd>{xen:date $user.register_date}</dd>
                        </dl>
                    </xen:if>
    with:
    HTML:
                    <xen:if is="@messageShowRegisterDate AND {$user.user_id}">
                        <dl class="pairsJustified">
                            <dt>{xen:phrase joined}:</dt>
                            <dd>{xen:date $user.register_date}</dd>
                        </dl>
                    </xen:if>
     
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed - I don't know why that one was missed compared to all of the other checks.
     
    Jon W likes this.
  3. Jon W

    Jon W Well-Known Member

    My thoughts exactly. Thought it must have been intentional but couldn't work out why on earth that would be the case.
     
    shenmuee likes this.

Share This Page