Administrator post background different color - it's possible?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
zorro100
Registered User
Posts: 12
Joined: Sat Oct 13, 2018 11:49 pm

Administrator post background different color - it's possible?

Post by zorro100 » Tue Oct 16, 2018 6:29 pm

Hi phpbb3 folks!

Thanks for helping me out last time!

Today I just looking for solution how to hightlight (change background) in admin posts. It is that possible? I try to look for extension and other solutions, but nothing works :-(

Thanks for help!

User avatar
Hanakin
Infrastructure Team Member
Infrastructure Team Member
Posts: 740
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Administrator post background different color - it's possible?

Post by Hanakin » Tue Oct 16, 2018 6:39 pm

There used to be an extension by paybas for this for 3.1 IIRC

checkout https://www.phpbb.com/customise/db/style/pbwow3/ to see how its done for this theme

zorro100
Registered User
Posts: 12
Joined: Sat Oct 13, 2018 11:49 pm

Re: Administrator post background different color - it's possible?

Post by zorro100 » Tue Oct 16, 2018 6:52 pm

@Hanakin, thx for link! I will check now.

But just to be sure - it's not more simple to just make this thru some coding? All I need is different background for admin posts :-)

edit. I coudn't find how he did :-( But I found this instruction: https://help.forumotion.com/t135392-php ... -new-posts. It's for a showing new posts. Maybe is a way to change this to admin posts?

User avatar
pit-PL
Registered User
Posts: 3069
Joined: Sat Nov 21, 2009 12:24 pm

Re: Administrator post background different color - it's possible?

Post by pit-PL » Tue Oct 16, 2018 7:29 pm


zorro100
Registered User
Posts: 12
Joined: Sat Oct 13, 2018 11:49 pm

Re: Administrator post background different color - it's possible?

Post by zorro100 » Tue Oct 16, 2018 8:25 pm

Thx @pit-PL! That's help a lot!

BTW. Code from @pit-PL link only change color of user info row (next to post). But for me that is enough.

In that link is a mistake. I just make a new instruction for you guys (it works on my forum):

in viewtopic_body.html find

Code: Select all

bg2<!-- ENDIF -->
after add

Code: Select all

<!-- IF postrow.RANK_TITLE eq 'Site Admin' --> bg-admin<!-- ENDIF -->
in colours.css after

Code: Select all

.bg3	{ background-color: #cadceb; }
(can also add as Custom CSS)
add

Code: Select all

.bg-admin {background-color: #000000;}
Cheers!

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: eeji and 24 guests

cron