# Classic About Statistics

**URL:** https://meta.discourse.org/t/classic-about-statistics/336150
**Category:** Theme component
**Tags:** about-page
**Created:** [November 14, 2024, 2:10pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150 "2024-11-14T14:10:33Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2024, 2:10pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/1 "2024-11-14T14:10:33Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Replace old About statistics |
| 👓 | **Preview** | [About our Club - Grey Arrows Drone Club UK](https://greyarro.ws/about) |
| 🛠 | **Repository** | [GitHub - literatecomputing/classic-about-statistics · GitHub](https://github.com/literatecomputing/classic-about-statistics) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

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

 ![This image displays a table presenting site statistics. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/9/d/8/9d817c11e839c55377bc14a9a5b660278bc49c4d.png)

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](http://greyarro.ws/) for paying to develop this theme component and it’s continued maintenance for the first year.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 14, 2024, 3:19pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/2 "2024-11-14T15:19:58Z")

</div>

It wasn’t obvious you were [up to something like this](https://meta.discourse.org/t/how-to-access-about-model-from-a-component-outletargs-to-the-rescue/335967) at all 😉 🕵️‍♂️ 🚀

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2024, 3:23pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/3 "2024-11-14T15:23:03Z")

</div>

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. 😉

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 14, 2024, 3:25pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/4 "2024-11-14T15:25:20Z")

</div>

Firstly, it’s great to have something from “legacy” that’s actually useful but for whatever reason gets removed 👍 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!

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [November 14, 2024, 4:26pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/5 "2024-11-14T16:26:36Z")

</div>

> [@merefield](#):
>
> it’s great to have something from “legacy” that’s actually useful but for whatever reason gets removed

Agreed 😊

Great #Customization > Theme component, thanks @pfaffman 🤩

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [November 14, 2024, 6:31pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/6 "2024-11-14T18:31:13Z")

</div>

> [@pfaffman](#):
>
> 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.

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:

> [@New and improved About page at /about is live](https://meta.discourse.org/t/new-and-improved-about-page-at-about-is-live/324212/74):
>
> Hiding “Site activity” section The old About page had a “stats” class on a div that allowed “Site activity” to be easily suppressed via custom CSS: //suppress site statistics on old About page .stats { display: none; } The new About page lacks this div class. It would be nice to have, but for anyone else not wanting site stats shown, here’s a way to suppress the separate elements as they’re currently rendered: // suppress site statistics on NEW About page .about\_\_right-side H3:nth-of-ty…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 14, 2024, 11:04pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/7 "2024-11-14T23:04:19Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [November 14, 2024, 11:09pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/8 "2024-11-14T23:09:50Z")

</div>

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

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

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 15, 2024, 6:54am UTC](https://meta.discourse.org/t/classic-about-statistics/336150/9 "2024-11-15T06:54:00Z")

</div>

nice work! 👏

> [@pfaffman](#):
>
> Replace old About statistics

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

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [November 15, 2024, 2:31pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/10 "2024-11-15T14:31:57Z")

</div>

> [@Lilly](#):
>
> the description should be “replace new about statistics with classic view” or something similar

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 🙂

---

<div class="post-metadata">

### Author: ![putty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/putty/32/370902_2.png) [@putty](https://meta.discourse.org/u/putty)
#### Post date: [March 24, 2026, 2:14pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/11 "2026-03-24T14:14:52Z")

</div>

Hi @pfaffman,  
This component started getting a deprecation notice with [these changes](https://meta.discourse.org/t/deprecating-hbs-file-extension-in-themes-and-plugins/398896). Do you mind [reviewing/approving the PR to update it](https://github.com/literatecomputing/classic-about-statistics/pull/1)?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 24, 2026, 8:36pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/12 "2026-03-24T20:36:15Z")

</div>

[https://github.com/literatecomputing/classic-about-statistics/pull/1](https://github.com/literatecomputing/classic-about-statistics/pull/1)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 25, 2026, 4:40pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/13 "2026-03-25T16:40:57Z")

</div>

I copied over the latest stuff from discourse-theme-skeleton and fixed the linting errors. I did not test to see that it works, largely because I don’t really know what the old Classic Statistics are supposed to look like. 🤷

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [March 25, 2026, 4:56pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/14 "2026-03-25T16:56:21Z")

</div>

I’m still proudly running this on my Discourse if you need to take a look 😊

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 25, 2026, 5:04pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/15 "2026-03-25T17:04:14Z")

</div>

Good to know! (Ah, but I’m not an admin right now, so I’ll have to take your word!) You can see if the changes I just made make it any better or worse. 🤣

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [April 1, 2026, 3:15pm UTC](https://meta.discourse.org/t/classic-about-statistics/336150/16 "2026-04-01T15:15:56Z")

</div>

> [@pfaffman](#):
>
> You can see if the changes I just made make it any better or worse.

Just updated, thankfully no issues or changes to report 😅
