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 »

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
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

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

Post by Hanakin »

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 »

@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: 3212
Joined: Sat Nov 21, 2009 12:24 pm

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

Post by pit-PL »

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 »

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”