Canapin
(Coin-coin le Canapin)
21 فبراير 2023، 1:30م
6
إليك كيفية إضافة إضافة إلى Discourse:
This guide assumes that you have a self-hosted standard installation. We only support the standard method of install here, so these instructions assume you have a standard install .
This guide only applies to self-hosted Discourse instances. If you are using a managed hosting service, the available plugins are controlled by your hosting provider. For example, on our hosting these specific plugins are available by hosting tier.
In this tutorial, we’ll install the Discours…
إليك مثال لمهمة آلية باستخدام هذه الإضافة:
سيؤدي ذلك تلقائيًا إلى وضع علامة على منشور يحتوي على بعض الكلمات في فئة معينة.
سيتم إخفاء محتوى المنشور، ولكن يمكن لأي شخص، حتى المستخدمين العاديين، النقر فوق زر لإظهار المحتوى المخفي.
يمكن التحايل على هذا باستخدام حل CSS:
Turns out this does create some side effects:
When the most recent post in a topic is hidden and a user clicks on the most recent post indicator in the topics list it will try to go to the hidden post but then “bounce” randomly way back higher in the thread.
The owner of the hidden post won’t have a chance to edit it because the controls for the post are also hidden.
So this appears to be a better solution:
body:not(.staff) {
.post-hidden a.expand-hidden {
display: none;
}
…
ولكن لاحظ سلوكه (يمكن لأي شخص قراءة الرسالة المخفية) تمت مناقشته، ألقِ نظرة على:
How would you feel about having these auto-hidden-due-to-threshold posts hidden to non-moderators and non-flaggers? (leaving it visible as stubs to people who originally flagged and mods)
Keep in mind that this is meant to be a temporary state, people can recover from auto hide by correcting a post.