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

Extensions for phpBB 3.3.X
Maintained and supported by Stoker
No Avatar
Holger Offline
BBCoder II
BBCoder II
Posts: 14
Joined: 11 Jul 2013, 13:13
Local time: 08 Sep 2025 02:13
Last active: -

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

Post by Holger »

I would love to see the new categories (Global Announcements, Announcements, Stickies) frames in different colors.
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,562
Joined: 12 May 2008, 21:26
Local time: 08 Sep 2025 02:13
Last active: -
Favourite EXT: Forum Goal
Location: Denmark
Contact:

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

Post 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
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Steve Offline
Donator
Donator
Posts: 1,589
Joined: 04 Mar 2010, 23:10
Local time: 08 Sep 2025 01:13
Last active: -
Favourite BBCode: {
Favourite EXT: {
Location: { .

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

Post 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.
stokers bugs: {.23%t>
my bugs: .
No Avatar
Holger Offline
BBCoder II
BBCoder II
Posts: 14
Joined: 11 Jul 2013, 13:13
Local time: 08 Sep 2025 02:13
Last active: -

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

Post by Holger »

Nice, thank you!
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,562
Joined: 12 May 2008, 21:26
Local time: 08 Sep 2025 02:13
Last active: -
Favourite EXT: Forum Goal
Location: Denmark
Contact:

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

Post 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
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Holger Offline
BBCoder II
BBCoder II
Posts: 14
Joined: 11 Jul 2013, 13:13
Local time: 08 Sep 2025 02:13
Last active: -

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

Post by Holger »

Oh. Wow. Thanks!
User avatar
Stoker Offline
Site Admin
Site Admin
Posts: 4,562
Joined: 12 May 2008, 21:26
Local time: 08 Sep 2025 02:13
Last active: -
Favourite EXT: Forum Goal
Location: Denmark
Contact:

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

Post 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;
}
~ The greatest achievement in life is to inspire ~
Regards Stoker
No Avatar
Holger Offline
BBCoder II
BBCoder II
Posts: 14
Joined: 11 Jul 2013, 13:13
Local time: 08 Sep 2025 02:13
Last active: -

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

Post by Holger »

Oh nooooo :-D
Post Reply