The newthread dms can be a bit overwhelming at first, so I would suggest looking up function build_new_post() in the api. It basically handles all the calls to whatever datamanager you need (most likely threadfirstpost since ypu're creating a new thread). Simply declare thread as first param, then pass it the $newpost array , foruminfo array and should work. Search for it's usage in newthread.php for example to go by.
|