Built in way to remove default moderators group from About page?

Other than CSS, and other than a theme component, is there a built in way to remove the default moderator group from the about page?

I just figure out that if you add @moderators to the list of groups to hide from the moderators section of the about page, the whole section disappears.

It this the best way to accomplish this?

I’m doing this because we have to grant staff access to some managers and we don’t want them listed in the moderators section.

A simple way to achieve this is to make them TL4 - this grants them many ‘staff’ priviledges without them actually being in the moderator group.

Totally not. They need access to staff discussions and (sometimes) review queue. So the TL4 extra privileges (which aren’t that many) won’t help.

I wish it did. We could really use a third staff type, but I imagine that would be a nightmare to code.

Fair enough.

So you do want to show the moderators group, but don’t want to show those individuals who are members of it. Got it.

Easy.

  1. Add them to the moderators group
  2. Also make a group of just the managers (probably only visible to admins)
  3. Add this group to about_page_hidden_groups (via yoursiteurl.com/admin/site_settings/category/all_results?filter=about%20page%20hidden%20groups)
  4. Viola!

I’m confused - wouldn’t that show the managers in the moderators group?

You might be thinking about the about_page_extra_groups setting which would indeed do that.

The setting above suppresses the users in that group from appearing in the other groups on the /about page. They will of course appear on the moderators group page, just not the /about page.

I remember this, as @pfaffman was quite excited about its implementation as he used to appear as an admin on tonnes of Discourse sites!

Ah. That’s it. I assumed it hid the managers group, but they can still be seen. My bad!

1 Like