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

New Thread Hook

Discussion in 'XenForo Development Discussions' started by semprot, Feb 13, 2014.

  1. semprot

    semprot Active Member

    I want to do some checking before new thread form is displayed.
    What controller & which function that i should override?
    I've tried to see "ControllerPublic/Thread.php" but i can't find function of new thread there.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    semprot likes this.
  3. semprot

    semprot Active Member

  4. Chris D

    Chris D XenForo Developer Staff Member

    No, that's still not correct.

    Look at the URL.

    http://xenforo.com/community/forums/blah/create-thread

    So you'd be looking for the Forum controller and actionCreateThread
     
    semprot likes this.
  5. semprot

    semprot Active Member

    Awesome. Thanks :)
     

Share This Page