Members Online Now

Craig

Active member
Good day everyone!

I am wondering if there is a way to change the color of the users currently on line in the "Members Online Now" to match the user groups coloring i have added.

Thanks in advance for your help!
 
You can do that by making a template edit if the following is what you want to do. http://xenforo.com/community/threads/usergroup-markup.5506/

If you require for the markup to show in the Members Online Now listings you'll have to go into the the sidebar_online_users Template and make the following change.

Search:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>



Replace with:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
 
You can do that by making a template edit if the following is what you want to do. http://xenforo.com/community/threads/usergroup-markup.5506/

If you require for the markup to show in the Members Online Now listings you'll have to go into the the sidebar_online_users Template and make the following change.

Search:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>



Replace with:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
Thank you so much for the help!
 
Top Bottom