Disabling /about stats

(Kevin Griffin) #1

Hello everyone,
I haven’t found a good answer anywhere else, so sorry if this is a repeat.

I’m setting Discourse up for a client, and they have a use-case where they would not like users to be able to easily discover the number of registered users on the site. On the /about page, there is a Users/Active Users count - which I would like to disable or hide.

I thought I saw a reference that said I could edit the template for /about, but I wanted to double check there wasn’t a configuration setting I was missing.

Thanks so much!


customize > css/html

.about.stats {display: none;}

(Kevin Griffin) #3

Thanks! I’ll start with that, but I’d like to work towards an approach that doesn’t render in the markup at all.

Maybe along the same lines I could embed a single of JS that removes the .about.stats element all together.