No announcement yet.

Show Admin Color in Who's Online

  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I got it!, Thanks again,



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


      • #18
        What is the URL to your forum?


        • #19
          I'll pm you...thanks


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

            text-decoration: none;


            • #21
              Thanks Jake, I will make the adjustment.



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


                • #23
                  There are glow codes posted in this thread.


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


                    • #25
                      Please start your own thread in the relevant forum for the version of vBulletin that you are running.
                      Kerry-Anne :)

                      Twitter Blog



                      • #26
                        Originally posted by Jake Bunce View Post
                        Oh, try this:

                        <if condition="$show['loggedinusers']">
                        <!-- logged-in users -->
                                <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>)
                        <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
                                <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 />
                        <!-- end logged-in users -->
                        I used this code but they haven't changed colors in active users just above?


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

                          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.


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