Re: post count – 1
Thanks mate; that worked awesome! I added a second function so the forum count was corrected also:
<?php
function bb_decrement_topic( $value ) {
return $value-1;
}
function bb_decrement_forum( $value ) {
global $forum;
return $value-get_forum_topics();
}
add_filter( 'get_topic_posts', 'bb_decrement_topic', 1);
add_filter( 'get_forum_posts', 'bb_decrement_forum', 1);
?>
I also had to change line 699 in template-functions.php to:
$posts = sprintf('%1$s %2$s', $post_num, __ngettext( 'reply', 'replies', $post_num ));
If anyone has a suggestion for doing this in the plugin instead of modifying the core, let me know.