Back to vBulletin 5.x Template Modifications

Username Colors "Online Users" (Like colorbars)
Mod Version: 2.0, by smgxtreme

vB Version: 5.0.x Rating: (4 votes - 4.75 average) Installs: 13
Released: 19 Mar 2013 Last Update: Never Downloads: 0
Not Supported Template Edits  

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

5.0.3 to 5.0.4:
Search for:
<a href="{vb:url 'profile', {vb:raw onlineUser}}">{vb:raw onlineUser.username}</a><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp;</vb:if>
and replace with:
<p style="font-weight: bold;">
<a href="{vb:url 'profile',{vb:raw onlineUser}}"><vb:if condition="!empty($user['musername'])">{vb:raw onlineUser.musername}<vb:else />{vb:raw user.username}</vb:if></a><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp</vb:if></p>
Prior to 5.0.3 use this:
Search for:
<a href="{vb:url 'profile', {vb:raw user}}">{vb:raw user.username}</a><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp</vb:if>
and replace with:
<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><vb:if condition="++$onlineCount < count($onlineUsers)">,&nbsp</vb:if></p>

Download

No files for download.

Screenshots

Click image for larger version
Name:	users.png
Views:	1339
Size:	199.7 KB
ID:	144187  


vblts.ru supports vBulletin®, 2022-2024