How to customize a administrator's post?

Go down

How to customize a administrator's post?

Post by Dark Exorcist Official on Fri 19 Jun 2015 - 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...


than here's an administrator's post....


So like how do I customize the post background i guess?

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

Re: How to customize a administrator's post?

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

avatar
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

Re: How to customize a administrator's post?

Post by Dark Exorcist Official on Sat 20 Jun 2015 - 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.

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

Re: How to customize a administrator's post?

Post by Mati on Sat 20 Jun 2015 - 14:04

Hi, @Dark Exorcist Official

what is your forum version?
avatar
Mati
Active Poster

Posts : 1909
Reputation : 291
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://forumdirectory.forumotion.net/

Back to top Go down

Re: How to customize a administrator's post?

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

@Mati wrote:Hi, @Dark Exorcist Official

what is your forum version?
PunBB

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

Re: How to customize a administrator's post?

Post by Mati on Mon 22 Jun 2015 - 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!
avatar
Mati
Active Poster

Posts : 1909
Reputation : 291
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://forumdirectory.forumotion.net/

Back to top Go down

Back to top


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