Code: Selecteer alles
#
#-----[ FIND ]---------------------------------------------
# around line 563
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['posting']->insert_attachment($post_id);Optie 1:
Code: Selecteer alles
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
} $attachment_mod['posting']->insert_attachmentCode: Selecteer alles
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
$attachment_mod['posting']->insert_attachmentCode: Selecteer alles
#
#-----[ FIND ]---------------------------------------------
# around line 697
'preview' => 'posting_preview.tpl')
);
#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the ');'
$attachment_mod['posting']->preview_attachments(); 