Erm, no…
--------------- Added [DATE]1238439143[/DATE] at [TIME]1238439143[/TIME] ---------------
Ok, so I looked up the function and this was all I was able to decipher out of it, and it's not working. Nothing's even getting posted. Looks like I took a step back.
PHP Code:
error_reporting( E_ALL & ~E_NOTICE );
require_once( '/home/myhybrid/www/forums/includes/functions_misc.php' );
require_once( '/home/myhybrid/www/forums/includes/class_dm.php' );
require_once( '/home/myhybrid/www/forums/includes/class_dm_threadpost.php' );
$forumid = 36;
$threadid = (int) $_POST['threadid'];
$vb_username = $vbulletin->userinfo['username'];
$vb_userid = $vbulletin->userinfo['userid'];
$threadinfo = fetch_threadinfo( $threadid );
$foruminfo = fetch_threadinfo( $forumid );
$post['title'] == '';
$post['message'] == mysql_real_escape_string( $_POST['body'] );
build_new_post( 'reply', $foruminfo, $threadinfo, $postinfo, &$post, &$errors);