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

Postbit information on two lines?

Discussion in 'XenForo Questions and Support' started by Nick, Oct 9, 2010.

  1. Nick

    Nick Well-Known Member

    I have enabled users' message count to appear in the post bit, but it appears on two lines, as such:

    Message count:
    6

    Whereas I'd like it to appear as:
    Message count: 6

    There is plenty of space to the right of "message count:" so I'm not sure what's causing it to jump to the next line. Any ideas?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I found the code:

    Admin CP -> Appearance -> Templates -> message_user_info

    Code:
                    <xen:if is="@messageShowMessageCount">
                        <dl class="pairsInline">
                            <dt>{xen:phrase message_count}:</dt>
                            <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
                        </dl>
                    </xen:if>
    
    But I am having trouble getting it to stay on one line.
     
  3. Russ

    Russ Well-Known Member

    In message_user_info

    Code:
                    <xen:if is="@messageShowMessageCount">
                        <dl class="pairsInline">
                            <dt>{xen:phrase message_count}:</dt>
                            <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
                        </dl>
                    </xen:if>
    
    replace with

    Code:
                    <xen:if is="@messageShowMessageCount">
                        <dl class="pairsInline">
                            <dt>{xen:phrase message_count}: <a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dt>
                        </dl>
                    </xen:if>
    
     
    Nick likes this.

Share This Page