1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Setting up a Trash Forum

Set up a Trash Forum

  1. Vincent
    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:
    $dw->set('discussion_state', 'deleted');
    to...
    You do not have permission to view the full content of this resource.
    JohnDer, Cyb3r, officialicon and 13 others like this.

Recent Reviews

  1. Kalgon
    Kalgon
    5/5,
    Just what I needed, man! Thanks for posting this. Still works as of Xenforo 1.5.10 and hopefully will continue to work.
  2. ^[GS]^
    ^[GS]^
    5/5,
    Excelent :) work in 1.3.2
  3. NixFifty
    NixFifty
    5/5,
    Very nice :D