Remove about page

AI-generated summary

The discussion revolves around removing or customizing the About page in Discourse. Julien_Bonnier asks how to remove the About page or hide certain administrators. j127 suggests using CSS to hide elements, but Julien_Bonnier notes this doesn’t remove them from the DOM. FunnySmile and awesomerobot explain that to fully remove elements, one must override the About page template in a theme, providing links to the relevant template and instructions. jserre questions if there’s a setting to hide the About page entirely, to which JammyDodger replies that no such setting exists, but a feature request has been made for it here.

Hi,

Is there any way to remove the about page or at least control the information that is in it?
Like not displaying some administrators.

You can use CSS like this. Put the username where it says “Bob”.

.about-page div[data-username="Bob"] {
    display: none !important;
}

Well, this is hiding an element, but it is still in the DOM.

You can try using js scripts to block

To remove it from the DOM completely you’d have to override the about page template in a theme… there’s some detail about how to do that here: (not recommended) Overriding Discourse templates from a Theme or Plugin

The default template is this one: discourse/app/assets/javascripts/discourse/app/templates/about.hbs at 9e440dca332c0e2879a1a6a4ee49347aba33d1ef · discourse/discourse · GitHub

And to override you’d want to copy the contents of the above file, add them to {theme}/javascripts/discourse/templates/about.hbs, and modify as you see fit. You could remove all admins by simply removing this block…

{{#if this.model.admins}}
  <section class="about admins">
    <h3>{{d-icon "users"}} {{i18n "about.our_admins"}}</h3>

    <AboutPageUsers @users={{this.model.admins}} />
    <div class="clearfix"></div>
  </section>
{{/if}}

If you wanted to remove only some admins you’d probably need to override the route to add your own filter (the default route is here: discourse/app/assets/javascripts/discourse/app/routes/about.js at 098ab29d4150a5a39880d59ef6cad5f6795a18fd · discourse/discourse · GitHub)

Maybe I’ve not drilled deep enough, but I haven’t found a setting to completely hide the “About” page for all users (or at least to all users but Admins).

Am I missing something?

No, you’re not missing anything. There is currently no setting for this. There is a Contribute > Feature request to add one, which you have already commented on:

Thank you!