Install
mini-track.phptomy-plugins/and activateEdit options (true / false) at the top of the plugin until an admin menu is made
This plugin now inserts itself into the footer automatically, no template edits required unless you want custom placement. If you want CUSTOM placement, edit your
footer.phptemplate (or other template) to add the info like so:<div id="footer"> <?php mini_track(1); ?> <?php mini_track_statistics(); ?> <p><?php printf(__('%1$s is proudly powered by <a href="%2$s">bbPress</a>.'), bb_option('name'), "http://bbpress.org") ?></p> </div>With non-automatic placement, if you also want a list of the member names, use
<?php mini_track(2); ?>or if you only want it on the front page you can do it like this:<?php if (is_front() ) {mini_track(1);} ?>or you can put it anywhere infront-page.phpthat you'd like.Mini-Track can now show some basic statistics in your footer, or with manual placement anywhere on the page via
<?php mini_track_statistics(); ?>it is highly recommend you put this line in your
bb-config.phpwhich will help with database performance on active forums by loading all bbPress options at once instead of piecemeal$bb->load_options = true;