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.

How to customize a administrator's post?

3 posters

Go down

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

Post by Dark Exorcist Official June 19th 2015, 5:00 am

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?
avatar
Dark Exorcist Official
New Member

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

http://dark-exorcist.gamerzfun.com

Back to top Go down

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

Post by Sir. Mayo June 19th 2015, 7:18 pm

Sir. Mayo
Sir. Mayo
Forumember

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

http://sir-mayo.forumotion.com/

Back to top Go down

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

Post by Dark Exorcist Official June 20th 2015, 3:14 am

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.
avatar
Dark Exorcist Official
New Member

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

http://dark-exorcist.gamerzfun.com

Back to top Go down

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

Post by Mati June 20th 2015, 2:04 pm

Hi, @Dark Exorcist Official

what is your forum version?
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

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

Post by Dark Exorcist Official June 22nd 2015, 12:07 am

Mati wrote:Hi, @Dark Exorcist Official

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

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

http://dark-exorcist.gamerzfun.com

Back to top Go down

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

Post by Mati June 22nd 2015, 11:31 am

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!
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum