1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dobbel commas (,) in the "online users block".

Discussion in 'Troubleshooting and Problems' started by TheGoldenChild, Nov 2, 2012.

  1. I changed this line of code:
    Code:
    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username},
    To this:
    Code:
    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user},
    
    To make the user groups style show in the online users section and for some reason I'm getting dobbel commas between usernames. Anyone knows how to fix it?

    [​IMG]
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Looks like a missing username? Check the page source? Maybe bad HTML markup for one of your groups?
     
  3. No, its not a missing username.
     
  4. A friend (Zwirc) fixed it for me, he just removed the comma thats on the end of this code.

    Code:
    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user},
     
    Jake Bunce likes this.

Share This Page