The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
Code:
$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);
|
|
#2
|
||||
|
||||
|
does this happen in all forum sections or only i one section?
|
|
#3
|
|||
|
|||
|
Go into admin cp and make sure that that forum doesn't "follow moderatoin rules" or the opposite. Can't remember which, just find it and it'll say.
|
|
#4
|
|||
|
|||
|
Ducks, this is a wild guess, but have you tried adding visible to the $newpost array and setting that to 1?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|