How to customize a administrator's post? 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.
3 posters

    How to customize a administrator's post?

    avatar
    Dark Exorcist Official
    New Member


    Male Posts : 3
    Reputation : 1
    Language : English
    Location : I live in Tennessee, USA

    How to customize a administrator's post? Empty How to customize a administrator's post?

    Post by Dark Exorcist Official Fri 19 Jun - 5:00

    I was wanting to change the appearance of an admin post, pretty much make it look different from a regular member post. like for example. i got these screenshots from somebody else's post.


    Just a regular member post...
    How to customize a administrator's post? 111

    than here's an administrator's post....
    How to customize a administrator's post? 210

    So like how do I customize the post background i guess?
    Sir. Mayo
    Sir. Mayo
    Forumember


    Male Posts : 978
    Reputation : 90
    Language : English, Some french.
    Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

    How to customize a administrator's post? Empty Re: How to customize a administrator's post?

    Post by Sir. Mayo Fri 19 Jun - 19:18

    avatar
    Dark Exorcist Official
    New Member


    Male Posts : 3
    Reputation : 1
    Language : English
    Location : I live in Tennessee, USA

    How to customize a administrator's post? Empty Re: How to customize a administrator's post?

    Post by Dark Exorcist Official Sat 20 Jun - 3:14

    Kinda but when i tried to do what it says and go to see if the post like it is. and it hasn't changed.
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    How to customize a administrator's post? Empty Re: How to customize a administrator's post?

    Post by Mati Sat 20 Jun - 14:04

    Hi, @Dark Exorcist Official

    what is your forum version?
    avatar
    Dark Exorcist Official
    New Member


    Male Posts : 3
    Reputation : 1
    Language : English
    Location : I live in Tennessee, USA

    How to customize a administrator's post? Empty Re: How to customize a administrator's post?

    Post by Dark Exorcist Official Mon 22 Jun - 0:07

    Mati wrote:Hi, @Dark Exorcist Official

    what is your forum version?
    PunBB
    Mati
    Mati
    Active Poster


    Posts : 1932
    Reputation : 333
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    How to customize a administrator's post? Empty Re: How to customize a administrator's post?

    Post by Mati Mon 22 Jun - 11:31

    Administration Panel > Modules > Javascript codes management > Create a new script

    Title : what you wish
    Placement : in all the pages
    Code:
    $(function() {
    $('.admin').closest('.post').addClass('st-answer');
    });

    Then CSS :
    Display > Pictures and colors > Colors > CSS stylesheet
    Code:
    .pun .post.st-answer {
        background-image: url("http://i19.servimg.com/u/f19/18/21/41/30/modo12.png");
        background-position: 0 100%;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

    Then wrap your administration rank around like this:
    Code:
    <span class="admin">Administrator</span>

    Then your done!