• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Setting up a Trash Forum


Well-known member
I like to have a trash forum at my forums so here is how to do it:

1. Set up a Trash Forum, don't forget to untick "Allow new messages to be posted in this forum".

2. In library\XenForo\Model\Thread.php and In library\XenForo\Model\InlineMod\Thread.php change:
$dw->set('discussion_state', 'deleted');

$dw->set('node_id', 'xxx');
3. Change xxx with the ID of your trash forum.

Now, every time you soft-delete a thread it will appear as a visible thread in the trash forum you created.
Permanently deleted threads are still permanently deleted :)


Well-known member


Very interesting, thanks for sharing Vincent.

On http://xenfans.com we have a private archive that only the admins have access to. It's


Archive is where the current content goes, the staff sub forum is where all private team discussions go, and and the 2010 is just older archive content from previous year(s), so we have a current + history (makes it easier to search through).

Your approach to a trash bin, interesting.