Hide post footer links pins etc info

AI-generated summary

The discussion revolves around hiding post footer links, pins, and other distractions for non-staff users while keeping them visible for staff. dkebler suggests a new setting to minimize distractions, targeting elements like .post-links-container, .post-notice.new-user, and .small-action.onscreen-post. JammyDodger proposes using CSS to hide these elements for all users except staff, leveraging the staff class applied to staff views. Heliosurge asks about targeting Trust Level 4 and clarifies whether the changes affect only pinned posts. JammyDodger confirms the CSS targets all small action posts and notes their usefulness, while suggesting more complex targeting for other user roles. Heliosurge also suggests hiding small actions for new users until they reach a higher trust level, and emphasizes the need to keep the ‘Closed Topic’ indicator visible to all.

This information about the post (links, pins, etc) is visibile for all users.

I don’t see a setting to hide it for all but say staff.

The “topic map” is ok but where it is linked and pinned it is distracting (for noobs espcecially) and not really relevant for non staff.

I’ve hidden them via css but now staff will not see them.

One suggestion is a new setting minimize post distractions. Would apply to all but staff.

so far it would include

.post-links-container,
.post-notice.new-user,
.small-action.onscreen-post

You could hide them, and then display them only for staff using something like this:

.small-action.onscreen-post {
    Display:none;
}

.staff .small-action.onscreen-post {
    Display :initial;
}

Could you also add TL 4 to see small-action?

Does this just hide pins? If not what other details does this hide?

All that little snippet does is hide the small action posts for everyone, and then make them visible to staff users. To be honest, I find the small action posts quite useful (especially the ‘closed’ one), so I wouldn’t advocate hiding them - though deleting some can help clear some noise.

Staff users get a ‘staff’ class added to the page when viewing, so it’s easier to target them. :slightly_smiling_face: If you wanted to add others I think that would require something more complicated. There’s an example of how to add a specific ‘admin’ class in this post which you may be able to adapt?

Okay indeed. Plus need to have Closed Topic visible for all. Simply hiding :pushpin: though could be useful.

I presume though you could target just new user to hide the small actions until they acheive a higher trust level?