PageSourceSearch

https://forem-admin.netlify.app/assets/js/e1d29ed9.e98eb680.js

js forem-admin.netlify.app collected 2026-10-03 10:45:41 UTC 8,609 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkforem_admin=self.webpackChunkforem_admin||[]).push([[8228],{3905:function(e,t,n){n.d(t,{Zo:function(){return m},kt:function(){return c}});var o=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,o,a=function(e,t){if(null==e)return{};var n,o,a={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=o.createContext({}),u=function(e){var t=o.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},m=function(e){var t=u(e.components);return o.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},p=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,m=s(e,["components","mdxType","originalType","parentName"]),p=u(n),c=a,h=p["".concat(l,".").concat(c)]||p[c]||d[c]||i;return n?o.createElement(h,r(r({ref:t},m),{},{components:n})):o.createElement(h,r({ref:t},m))}));function c(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,r=new Array(i);r[0]=p;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:a,r[1]=s;for(var u=2;u<i;u++)r[u]=n[u];return o.createElement.apply(null,r)}return o.createElement.apply(null,n)}p.displayName="MDXCreateElement"},6206:function(e,t,n){n.r(t),n.d(t,{default:function(){return m},frontMatter:function(){return r},metadata:function(){return s},toc:function(){return l}});var o=n(7462),a=n(3366),i=(n(7294),n(3905)),r={description:"A breakdown of managing user content on the admin pages.",sidebar_position:0},s={unversionedId:"managing-your-community/managing-posts-and-comments",id:"managing-your-community/managing-posts-and-comments",isDocsHomePage:!1,title:"Managing Posts and Comments",description:"A breakdown of managing user content on the admin pages.",source:"@site/docs/managing-your-community/managing-posts-and-comments.md",sourceDirName:"managing-your-community",slug:"/managing-your-community/managing-posts-and-comments",permalink:"/docs/managing-your-community/managing-posts-and-comments",editUrl:"https://github.com/forem/admin-docs/edit/main/docs/managing-your-community/managing-posts-and-comments.md",version:"current",sidebarPosition:0,frontMatter:{description:"A breakdown of managing user content on the admin pages.",sidebar_position:0},sidebar:"tutorialSidebar",previous:{title:"Badges",permalink:"/docs/forem-basics/badges"},next:{title:"Removing Spam",permalink:"/docs/managing-your-community/removing-spam"}},l=[{value:"Deleting Posts",id:"deleting-posts",children:[{value:"Steps to Unpublish and/or Delete a Post",id:"steps-to-unpublish-andor-delete-a-post",children:[]},{value:"Unpublish all of a User&#39;s Posts",id:"unpublish-all-of-a-users-posts",children:[]},{value:"Banish a User to Delete All of Their Posts",id:"banish-a-user-to-delete-all-of-their-posts",children:[]}]},{value:"Deleting Comments",id:"deleting-comments",children:[{value:"Steps to Delete a Comment",id:"steps-to-delete-a-comment",children:[]}]}],u={toc:l};function m(e){var t=e.components,n=(0,a.Z)(e,["components"]);return(0,i.kt)("wrapper",(0,o.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("div",{className:"admonition admonition-important alert alert--info"}
1,(0,i.kt)("div",{parentName:"div",className:"admonition-heading"},(0,i.kt)("h5",{parentName:"div"},(0,i.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,i.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,i.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"important")),(0,i.kt)("div",{parentName:"div",className:"admonition-content"},(0,i.kt)("p",{parentName:"div"},"We're in the middle of some fast-moving changes to the Forem Admin experience, so we've paused documentation updates for the time being. You may find that the docs are now outdated in parts. If you have any questions, please visit ",(0,i.kt)("a",{parentName:"p",href:"https://forem.dev"},"forem.dev")," to request additional support. We thank you for your patience and hope you're liking the changes!"))),(0,i.kt)("p",null,"Below we'll go over how to delete posts and comments in detail."),(0,i.kt)("h2",{id:"deleting-posts"},"Deleting Posts"),(0,i.kt)("p",null,"Generally speaking, we advise you against deleting users' posts, but instead would guide you to unpublish a user's post. This way, the can still recover their content and take it elsewhere. That said, there are definitely times when deletion is warranted. We'll provide guidance on both how to unpublish and how to fully delete a post below."),(0,i.kt)("h3",{id:"steps-to-unpublish-andor-delete-a-post"},"Steps to Unpublish and/or Delete a Post"),(0,i.kt)("p",null,"To unpublish a post, you'll need to:"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},'Ensure that whatever account you\'re logged into has "trusted user" abilities (i.e. not just "super admin" or "admin" abilities).'),(0,i.kt)("li",{parentName:"ol"},"Navigate to the article you'd like to delete. To be clear you should be looking at the public-facing article page (i.e. not in admin)"),(0,i.kt)("li",{parentName:"ol"},"Click on the moderator shield icon in the bottom righthand corner of the screen"),(0,i.kt)("li",{parentName:"ol"},'Cick the button that says "unpublish article" in red')),(0,i.kt)("p",null,"If you want to fully delete the user's article, follow the steps above and then:"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},"Navigate to the user's dahboard (e.g. jess.forem.lol/dashboard/username)"),(0,i.kt)("li",{parentName:"ol"},'Click the red "delete" button beside the unpublished post\'s title')),(0,i.kt)("p",null,"There is no easy way to undelete a post, so please be careful when doing this."),(0,i.kt)("h3",{id:"unpublish-all-of-a-users-posts"},"Unpublish all of a User's Posts"),(0,i.kt)("p",null,"To unpublish all of a user's posts, you'll want to navigate to their admin profile, ",(0,i.kt)("inlineCode",{parentName:"p"},"/admin/users/{id}/edit"),', and you\'ll want to scroll down to "Semi-Destructive Actions" and click the button "Unpublish all posts" - this will unpublish all of the user\'s posts.'),(0,i.kt)("h3",{id:"banish-a-user-to-delete-all-of-their-posts"},"Banish a User to Delete All of Their Posts"),(0,i.kt)("p",null,"Banishing a user will delete all of a user's posts and their account too. This is particularly helpful for getting rid of any spammers that you my come across."),(0,i.kt)("p",null,"You can learn more about banishing users here (link coming soon)."),(0,i.kt)("h2",{id:"deleting-comments"},"Deleting Comments"),(0,i.kt)("p",null,"As a super admin that also has trusted permissions, deleting a comment is quite easy."),(0,i.kt)("h3",{id:"steps-to-delete-a-comment"},"Steps to Delete a Comment"),(0,i.kt)("p",null,"To delete a comment:"),(0,i.kt)("ol",null,(0,i.kt)("li",{parentName:"ol"},"Navigate to the comment you'd like to delete. You can either find the comment in the discussion beneath an article or go directly to the comment's unique URL."),(0,i.kt)("li",{parentName:"ol"},"Click on the three dots ",(0,i.kt)("inlineCode",{parentName:"li"},"...")," menu to the top right of the comment's window."),(0,i.kt)("li",{parentName:"ol"},'Click on "Moderate"'),(0,i.kt)("li",{parentName:"ol"},'Look to the bottom of the page and click "Delete Comment"')),(0,i.kt)("p",null,"There is no easy way to undelete a comment, so please be careful when doing this."))}m.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.