cb_tree Member Sep 5, 2020 #1 I have my usergroups with color, it shows up everywhere except last post bit? How can I add that?
P Paul B XenForo moderator Staff member Sep 5, 2020 #2 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. Upvote 1 Downvote
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.
Darklol Member Sep 18, 2020 #3 Is it possible to use a specific user to display rich content per example inside a node page ? Code: <xf:username user="Darklol" rich="true" /> Upvote 0 Downvote
Is it possible to use a specific user to display rich content per example inside a node page ? Code: <xf:username user="Darklol" rich="true" />