Unpin Restrictions

Is there any way to prevent regular users from unpinning topics? I’m well aware that many forums abuse the usage of pins, which is probably why Discourse allows members to unpin, but I only wish to pin the most important information and I want that to remain pinned until a moderator or admin unpins it.

Sure, you can disable the site setting automatically unpin topics that is the setting used to globally enable/disable the feature.

But users can still click the X and unpin the message right?

Yes, but only if they know that by clicking on the pin icon something changes.

Ah! And you know how to hide that button with CSS.

Is there a way to prevent this entirely without simply hiding the button with css?

Nope. Hide the button with CSS is the only way.

제가 사용하는 코드이며, Staff와 Team 그룹을 제외한 모든 그룹에 적용됩니다.
P.S. 좀비 포스트를 다시 살려서 죄송합니다. 다른 분들께도 유용할 수 있을 것 같아서요.

body:not(.staff) #topic-footer-buttons .pinned-button,
body:not(.primary-group-team) #topic-footer-buttons .pinned-button{
    display: none;
}

body:not(.staff) #topic-footer-buttons .pinned-button:not(.is-hidden)+.topic-notifications-button,
body:not(.primary-group-team) #topic-footer-buttons .pinned-button:not(.is-hidden)+.topic-notifications-button {
    margin-top: 1em;
}