Customizing SMF > SMF Coding Discussion
External HTML Form pass ($_GET/$_POST) to SMF PHP Page
phiberoptik:
Ok. I have resolved the above.
Just one, last. Question!
--- Code: ---
$msgOptions = array(
'id' => 0 ,
'subject' => '[Pending] Unban Request of ' . $context['user']['name'],
'body' => $postbody ,
'icon' => 'xx',
'smileys_enabled' => true,
'attachments' => array(),
);
$topicOptions = array(
'id' => 0 ,
'board' => $board_id,
'poll' => null,
'lock_mode' => null,
'sticky_mode' => null,
'mark_as_read' => false,
);
$posterOptions = array(
'id' => $context['user']['id'],
'name' => $context['user']['name'],
'email' => $user_info['email'],
'update_post_count' => true,
);
--- End code ---
The form submits perfectly, but. How can I set this up so the above form is not Approved. I need it to remain unapproved.
I have a forum board where all topics must be approved before they show up, this is bypassing that restriction. How can I add that?
phiberoptik:
Got it!
I'm done. Thank you all so much for your help!
Navigation
[0] Message Index
[*] Previous page
Go to full version