Setting up a Trash Forum | NulledTeam UnderGround | The Best Scripts Site In The World
Resource icon

Setting up a Trash Forum

AnimeHaxor

Retro-NulledTeam
Staff member
Administrator
Registered
Joined
Nov 22, 2015
Messages
6,261
Reaction score
40,544
Points
113
Website
www.nulledteam.com
Site Script
XenForo
AnimeHaxor submitted a new resource:

Setting up a Trash Forum - Set up a Trash Forum

I like to have a trash forum at my site so here's 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:
Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
to
Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
3. Change xxx with the ID of your trash forum.

Now, every time you soft-delete a thread it will appear as a visible...
Read more about this resource...