1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

displaying username css on the members online list

Discussion in 'Template Modifications [Archive]' started by MentaL, Oct 6, 2010.

  1. MentaL

    MentaL Active Member

    xenforo111.png
    • Edit template "sidebar_online_users"
    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>
    

    Result.
     
    CarpCharacin, Jazem, Valter and 11 others like this.
  2. Lawrence

    Lawrence Well-Known Member

    Nice, thanks MentaL, :)
     
  3. Pro

    Pro Active Member

    I was looking for this!! Thank you!
     

Share This Page