Column 'topic_password' cannot be null , you need to add the posting.php edit into your Appform's code
for example: after the
$data = array(code, insert your mod edit here..
so it becomes:
Code: Select all
$data = array( // General Posting Settings 'forum_id' => 2, // The forum ID in which the post will be placed. (int) 'topic_id' => 0, // Post a new topic or in an existing one? Set to 0 to create a new one, if not, specify your topic ID here instead. 'icon_id' => false, 'topic_password' => 0, //topic password edit