Hi @dealfiles,
There isn’t a way to change the output of the statistics – it is designed to closely mimic the phpBB and vBulletin stats (for forums moving over like so).
With that being said, you can access the functions within the plugin by invoking the following code in your file:
$stats = bbPress_Advanced_Statistics::instance( __FILE__, BBPAS_VERS );
That should allow you access to the plugins instance, and from there you can call functions to get the data you need (e.g get_formatted_statistics).
Hope that helps,
Jake
Hello, I have a similar problem, I want to customize output of module, change styles for my custom theme.
I’m pretty new to php, I’ve tried for test purposes to rework output of heading text but with no luck(in bbpress functions), it gets white screen of death. Guess I doing something wrong, can you tell me how to do this in a proper way?
add_filter('bbpress_hook_get', 'statistics');
function statistics() {
if ( bbpress_hook_get() ) {
echo '<h1 class="font_1">' . wp_kses_post( $this->parent->option['before_forum_display'] ) . "</h1>"
}
}