• 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?

Nick

Well-known member
#1
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?
 

Jake Bunce

XenForo moderator
Staff member
#2
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.
 

Russ

Well-known member
#3
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?
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>