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

Successful Post Run Query

#1
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
 

Jake Bunce

XenForo moderator
Staff member
#2
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.