Page 2 of 2

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 25 Jul 2025, 11:01
by Holger
I would love to see the new categories (Global Announcements, Announcements, Stickies) frames in different colors.

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 25 Jul 2025, 19:49
by Stoker
Holger wrote: 25 Jul 2025, 11:01 I would love to see the new categories (Global Announcements, Announcements, Stickies) frames in different colors.
Im not really a fan of the idea :D

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 25 Jul 2025, 21:44
by Steve
It can be done in the colour.css file
And there is an extension to colour forums for this n the cdb by 3DI iirc.

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 27 Jul 2025, 09:50
by Holger
Nice, thank you!

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 28 Jul 2025, 03:13
by Stoker
Holger wrote: 25 Jul 2025, 11:01 I would love to see the new categories (Global Announcements, Announcements, Stickies) frames in different colors.
Like this:
colors.png
Open viewforum_body.html
Find:

Code: Select all

<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
Replace with:

Code: Select all

<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-steve<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce-steve<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky-steve<!-- ENDIF -->">
Then add this to your stylesheet (add.css)

Code: Select all

.sticky-steve {
	background-color: green !important;
	background-image: none !important;
}
.announce-steve {
	background-color: black !important;
	background-image: none !important;
}
.global-steve {
	background-color: red !important;
	background-image: none !important;
}
purge cache

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 28 Jul 2025, 06:21
by Holger
Oh. Wow. Thanks!

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 29 Jul 2025, 07:15
by Stoker
And if we want this instead:
color_separate.png

You just need this piece of css:

Code: Select all

.sticky {
	background-color: green !important;
}
.announce {
	background-color: yellow !important;
}
.global-announce {
	background-color: red !important;
}

[3.3][RC] Separate Announcements and Stickies - phpBB Extension

Posted: 29 Jul 2025, 07:47
by Holger
Oh nooooo :-D