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

How Do I Lengthen The Amount Of Text Allowed For The Last Post

Xarcell

Well-known member
#1
On the board index, at the "last post" section, how do I make it allow more characters before it cuts if off and adds "..." to the end of it?

I'm building a custom style, and I made room for more text.
 

Jake Bunce

XenForo moderator
Staff member
#2
Admin CP -> Appearance -> Templates -> node_forum_level_2

Edit the length in red (scroll right):

Code:
		<div class="nodeLastPost secondaryContent">
			<xen:if is="{$forum.privateInfo}">
				<span class="noMessages muted">({xen:phrase private})</span>
			<xen:elseif is="{$forum.lastPost.date}" />
				{xen:phrase latest}: <a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{xen:helper wordTrim, $forum.lastPost.title, 30}</a>
				<span class="lastThreadMeta"><xen:if is="{xen:helper isIgnored, $forum.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$forum.lastPost" /></xen:if>, <xen:datetime time="$forum.lastPost.date" class="muted" /></span>
			<xen:else />
				<span class="noMessages muted">({xen:phrase contains_no_messages})</span>
			</xen:if>
		</div>