Ducks
08-05-2007, 07:21 AM
Everytime a user creates a thread I must moderate it to be shown. I'm not sure why this happen, but I'm using a custom thread creation page maybe my script needs a touch.
$vbulletin->options['reportforum'] = $_POST['genre'];
$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
$newpost = array(
'emailupdate' => 9999,
'userid' => $vbulletin->userinfo['userid'],
'username' => $vbulletin->userinfo['username'],
'title' => $_POST['title'],
'message' => $thread,
'iconid' => $_POST['language']
);
require_once(DIR . '/includes/functions_newpost.php');
build_new_post('thread', $report_foruminfo, array(), array(), $newpost, $errors);
I hope you help me out.
$vbulletin->options['reportforum'] = $_POST['genre'];
$report_foruminfo = fetch_foruminfo($vbulletin->options['reportforum']);
$newpost = array(
'emailupdate' => 9999,
'userid' => $vbulletin->userinfo['userid'],
'username' => $vbulletin->userinfo['username'],
'title' => $_POST['title'],
'message' => $thread,
'iconid' => $_POST['language']
);
require_once(DIR . '/includes/functions_newpost.php');
build_new_post('thread', $report_foruminfo, array(), array(), $newpost, $errors);
I hope you help me out.