You need to add the following code, after the post has been created, to update forum counters and last post index etc.
PHP Code:
require_once(DIR . '/includes/functions_databuild.php');
build_forum_counters($threadinfo['forumid']);
Quote:
Originally Posted by laddil
I have a quick question about using this method to put in a post...
Does it take into account user preferances (i.e., emoticons, smilies, etc.) and forum security settings (vBcode, raw HTML, etc.)?
The modification I'm writing needs to add posts to a specific forum, but I have consern about the potential of this bypassing security and causing mischief.
|
It doesn't check permissions.