How to setup a trash forum

In this tutorial we are going to discuss how to add a trash forum to our site. This allows us to add soft deleted threads to this forum automatically.

So what do we need to do in order to do this? Well first we must create a new node and include the trash category into it. Make sure that when you do this you untick “Allow new messages to be posted in this forum”  Also make sure that you make it so only mod’s and admins can see it so that your members cannot.

So we are going to look for the following file’s to edit:




In both of these we are going to change them from the following:

$dw->set(‘discussion_state’, ‘deleted’);


$dw->set(‘node_id’, ‘xxx’);

Where “xxx” is the node number that you wish for this to go to.

Looks like this:


Once you change it you will see this:


Now we need to verify that it does infact work. So what you will do is delete a thread (not permentally) and see if it goes where you need it too.

there you have it!

If you have any questions please feel free to ask away!

Looking for quality XenForo hosting? Check out Arvixe Web Solutions

Tags: , , , , , , , | Posted under XenForo | RSS 2.0

Author Spotlight

Keith Pottratz

Hello My Name is Keith Pottratz. I have been working with computers for over a decade. It's my personal hobby something that I love and enjoy doing. I went to school for Computer Science, and have spent many years self teaching my self various things. I have ton's of experience in HTML,CSS, PHPBB,CPanel,CMS software, blogging software and various other systems and enviroments. My favorite thing to do though is backend developing. I find it to be a growing and ever evolving beast and I love learning about it. I look forward to giving as much knowledge as I can and help.

Leave a Reply

Your email address will not be published. Required fields are marked *