JamesBrown Well-known member Nov 5, 2024 #1 How can I get Whats new, and New posts to display the username colours as per their user group? Cheers
How can I get Whats new, and New posts to display the username colours as per their user group? Cheers
P Paul B XenForo moderator Staff member Nov 5, 2024 #2 Template edits. node_list_forum Rich (BB code): <li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" rich="true" /></li> poll_voters Rich (BB code): <li><xf:username user="$vote.User" rich="true" /></li> thread_list_macros Rich (BB code): <li><xf:username user="$thread.User" defaultname="{$thread.username}" rich="true" /></li> thread_list_macros Rich (BB code): <xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" rich="true" /> Upvote 1 Downvote
Template edits. node_list_forum Rich (BB code): <li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" rich="true" /></li> poll_voters Rich (BB code): <li><xf:username user="$vote.User" rich="true" /></li> thread_list_macros Rich (BB code): <li><xf:username user="$thread.User" defaultname="{$thread.username}" rich="true" /></li> thread_list_macros Rich (BB code): <xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" rich="true" />
JamesBrown Well-known member Nov 5, 2024 #3 Paul B said: Template edits. node_list_forum Rich (BB code): <li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" rich="true" /></li> poll_voters Rich (BB code): <li><xf:username user="$vote.User" rich="true" /></li> thread_list_macros Rich (BB code): <li><xf:username user="$thread.User" defaultname="{$thread.username}" rich="true" /></li> thread_list_macros Rich (BB code): <xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" rich="true" /> Click to expand... Thanks Paul, can those lines go anywhere in those templates Upvote 0 Downvote
Paul B said: Template edits. node_list_forum Rich (BB code): <li class="node-extra-user"><xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" rich="true" /></li> poll_voters Rich (BB code): <li><xf:username user="$vote.User" rich="true" /></li> thread_list_macros Rich (BB code): <li><xf:username user="$thread.User" defaultname="{$thread.username}" rich="true" /></li> thread_list_macros Rich (BB code): <xf:username user="{$thread.LastPoster}" defaultname="{$thread.last_post_username}" rich="true" /> Click to expand... Thanks Paul, can those lines go anywhere in those templates
P Paul B XenForo moderator Staff member Nov 5, 2024 #4 No, they need to replace the existing lines. Search for the entries using the code above but remove rich="true" to locate the unedited lines. All you are doing is adding rich="true" to those 4 lines. Upvote 0 Downvote
No, they need to replace the existing lines. Search for the entries using the code above but remove rich="true" to locate the unedited lines. All you are doing is adding rich="true" to those 4 lines.