MyBB Community Forums

Full Version: SQL query to add a thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.