Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Username Colors "Online Users" (Like colorbars) Details »
Username Colors "Online Users" (Like colorbars)
Mod Version: 2.0, by smgxtreme (Contributor) smgxtreme is offline
Developer Last Online: Oct 2015 I like it Show Printable Version Email this Page

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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	users.png
Views:	979
Size:	199.7 KB
ID:	144187  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 19 Mar 2013, 12:31
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Works well... thanks ... now if someone would do something to show spiders
__________________
http://sandstormradio.org
Reply With Quote
  #3  
Old 19 Mar 2013, 16:08
smgxtreme smgxtreme is offline
 
Join Date: Feb 2013
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.
Reply With Quote
  #4  
Old 19 Mar 2013, 20:07
smgxtreme smgxtreme is offline
 
Join Date: Feb 2013
Ok, I was able to add the groups by once again editing the widget_onlineusers

Look for:
<p>{vb:rawphrase there_are_x_online, {vb:raw onlineUserCounts.total}} {vb:rawphrase x_members_and_y_guests, {vb:raw onlineUserCounts.members}, {vb:raw onlineUserCounts.guests}}.</p>
After add:
<b><font color="#ff3300">Example</font>&nbsp•&nbsp
<font color="#ff0a0a">Second Example</font>&nbsp•&nbsp
<font color="#33ff00">Third Example</font>&nbsp•&nbsp
</b><br><br>
If you don't want it there feel free to move around until you find the right spot.

Also, correct me if I did html syntax wrong please, I can use any help I can get too.
Attached Images
File Type: png snip.png (18.7 KB, 180 views)
Reply With Quote
  #5  
Old 19 Mar 2013, 22:45
TilkiBey's Avatar
TilkiBey TilkiBey is offline
 
Join Date: Jul 2008
Real name: Sami
your codes will give w3 and last comma problem
use these codes


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
No Comment About Nothing
Reply With Quote
  #6  
Old 21 Mar 2013, 02:46
smgxtreme smgxtreme is offline
 
Join Date: Feb 2013
Thank you for your code, I will update it above.
Thanks again!

Last edited by smgxtreme; 21 Mar 2013 at 02:56.
Reply With Quote
  #7  
Old 21 Mar 2013, 17:25
emresozen emresozen is offline
 
Join Date: May 2012
Originally Posted by TilkiBey View Post
your codes will give w3 and last comma problem
use these codes


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
teşekkürler tilkibeyTrafikci258
Reply With Quote
  #8  
Old 22 Mar 2013, 10:03
TilkiBey's Avatar
TilkiBey TilkiBey is offline
 
Join Date: Jul 2008
Real name: Sami
Originally Posted by smgxtreme View Post
Thank you for your code, I will update it above.
Thanks again!
hmm
where is the ending of p tag?
w3 error w3 error w3 error
__________________
No Comment About Nothing
Reply With Quote
  #9  
Old 15 Jul 2013, 21:23
JakeSheppard JakeSheppard is offline
 
Join Date: Jul 2013
what do i need to change in 5.0.3? because it doesnt work, and i dont know the variables....
Reply With Quote
  #10  
Old 08 Aug 2013, 07:42
smgxtreme smgxtreme is offline
 
Join Date: Feb 2013
Updated and it works as of 08/07/2013
Reply With Quote
  #11  
Old 04 Sep 2013, 03:06
Huy Hoàng's Avatar
Huy Hoàng Huy Hoàng is offline
 
Join Date: Dec 2008
It does not work with version vbb 5.0.4?

Reply With Quote
  #12  
Old 18 Sep 2013, 09:16
Luis's Avatar
Luis Luis is offline
 
Join Date: May 2011
Originally Posted by smgxtreme View Post
Ok, I was able to add the groups by once again editing the widget_onlineusers

Look for:

After add:

If you don't want it there feel free to move around until you find the right spot.

Also, correct me if I did html syntax wrong please, I can use any help I can get too.
good job smg ... the legend groups works but Username Colors "Online Users" wont work on 5.0.4 ... anyway i have a quick request ... is possible to separate online staff and users online?
(possibly keeping the image of the avatar,and use only username colors on mouse on the avatar) sorry for bad english
Reply With Quote
  #13  
Old 18 Oct 2013, 14:18
YuGiMoTo YuGiMoTo is offline
 
Join Date: May 2013
Is this suitable for 5.0.5?
Reply With Quote
  #14  
Old 06 Dec 2013, 21:29
fusiion fusiion is offline
 
Join Date: Nov 2013
Works on 5.0.5 just tried it.
Reply With Quote
  #15  
Old 13 Jan 2014, 16:19
ARLreborn ARLreborn is offline
 
Join Date: Jan 2014

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Doesnt work for vB 5.0.5

Last edited by TheLastSuperman; 13 Jan 2014 at 23:21.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 17:52.

Layout Options | Width: Wide Color: