View Full Version : Friends and buddies style in 'Who is online'
squishi
12-15-2008, 06:30 PM
To make it easier for my members to see who is online, I would like to give the friends and buddies a different color in the "who is online" list on the forum home page.
It is a bit hard to find the persons marked with a "+", "*", etc. in that list.
So how can I give those names a different color?
Lynne
12-15-2008, 07:08 PM
I modified the forumhome_loggedinuser in template to do that:
$stylevar[dirmark]<if condition="$loggedin[userid]"><if condition="$loggedin[buddymark]=='+'"><a href="/forums/member.php?$session[sessionurl]u=$loggedin[userid]"><span class="color2">$loggedin[musername]</span></a>$loggedin[invisiblemark]<else /><a href="/forums/member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]</if><else />$loggedin[musername]</if>
I used <span class="color"> for the color change, but you can put in whatever you want.
squishi
12-16-2008, 11:09 AM
Thank you, Lynne! :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.