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

Allow Banned User To Utilize Something Using XenForo's Framework

Discussion in 'XenForo Development Discussions' started by digitalpoint, Dec 10, 2011.

  1. digitalpoint

    digitalpoint Well-Known Member

    Is there a mechanism to override a user's banned status to allow them to view some page that utilizes the XF framework?

    The equivalent to vBulletin's:
    PHP:
    define('NOCHECKSTATE'1);
    In my case it's necessary to allow users to use certain areas of the site, regardless if they are banned from the *forum*... for example, they might be a paid advertiser that needs to manage their ads regardless if they got too many infractions for unrelated things and got a temporary ban.
     
  2. Mike

    Mike XenForo Developer Staff Member

    Override the _assertNotBanned method in the controller.
     
    digitalpoint likes this.

Share This Page