Open arielk opened 10 years ago
You can see what users were active 10 minutes ago by running a SQL query
$wpdb->get_results( "SELECT DISTINCT user_id FROM wp_aryo_activity_log WHERE DATE_ADD(FROM_UNIXTIME(hist_time),INTERVAL 10 MINUTE) >= NOW()" );
Show who user now in dashboard
like: http://wordpress.org/plugins/wp-useronline/ But on dashboard.