The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    admin post boady?

    njaguar
    njaguar
    Forumember


    Male Posts : 113
    Reputation : 1
    Language : English
    Location : United Kingdom

    Solved admin post boady?

    Post by njaguar February 3rd 2012, 4:52 pm

    how to make it diffent color?
    xiaomah01
    xiaomah01
    Forumember


    Male Posts : 206
    Reputation : 7
    Language : English|Chinese|malay
    Location : malaysia

    Solved Re: admin post boady?

    Post by xiaomah01 February 4th 2012, 9:16 am

    Rideem3 wrote:Hi, go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on -> Create new -> Title it whatever you want -> Select in the topics -> Paste:
    Code:
    $(function() {
    var x = $('tr.post:contains("RANKORUSERNAMEHERE")');

    if (x) {
    $('tr.post:contains("RANKORUSERNAMEHERE") td').css('background-color','#000');
    }
    });

    Replace "RANKORUSERNAMEHERE" with the special rank title of the user (for group post color) or the username (for individual colors). The rank title is the user's rank you gave. So I would think that on your forum the admin rank title would be Administrator unless that's changed.

    Also replace #000 with whatever color you want the background to be Wink

    Make sure the rank title or username is the exact spelling or it won't work Wink

    Nick thumright

      Current date/time is November 14th 2024, 1:48 pm