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

XF 1.3 Nice usernames like digitalpoint

Discussion in 'Styling and Customization Questions' started by Robby, May 6, 2014.

  1. Robby

    Robby Well-Known Member


    Anybody who can help me in getting descent css usernames like on digitalpoint. How do you do this?
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Robby

    Robby Well-Known Member

    I know but it's the shadow effect that i seek.

    Also in the manual this code is not longer valid:

    Sidebar Display
    In a default installation, user group styling does not apply to the Members Online Nowblock in the sidebar.

    To enable styling to show in this location, the sidebar_online_users template must be edited.

    Look for this line of code in the template:

    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username},
    Replace it with this:

    class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user},
    Styling is then present in both of the blocks.

    Whithout the komma at the end it works. Otherwise you have two komma's after each name.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The shadow effect is just CSS - inspect the page to see what is being used.
  5. Lisa

    Lisa Well-Known Member

    Just add the css to your usergroup, changing the colour to suit.

    Robby and semprot like this.
  6. Robby

    Robby Well-Known Member

    Yhank you so much:)
    Lisa likes this.

Share This Page