Jump to content
vBWarez - Rest In Peace

Username Colors "Online Users" (Like colorbars)


Recommended Posts

[B][COLOR="#FF0000"]vB Version: 5.0.0[/COLOR][/B]

Like the other modifications for "usergroup colors" I could not get any working on current version.

Here is a template edit and it does work.
Style Manager> Style> Edit Templates> Widget Templates> widget_onlineusers

[B][COLOR="#FF0000"]Search for:[/COLOR][/B]

[CODE] <a href="{vb:url 'profile', {vb:raw user}}">{vb:raw user.username}</a><vb:if condition="++$onlineCount < count($onlineUsers)">, </vb:if>[/CODE]

[B][COLOR="#FF0000"]and replace with:[/COLOR][/B]

[CODE]<p style="font-weight: bold;">
<a href="{vb:url 'profile', {vb:raw user}}"><vb:if condition="!empty($user['musername'])">{vb:raw user.musername}, <vb:else />{vb:raw user.username}</vb:if></a>
[/CODE]

  • Like 3
Link to post
Share on other sites
  • 3 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...