Flagged posts appear to everyone, instead of being hidden for users who aren't logged

AI-generated summary

Flagged Posts Visibility Issue

A discussion was started by BH10 regarding an issue with flagged posts being visible to all users, including those who aren’t logged in. BH10 mentioned that previously, flagged posts were only visible to moderators and admins.

JammmyDodger suggested that this might have been a temporary change when the “hidden post visible groups” setting was introduced. BH10 asked if there’s a way to completely hide flagged messages for logged-out users and users with trust levels 1, 2, and 3.

JammmyDodger proposed a CSS solution using the “css-classes-for-current-users-groups” theme component to target specific user groups. However, BH10 later reported that the issue seems to be fixed without trying the CSS suggestion, and flagged posts are now only visible to admins and users with trust level 4 or higher.

Hi, everyone :wave:

I hope you’re all having a lovely week so far!

A while ago, there was an option for moderators to flag inappropriate messages, and the messages weren’t visible to basic users. :point_down:

image

Currently, when a message is flagged, it’s still visible, even to those who are not logged in:
image

Can someone guide me on changing the settings so that the flagged posts can appear only to admins and moderators?

I think this may have been a temporary thing when the new hidden post visible groups setting was introduced, which has now been superseded by the current behaviour?

Thanks for the reply. Is there a way to completely hide a flagged message for visitors (logged-out users) and users with trust levels 1,2,3 :thinking: I know if you delete the message, it will appear only to admins/moderators, which is basically the same.

I think you may be able to target them with a little CSS. If you had the CSS Classes for Current User's Groups theme component I think you could do something like this:

.post-hidden {
    display: none;
}

.group-trust_level_4 .post-hidden {
    display: initial;
}

You may need to tinker with it to get the results you want though, depending on staff trust levels or category moderators, etc

Thanks, @JammyDodger :pray:

I haven’t tried the above suggestion but it seems the issue is now fixed.

Here’s what I see from my admin profile:

image

And there’s no trace of those hidden replies if the trust level is below 4 or when the person is not logged in

image