Announcement

Collapse
No announcement yet.

Show Admin Color in Who's Online

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • scottsmac
    replied
    works perfect for me, and also to match the color you want, i searched on google, then just wrote in accordingly the colors i wanted, and the user groups i made up
    ie :- #0000ff = blue

    so you can just change the colors to what you wish

    heres the site i used :-
    http://www.w3schools.com/tags/ref_co...asp?hex=0000ff

    im sure this is basic for some, but this serves its purpose A1, and im pewter thick, but managed to suss it
    BIG thanks to Jake Bunce

    just to clarify
    this can be added onto :-
    [<span style="color: green;">Moderator</span>]

    all of this for as many user groups as you want :-
    [<span style="color: red;">Administrator</span>] [<span style="color: blue;">Super Moderator</span>] [<span style="color: green;">Moderator</span>]

    you only need to change the user group color in admincp with the color codes here :-
    http://www.w3schools.com/tags/ref_co...asp?hex=0000ff


    and match that in this code whatever the color maybe, and the name to match that user group you made like donator, instead of moderator
    heres a demo :-
    [<span style="color: purple;">donator</span>]

    if im unclear , then please post here, or pm me thanks

    Last edited by scottsmac; Wed 16th Sep '09, 7:43pm.

    Leave a comment:


  • d-wiz
    replied
    Originally posted by Jake Bunce View Post
    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>
                    <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 />
                    <div>$activeusers</div>
                </div>
            </td>
        </tr>
    </tbody>
    <!-- end logged-in users -->
    </if>
    I used this code but they haven't changed colors in active users just above?

    Leave a comment:


  • peterska2
    replied
    Please start your own thread in the relevant forum for the version of vBulletin that you are running.

    Leave a comment:


  • moddis
    replied
    additional question: When I change the color of a certain usergroup nothing happens...could this be because im changing the color of secondary usergroup? How do i fix this?

    Leave a comment:


  • Jake Bunce
    replied
    There are glow codes posted in this thread.

    Leave a comment:


  • Xplorer4x4
    replied
    Is there a code to make the fonts glowing?

    Leave a comment:


  • tommyxv
    replied
    Thanks Jake, I will make the adjustment.

    Tommy

    Leave a comment:


  • Jake Bunce
    replied
    That isn't directly related to this thread. Your username markups are inheriting a link underline color from a parent CSS class. I am not sure how to change that underline color, but you can remove it by adding this attribute to the markup:

    Code:
    text-decoration: none;

    Leave a comment:


  • tommyxv
    replied
    I'll pm you...thanks

    Leave a comment:


  • Jake Bunce
    replied
    What is the URL to your forum?

    Leave a comment:


  • tommyxv
    replied
    I put it the red color code in for admins but it wont change the underline to the color. It stays black, but the text is red. any ideas

    Leave a comment:


  • Treasure Quest
    replied
    I got it!, Thanks again,


    Greg

    Leave a comment:


  • Treasure Quest
    replied
    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,

    Greg

    Leave a comment:


  • Andrew111888
    replied
    Code:
    <span style="color: red; font-weight: bold;">text</span>
    Code:
    <span style="color: blue; font-weight: bold;">text</span>

    Leave a comment:


  • Treasure Quest
    replied
    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,

    Greg

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X