What is the SQL query to add a thread? Or is there something I can call like mybb_addnewthread('forumid','Subject','Blah blah blah about subject','Dennistt');
not that easy im afraid. You'll have to add two things using SQL queries. One is a thread topic, the other is the posts itself, then update the forum stats. All different tables. Its very tricky.