Canapin  
                
                  
                    February 21, 2023,  1:30pm
                   
                  6 
               
             
            
              Here’s how to add a plugin to Discourse:
  
  
    standard install . 
these specific plugins  are available by hosting tier. 
In this tutorial, we’ll install the Discours… 
   
 
Here’s an example of an automated task with this plugin:
It will automatically flag a post that contains some words in a specific category.
This can be circumvented with a CSS solution:
  
  
    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;
    }
…
   
 
But note his behavior (hidden message can be read by anyone) is discussed, have a look at:
  
  
    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.