Category Banners

I’ve added a couple new settings:

「いいね!」 5

This is a great component, but since the latest Discourse update I get this error in my console:

TypeError: i is not a function. (In 'i(e,t,r)', 'i' is undefined)

Discourse warns me with this error:

Your site may not work because a theme / component has errors.
Caused by 'Category Banners'.

:frowning:

「いいね!」 1

Hi Ben, the component works on the latest Discourse version.

What is your Discourse version?

「いいね!」 1

Strange. I’m using 3.3.0.beta2-dev

「いいね!」 1

Hello,

This is what I want:
image

This is what I’m getting:

  1. extend banner background color 100%
  2. remove any extra at the arrows

Any tip anyone can share with me?

「いいね!」 2

Hello :wave:

In plugin outlet setting, change to below-site-header. That should do what you want!

「いいね!」 3

I PR’d a small fix that should select the right color in the case where a @username is in the description. Before, it was taking the same color as the main text, making the username practically invisible.

「いいね!」 2

Not exactly.

I want to hide the welcome banner when it is on a category page. Otherwise, when I enable the Welcome Banner to “discovery” instead of “homepage,” I will notice the Welcome Banner and Category Banner simultaneously. Does that make sense?

「いいね!」 1

We have all sorts of odd bugs happening with this component. We cannot seem to nail down that there is no identifiable reason as to when the banner will or will not show up above our categories.

Some will work, some won’t. I’m struggling to even know how to report this because I cannot identify anything different amongst some of our categories.

UPDATE:
My coworker informed me that my understanding of what ‘all’ meant as a target was misinformed.

Carry on.

「いいね!」 1

Did you edit the “About the category” topic of those categories where the banner is missing?

「いいね!」 4

I use plugin Who Online and Two display components are stuck together, how to keep them a reasonable distance apart?

「いいね!」 3

When I set a icon in this category still show me # how fix this? others categories are showing right icon but some not.

Is this componen treating category lock icons differently than other parts of forum? My actual concern is hiding lock icon but banners are showing when locks are hided everywhere else.

3 posts were split to a new topic: Default category heading not hidden when category banner is used

Is there a way to change the background for mentions in the banner? White text is fine in dark mode, but in light mode, mentions in the white text are washed out:

「いいね!」 2

Probably. This was fixed for user @mentions but not for group @mentions.

「いいね!」 2

Thanks @putty and @Moin! I added a fix that should address both the group mention and non-existent user mention colors.

「いいね!」 3

Thanks for that component, any idea why one of my sub category does not show the banner even it has a description? The other sub category do. Thanks. (already cleaned the browser cache…)

Update : it finally worked after one hour, no idea why this delay

「いいね!」 1

I haven’t investigated in the source, but I found out that if I go to the category settings and save them, then the change is applied immediately.

「いいね!」 2

This component works well with the category tag component but unfortunately is not compatible with the tag icon component. While tag icons function elsewhere on the site, they do not work in the description section. Is there a way to fix this?

「いいね!」 1