![]() |
Username Colors "Online Users" (Like colorbars)
1 Attachment(s)
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: Quote:
Quote:
Search for: Quote:
Quote:
|
Works well... thanks ... now if someone would do something to show spiders
|
I actually just made html color "groups" in another block below it.
Was trying to add to the code but html kept breaking it. I'll try and work on it later. Thanks for your reply. |
1 Attachment(s)
Ok, I was able to add the groups by once again editing the widget_onlineusers
Look for: Quote:
Quote:
Also, correct me if I did html syntax wrong please, I can use any help I can get too. :) |
your codes will give w3 and last comma problem
use these codes HTML Code:
<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)">, </vb:if> |
Thank you for your code, I will update it above.
Thanks again! |
Quote:
|
Quote:
where is the ending of p tag? w3 error w3 error w3 error |
what do i need to change in 5.0.3? because it doesnt work, and i dont know the variables....
|
Updated and it works as of 08/07/2013
|
|
Quote:
(possibly keeping the image of the avatar,and use only username colors on mouse on the avatar) sorry for bad english :( |
Is this suitable for 5.0.5?
|
Works on 5.0.5 just tried it. :)
|
Code:
<a href="{vb:url 'profile', {vb:raw onlineUser}}">{vb:raw onlineUser.username}</a><vb:if condition="++$onlineCount < count($onlineUsers)">, </vb:if> Code:
<p style="font-weight: bold;"> Doesnt work for vB 5.0.5 |
Apologies - it DOES work on 5.0.5 - just be sure to edit the "Online Users" Module and untick "Use Avatars"
|
Running 5.1.0 here...
Can someone help explain this mod a bit. I have made the mod and the names go bold, however the colour is all the same. How do you go about and select the colours exactly? Very new to this. Thanks |
great modification, nice work
|
What about for vbulletin 5.2.2?
|
What about for vbulletin 5.4.4?
|
Quote:
All you need to do is to use HTML in the AdminCP Usergroups. Username HTML Markup First Box: <span style="color:red"> (Or whatever color you want.) Second Box: </span> You can also use any other HTML attribute, like <b> or <i> |
But if you're insistent on using a Modification this one works.
https://vbulletin.org/forum/showthread.php?t=289034 |
All times are GMT. The time now is 02:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|