클래식 정보 통계

Install this theme component

Display the old about statistics under the moderators and hide the new statistics on the right sidebar.

At the time I wrote this the statistics in the right sidebar are not wrapped in a single class, so I had to hide the <h3> header with last-child. I’m not sure how fragile that might be.

Thanks to @Richie and the Grey Arrows Drone Club for paying to develop this theme component and it’s continued maintenance for the first year.

16개의 좋아요

It wasn’t obvious you were up to something like this at all :wink: :male_detective: :rocket:

5개의 좋아요

Not to those in the know, and especially, those who know more than I do! It’s rare that I get anything done without asking for help here, even if I’m the one who ends up providing it. :wink:

7개의 좋아요

Firstly, it’s great to have something from “legacy” that’s actually useful but for whatever reason gets removed :+1: so thanks for keeping this around.

Secondly, been there, done that … I often post then up to a day later solve my own problem so know where you are coming from!

9개의 좋아요

전적으로 동의합니다 :blush:

훌륭한 Customization > Theme component 감사합니다 @pfaffman :star_struck:

4개의 좋아요

Cool – I approached this with nth-of-type rather than last-child. For anyone wanting to suppress the new stats without restoring old stats, a little CSS clip over here (currently) works:

Thanks, @ToddZ! I would have used the nth- version if I knew anything about css. I’ll integrate your code tomorrow or next week.

Maybe I’ll submit a PR with the proper class so these css tricks aren’t required.

I don’t know if one hack is any better than the other, as long as they work :smile:

But yeah, a stats class around the whole thing would be handier.

2개의 좋아요

nice work! :clap:

I think perhaps the description should be “replace new about statistics with classic view” or something similar.

2개의 좋아요

Maybe just:

Replace the about statistics with the classic statistics table

ie. Remove the word “new”, as the new about page won’t stay new for long :slight_smile:

2개의 좋아요

안녕하세요 @pfaffman,
이 컴포넌트에 이 변경 사항으로 인해 비권장(deprecation) 경고가 표시되기 시작했습니다. 업데이트를 위한 PR을 검토하고 승인해 주시겠습니까?

2개의 좋아요
1개의 좋아요

discourse-theme-skeleton에서 최신 내용을 가져와서 린팅 오류를 수정했습니다. 동작하는지 테스트하지는 않았는데, 주로 기존 Classic Statistics가 어떤 모습이어야 하는지 잘 모르기 때문입니다. :person_shrugging:

필요하시면 확인하실 수 있도록, 저는 여전히 자부심을 갖고 Discourse에서 이걸 운영하고 있습니다 :blush:

2개의 좋아요

좋은 정보네요! (아, 근데 지금은 관리자가 아니라서 그냥 믿을 수밖에 없겠네요!) 방금 제가 바꾼 게 더 나아졌는지 나빠졌는지 직접 확인해 보세요. :rofl:

방금 업데이트를 완료했습니다. 다행히 문제가 없었고 보고할 변경 사항도 없습니다 :sweat_smile:

1개의 좋아요