XF 2.1 Color/effect username on Last post

Edit the node_list_forum template.

Change this:
HTML:
<li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" /></li>

To this:
HTML:
<li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" rich="true" /></li>


Edit the thread_list_macros template.

Change this:
HTML:
<li><xf:username user="$thread.User" defaultname="{$thread.username}" /></li>

To this:
HTML:
<li><xf:username user="$thread.User" defaultname="{$thread.username}" rich="true" /></li>


And this:
HTML:
<xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" />

To this:
HTML:
<xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" rich="true" />


Essentially, just add rich="true" to those three lines of code.
 
Top Bottom