WP-Stats plugin for WordPress blog: how to allow non-admin users to view the stats in their own dashboards?

Edit stats.php (in Plugins folder) by replacing all manage_options by level_2

There should be two changes:
!current_user_can( ‘level_2‘ )

$hook = add_submenu_page(‘index.php’, __(‘Blog Stats’), __(‘Blog Stats’), ‘level_2‘, ‘stats’, ‘stats_reports_page’);

According to the codex, “level_2” is the old level-based access control mechanism. Level 2 should give access to Authors (and above).

%d bloggers like this: