I used this code to display number of visitors per Posting. Since the last Update it doesnt work anymore, and no visitors are counted.
if (!class_exists(‘wp_slimstat_db’)) include_once(WP_PLUGIN_DIR.’/wp-slimstat/admin/view/wp-slimstat-db.php’);
// Initialize the API. You can pass a filter in the options, i.e. show only hits by people who where using Firefox, any version
$parsed_permalink = parse_url(get_permalink($post->ID));
wp_slimstat_db::init(‘resource equals ‘.$parsed_permalink[‘path’].(!empty($parsed_permalink[‘query’])?$parsed_permalink[‘query’]:”));
// Use the appropriate method to display your stats
$count = wp_slimstat_db::count_records(‘1=1’, ‘*’, true);