# Moderation Plugin

**URL:** https://meta.discourse.org/t/moderation-plugin/88305
**Category:** Development
**Created:** [May 23, 2018, 9:53pm UTC](https://meta.discourse.org/t/moderation-plugin/88305 "2018-05-23T21:53:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![richhat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richhat/32/97512_2.png) [@richhat](https://meta.discourse.org/u/richhat)
#### Post date: [May 23, 2018, 9:53pm UTC](https://meta.discourse.org/t/moderation-plugin/88305/1 "2018-05-23T21:53:05Z")

</div>

Community Sift is implementing a moderation plugin for Discourse.

Ideally, moderators would be presented with the classification results of a post in either the “Needs Approval” or “Flagged” for moderation queues.

Would anyone be able to provide guidance as to how to surface custom HTML in Flagged Posts and/or Needs Approval Posts?

The end goal would look something like this

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/f/efe6d5e0e94235c92669fa733b5902719d35385e.png)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 30, 2018, 3:57pm UTC](https://meta.discourse.org/t/moderation-plugin/88305/2 "2018-05-30T15:57:38Z")

</div>

Hello Richard,

The component displayed here is a `{{flagged-post}}` if I’m not mistaken. If you open `adminjs/templates/components/flagged-post.hbs` you will see `{{plugin-outlet name="flagged-post-controls"...` and `{{plugin-outlet name="flagged-post-below-controls"...`

This is where you want to hook your plugin. If you don’t know about plugin-outlet yet, I recommend your read [Developing Discourse Plugins - Part 2 - Connect to a plugin outlet](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-2-plugin-outlets/31001)

Hope it will be helpfull.
