I need a code to make admin posts colored Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
5 posters

    I need a code to make admin posts colored

    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 2:28 pm

    Any one have a code to make admin posts colored:?: Question Question Question Question Question Question Question Question
    Ikerepc
    Ikerepc
    Active Poster


    Male Posts : 1186
    Reputation : 167
    Language : Who cares...
    Location : Where web help & support is needed

    In progress Re: I need a code to make admin posts colored

    Post by Ikerepc October 26th 2013, 3:05 pm

    Hello

    1. What forum version you have
    2. Are you want color or image, like staff on this forum have? (That orange gradient is image)
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 8:04 pm

    phpbb3
    And i want the orange gradient
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 26th 2013, 8:42 pm




    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 9:17 pm

    I did noT get what to do  SLGRAY
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 26th 2013, 9:25 pm

    Administration Panel > Users & Usergroups > Ranks
    Add this to the titles of the ranks you want to have the background.
    Code:
        <span class="st-rang">RANK TITLE HERE</span>
    Administration Panel > Modules > HTML?JavaScript > JavaScript Management
    Create a new JavaScript and mark in topics/messages.
    Code:
    $(function() {
    $('.st-rang').closest('.post').addClass('st-answer');
    });
    Administration Panel > Display > Colors & Pictures > Colors
    CSS Stylesheet Tab
    Add this to your CSS:
    Code:
            .post.online.st-answer {
            background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
            }
            .post.st-answer {
            background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;
    This is the same code we use.



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 9:34 pm

    not working
    Ikerepc
    Ikerepc
    Active Poster


    Male Posts : 1186
    Reputation : 167
    Language : Who cares...
    Location : Where web help & support is needed

    In progress Re: I need a code to make admin posts colored

    Post by Ikerepc October 26th 2013, 10:00 pm

    Are your JavaScript On?
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 10:07 pm

    please tell me how to turn it on
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 26th 2013, 11:05 pm

    At the top where the JavaScripts are listed is the on and off option.



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 26th 2013, 11:07 pm

    its on Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 26th 2013, 11:13 pm

    Did you add the rank titles in the code?

    For example: For administrators
    Code:
     <span class="st-rang">Administrator</span>



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 27th 2013, 12:54 am

    still not working =(
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: I need a code to make admin posts colored

    Post by Ange Tuteur October 27th 2013, 1:29 am

    I checked your stylesheet, but I did not find st-answer. Please add this to your stylesheet. It will not display if you don't add it.

    SLGray wrote:Administration Panel > Display > Colors & Pictures > Colors
    CSS Stylesheet Tab
    Add this to your CSS:
    Code:
            .post.online.st-answer {
            background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
            }
            .post.st-answer {
            background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;
    This is the same code we use.
    levy
    levy
    Hyperactive


    Male Posts : 2632
    Reputation : 350
    Language : English, Romanian
    Location : Romania

    In progress Re: I need a code to make admin posts colored

    Post by levy October 27th 2013, 1:34 am

    He want to change the color not to add a gradiend , replace the old javascript with this one :

    Code:
    $(function() {
    $('.st-rang').closest('.postbody .content').addClass('st-answer');
    });
    And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
    Code:
    .st-answer {
    color:red;
    }
    You need to have the rank as :

    Code:
    <span class="st-rank">YOUR RANK TITLE</span>
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 27th 2013, 2:45 am

    candy_fear wrote:He want to change the color not to add a gradiend , replace the old javascript with this one :

    Code:
    $(function() {
    $('.st-rang').closest('.postbody .content').addClass('st-answer');
    });
    And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
    Code:
    .st-answer {
    color:red;
    }
    You need to have the rank as :

    Code:
    <span class="st-rank">YOUR RANK TITLE</span>
    He said that he wants the orange gradiant, which is an image.



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 27th 2013, 2:47 pm

    So now what? I don't know what to do! But thanks to ZYON,SLGRAY,candy_fear and seth for trying to help me


    Last edited by ddoesmc on October 27th 2013, 9:41 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 27th 2013, 5:37 pm

    Add the CSS code to the top of your CSS stylesheet.

    Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    ddoesmc
    ddoesmc
    Forumember


    Male Posts : 283
    Reputation : 11
    Language : Mainly english
    Location : New Jersey

    In progress Re: I need a code to make admin posts colored

    Post by ddoesmc October 27th 2013, 10:01 pm

    i am so dumb but...

    where is the css
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51541
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: I need a code to make admin posts colored

    Post by SLGray October 27th 2013, 10:02 pm

    Administration Panel > Display > Colors & Pictures > Colors
    CSS Styelsheet Tab



    I need a code to make admin posts colored Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ikerepc
    Ikerepc
    Active Poster


    Male Posts : 1186
    Reputation : 167
    Language : Who cares...
    Location : Where web help & support is needed

    In progress Re: I need a code to make admin posts colored

    Post by Ikerepc October 27th 2013, 10:09 pm

    It need work. When you are put code in css save it, in javascript, save it, in members rank, and it need to be all.

    If I can give you that link, here is orange gradient of staff on this forum: https://i.servimg.com/u/f48/17/48/49/15/photo10.png