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

Successful Post Run Query

Discussion in 'XenForo Questions and Support' started by Storm3y, Aug 12, 2012.

  1. Storm3y

    Storm3y Member

    Hello,

    I'm looking to integrate my forum more with Minecraft. I want to run a PHP script when a user makes a successful post.

    I've no idea how to do this and would appriciate some guidance. Is there a plugin for XenForo that will already do this?

    Cheers
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This is the relevant action for creating a thread:

    XenForo_ControllerPublic_Forum::actionAddThread

    And for replying to a thread:

    XenForo_ControllerPublic_Thread::actionAddReply

    You can modify those files or create an addon to extend those controllers.
     

Share This Page