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

Show page when the Board is deactivated

Discussion in 'XenForo Development Discussions' started by ragtek, Mar 1, 2011.

  1. ragtek

    ragtek Guest

    XenForo checks in XenForo_ControllerPublic_Abstract::_preDispatchType if the board is active.

    Can i change this in MY controller (without using the eventsystem to override this), so the page will also be shown, if the board is deactivated?
  2. Mike

    Mike XenForo Developer Staff Member

    Yes, just override _assertBoardActive() as empty.
    ajnos and Floris like this.
  3. ragtek

    ragtek Guest

    I should check the code better, i thought it was a final method, but only _preDispatchType is final...

    thx very much
    ajnos and Floris like this.

Share This Page