Managing Posts and Comments
important
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 forem.dev to request additional support. We thank you for your patience and hope you're liking the changes!
Below we'll go over how to delete posts and comments in detail.
#
Deleting PostsGenerally 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.
#
Steps to Unpublish and/or Delete a PostTo unpublish a post, you'll need to:
- Ensure that whatever account you're logged into has "trusted user" abilities (i.e. not just "super admin" or "admin" abilities).
- 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)
- Click on the moderator shield icon in the bottom righthand corner of the screen
- Cick the button that says "unpublish article" in red
If you want to fully delete the user's article, follow the steps above and then:
- Navigate to the user's dahboard (e.g. jess.forem.lol/dashboard/username)
- Click the red "delete" button beside the unpublished post's title
There is no easy way to undelete a post, so please be careful when doing this.
#
Unpublish all of a User's PostsTo unpublish all of a user's posts, you'll want to navigate to their admin profile, /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.
#
Banish a User to Delete All of Their PostsBanishing 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.
You can learn more about banishing users here (link coming soon).
#
Deleting CommentsAs a super admin that also has trusted permissions, deleting a comment is quite easy.
#
Steps to Delete a CommentTo delete a comment:
- 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.
- Click on the three dots
...
menu to the top right of the comment's window. - Click on "Moderate"
- Look to the bottom of the page and click "Delete Comment"
There is no easy way to undelete a comment, so please be careful when doing this.