Gibt es eine Möglichkeit zu verhindern, dass reguläre Benutzer Themen wieder abheften? Mir ist sehr wohl bewusst, dass viele Foren die Pinn-Funktion missbrauchen, was wahrscheinlich der Grund dafür ist, dass Discourse Mitgliedern erlaubt, Themen wieder abzuheften. Ich möchte jedoch nur die wichtigsten Informationen anpinnen und wünsche mir, dass diese bis zum Abheften durch einen Moderator oder Administrator gepinnt bleiben.
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.
Das ist das, was ich verwende, und es gilt für alle anderen Gruppen außer Staff und Team.
PS: Entschuldigt, dass ich „Zombie“-Beiträge wiederbelebe, aber andere Leute könnten es dennoch nützlich finden.
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;
}