I want to add new posts to a thread using 3rd party application. The easiest way I can think of is inserting data directly into the database. What tables/records should I insert and update? xf_post is obvious, but it's not enough as I can see.
Could you please show me a simple class with a method to create a new reply in a thread? Or recommend some addon, that implements this functionality? I find it very difficult to understand XF's structure.