ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Change Administrator status color

October 24, 2008 5:43am

Subscribe [3]
  • #1 / Oct 24, 2008 5:43am

    MSimos

    62 posts

    Hello,

    I was wondering if its possible to change the status color in active users stats in forums for Administrators, just like we do for Moderators with this code:

    .activeModerator {
        font-weight:            bold;
            color:                #1B703A;
    }

    Also I would like to ask if its also possible to show all anonymous members to the active users stats. Members loging in from the web site are always shown as anonymous in forum stats and i was wondering how its possible to disable that.

    Thanx.

    [Mod Edit: Moved to the How To forum]

  • #2 / Oct 27, 2008 11:32am

    Philip Zaengle

    293 posts

    {if member_group == "123"} class=“activeModerator”{/if}

  • #3 / Oct 27, 2008 12:42pm

    MSimos

    62 posts

    Thank you for your answer!

    I am sorry but i am not sure how you suggest to use the {if} tag so I can show my forum administrators with different status color and font when they are logged in.

  • #4 / Oct 29, 2008 8:12am

    MSimos

    62 posts

    Anybody??

  • #5 / Oct 29, 2008 12:12pm

    Justin Long

    196 posts

    You would be able to put your .activeModerator {font-weight:bold; color:#1B703A;} in your style sheet then in your code you would be able to put the if statement such as {if member_group == “1”} class=“activeModerator”{/if} which would add the class “activeModerator” to anyone that was a moderator which would cause them to display like you have in the stylesheet. You could break it down into as specific as you need by adding other if statements. For example on my site I have my users broken down into 6 different levels and each member group has a different style attached to it so that when I am browsing my site I can quickly see if they have bought something or have contacted me about buying a car or are just starting their car search

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases