Don
11월 24, 2024, 1:31오후
1
안녕하세요
이 테마 컴포넌트는 주제에 답변이 없을 경우 OP(첫 번째 게시글) 아래에 배너를 추가합니다. 이는 답변을 유도하는 데 도움이 될 수 있습니다.
사용자가 답변할 수 없는 경우나 개인 메시지에서는 이 배너가 표시되지 않습니다.
커스터마이징을 위한 몇 가지 설정이 있습니다. 사용하려는 내용에 따라 아이콘 또는 이미지를 선택할 수 있습니다. 제목과 설명은 HTML을 지원하며, 이모지도 추가할 수 있습니다.
예를 들어
제목
Be the first to reply :rocket:
설명
No one has replied to this topic yet. <br> <strong>Be the first</strong> to start the conversation.
30개의 좋아요
Jagster
(Jakke Flemming)
11월 24, 2024, 2:13오후
2
iPad and iPhone, the Hub and Safari: all I see is the ghost. No such errors I can find.
2개의 좋아요
It works fine on Theme Creator .
Jagster
(Jakke Flemming)
11월 24, 2024, 2:22오후
4
And for me it doesn’t work with default theme where is only this component in use Sure, I can try disable plugins too via safe mode .
About theme creator I don’t know anything.
edit
And using safe mode all plugins disabled broke my forum. Sometimes I’m a bit tired for all of this… Well, must start solving out what the heck is acting badly this time.
1개의 좋아요
Don
11월 24, 2024, 2:33오후
5
Hey @Jagster , I checked on iPad and it works for me. I registered to your forum to check what is happening. Can you please enable the theme component?
1개의 좋아요
Jagster
(Jakke Flemming)
11월 24, 2024, 2:35오후
6
It’s enabled now for every themes.
Thanks.
3개의 좋아요
Lilly
(Lillian )
11월 24, 2024, 2:42오후
7
works fine here. very nice Don
I really like this. thank you for sharing
desktop
mobile
and yes it goes away as soon as a reply appears, without a refresh
9개의 좋아요
Don
11월 24, 2024, 2:44오후
8
Thanks, I’ve merged a fix, please update the component.
5개의 좋아요
Jagster
(Jakke Flemming)
11월 24, 2024, 2:47오후
9
Splendeed indeed
May I ask what did you find? I propably don’t understand, but is there some hiding potential issues I shoud know?
2개의 좋아요
Don
11월 24, 2024, 2:52오후
10
It was a compatibility issue with older Discourse versions. Your site is on this Commits · discourse/discourse · GitHub commit. And there was an update with i18n import paths later here DEV: Consolidate i18n import paths (#29804) · discourse/discourse@32665cf · GitHub so the text not appears because I used the new way.
4개의 좋아요
Jagster
(Jakke Flemming)
11월 24, 2024, 2:55오후
11
Off topic already, but that wasn’t too old setup… few days. Not funny for you code gurus
2개의 좋아요
Don
11월 24, 2024, 3:00오후
12
That’s ok I just changed everything on my site and did it automatically here as well, but I didn’t have to change it because it works great now with all versions. Thanks for the report
1개의 좋아요
Great component, thanks !
3개의 좋아요
Very cool, I’ve used quite a few theme components from Don without a problem and this component will certainly be a perfect fit for my site.
Will share the results once I install it.
Edit: Here is the final result! Customized the background and colors a bit, turned out great.
2개의 좋아요
That would be nice to be able to exclude some categories.
6개의 좋아요
Lilly
(Lillian )
11월 24, 2024, 6:03오후
16
Patrick EMIN:
exclude some categories.
easy to do. in common - css of a theme or another component:
.category-[CATEGORY_SLUG] .first-reply-statement {
display: none;
}
for multiple categories, ie::
$categories: 'vip', 'site-feedback', 'staff';
@each $category in $categories {
.category-#{$category} .first-reply-statement {
display: none;
}
}
13개의 좋아요
Jagster
(Jakke Flemming)
11월 24, 2024, 6:24오후
17
Should sub-categories obey that too
4개의 좋아요
Lilly
(Lillian )
11월 24, 2024, 6:26오후
18
yes, just use the slug, preceded by the parent category:
parent-category-name-subcategry-name { etc...
6개의 좋아요
Don
11월 24, 2024, 6:47오후
19
Great Idea
Lilly’s CSS is also a great solution if you just want to hide it, but if you want it not to be rendered, I added a new setting to the top of the Theme Settings.
12개의 좋아요