Announcement

Collapse
No announcement yet.

Show Admin Color in Who's Online

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

  • #16
    I got it!, Thanks again,


    Greg

    Comment


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


      • #18
        What is the URL to your forum?

        Comment


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

          Comment


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


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

              Tommy

              Comment


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

                Comment


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

                  Comment


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


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

                      Twitter Blog

                      www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

                      Comment


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

                        Comment


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

                          Comment

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