The new threadid and postid will be in $post[] in build_new_post(), but not until after $dataman->save() is called. So if you create a plugin using hook newpost_complete you will be able to get the new postid.
You could also use plugins using hooks in newreply.php and newthread.php as long as they are after build_new_post() is called, and the postid will be in $newpost[].
|