Show Admin Color in Who's Online

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Treasure Quest
    Senior Member
    • Jan 2005
    • 155

    #16
    I got it!, Thanks again,


    Greg

    Comment

    • tommyxv
      Senior Member
      • Oct 2003
      • 331

      #17
      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

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #18
        What is the URL to your forum?

        Comment

        • tommyxv
          Senior Member
          • Oct 2003
          • 331

          #19
          I'll pm you...thanks

          Comment

          • Jake Bunce
            Senior Member
            • Dec 2000
            • 46598
            • 3.6.x

            #20
            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;

            Comment

            • tommyxv
              Senior Member
              • Oct 2003
              • 331

              #21
              Thanks Jake, I will make the adjustment.

              Tommy

              Comment

              • Xplorer4x4
                Senior Member
                • Apr 2005
                • 256

                #22
                Is there a code to make the fonts glowing?

                Comment

                • Jake Bunce
                  Senior Member
                  • Dec 2000
                  • 46598
                  • 3.6.x

                  #23
                  There are glow codes posted in this thread.

                  Comment

                  • moddis
                    Senior Member
                    • Jun 2007
                    • 203
                    • 3.6.x

                    #24
                    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?

                    Comment

                    • peterska2
                      Senior Member
                      • Oct 2003
                      • 8869
                      • 3.7.x

                      #25
                      Please start your own thread in the relevant forum for the version of vBulletin that you are running.

                      Comment

                      • d-wiz
                        Member
                        • Jun 2008
                        • 30
                        • 3.7.x

                        #26
                        Originally posted by Jake Bunce
                        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>
                        I used this code but they haven't changed colors in active users just above?

                        Comment

                        • scottsmac
                          Senior Member
                          • Sep 2008
                          • 133

                          #27
                          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 :-


                          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 16 Sep '09, 7:43pm.

                          Comment

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