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

Using some xenForo codes in different Templates

Discussion in 'Styling and Customization Questions' started by faeronsayn, Mar 26, 2013.

  1. faeronsayn

    faeronsayn Well-Known Member

    For some reason I can't seem to use some of the tags that are found in the message_user_info template in the message template.

    I can't seem to figure out a way to show the username in the message template. I tried using the following code:

    Code:
    <xen:username user="$user" itemprop="name" rich="true" />
    
    Furthermore, similar code like this won't show up either

    Code:
    <xen:if is="@messageShowRegisterDate">
    {xen:date $user.register_date}
    </xen:if>
    

    How would I go showing the post count, registration date, like count, user title, and user name in templates other than message_user_info without referring to message_user_info.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    message_user_info template = $user

    message template = $message
     
    faeronsayn likes this.

Share This Page