Install the complete
mini-stats/directory intomy-plugins/and activate.Change defaults if desired by editing options at the top of the plugin until an admin menu is made.
This plugin inserts itself into the footer automatically, no template edits required unless you want custom placement.
ONLY if you want CUSTOM placement, edit your
footer.phptemplate (or other template) to add the info like so:<div id="footer"> <?php mini_stats(1); // general statistics ?> <p><?php printf(__('%1$s is proudly powered by <a href="%2$s">bbPress</a>.'), bb_option('name'), "http://bbpress.org") ?></p> </div>
In the above example the (1) indicates don't show extended info, ie. usernames. (2) would also show usernames.
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;