The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to customize a administrator's post?

View previous topic View next topic Go down

How to customize a administrator's post?

Post by Dark Exorcist Official on 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...


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 June 19th 2015, 7:18 pm


Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

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

Back to top Go down

Re: How to customize a administrator's post?

Post by Dark Exorcist Official on 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.

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 June 20th 2015, 2:04 pm

Hi, @Dark Exorcist Official

what is your forum version?

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Re: How to customize a administrator's post?

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

@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 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
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

View previous topic View next topic Back to top


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