I've got a phpbb board that I'll be moving over the vB in the near future. One feature I like on the phpbb board that I haven't found an equivalent on vB is the line next to "Who's Online" shows [Administrator] [Moderator] so people will know any users shown below in those colors are Admins and Mods. Can that be done in vB?
Show Admin Color in Who's Online
Collapse
X
-
You can specify username colors for groups in your:
Admin CP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> Username HTML Markup
In the first box use:
Code:<span style="color: [color=red]#123456[/color]">
And in the second box use:
Code:</span>
-
I've got the names color coded already, Admin - Red Bold, Super Mod - Blue Bold, Mod - Green. I'm looking to have the text [Administrator] [Super Moderator] and [Moderator] appear above the box where the names appear, so when these people are online, it lets everyone know what they are. Am I making sense?Comment
-
Edit this template:
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> FORUMHOME
Find this code and add the red code:
Code:<td class="alt2"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> </tr> </tbody> </if> </table> <br /> <!-- end what's going on box --> [color=red]<div class="smallfont" align="center"> [<span style="color: red;">Administrator</span>] [<span style="color: blue;">Super Moderator</span>] [<span style="color: green;">Moderator</span>] </div>[/color] <!-- icons and login code --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td> <table cellpadding="2" cellspacing="0" border="0"> <tr>
Comment
-
Try this, same template:
Code:<if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> [color=red]<div class="smallfont" align="center"> [<span style="color: red;">Administrator</span>] [<span style="color: blue;">Super Moderator</span>] [<span style="color: green;">Moderator</span>] </div>[/color] </div> </td> </tr> </tbody> <!-- end logged-in users --> </if>
Comment
-
Our settings are like this now :
En çok kullanıcı 8, Bugün saat 19:24.
xmuratcetinx, organik81.....(other members)
[Administrator] [Co-Administrator] [Super Moderator].....
__________________________________________________________________
we want the settings to be like this :
En çok kullanıcı 8, Bugün saat 19:24.
[Administrator] [Co-Administrator] [Super Moderator].....
xmuratcetinx, organik81.....(other members)
____________________________________________
How can we do this....?Last edited by organik81; Fri 21 Jan '05, 11:53am.Comment
-
You need to change the color codes and titles appropriately (highlighted in blue):
Code:[color=red]<div class="smallfont" align="center"> [<span style="color: [color=blue]red[/color];">[color=blue]Administrator[/color]</span>] [<span style="color: [color=blue]blue[/color];">[color=blue]Super Moderator[/color]</span>] [<span style="color: [color=blue]green[/color];">[color=blue]Moderator[/color]</span>] </div>[/color]
Comment
-
Oh, try this:
Code:<if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> [color=red]<div class="smallfont" align="center"> [<span style="color: red;">Administrator</span>] [<span style="color: blue;">Super Moderator</span>] [<span style="color: green;">Moderator</span>] </div><br />[/color] <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> </if>
Comment
-
Hi,
I'm wanting to change the color for the super moderator and Admin.
How would I adjust this code to make it display BOLD and RED, also what would the code be for blue?
<span style="color: red;"> </span>
Thank you,
GregComment
-
Code:<span style="color: red; font-weight: bold;">text</span>
Code:<span style="color: blue; font-weight: bold;">text</span>
Comment
-
Thank you,
I have added the string above but it does not work for me. Should I just add it to the code as stated above?
Thank you,
GregComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment