Hi again:
Look for this code in main file (widget() function):
// only showing roles
$onlys = array(
'Super Administrator' => $instance['aws_oruw_osuadms'],
'Administrator' => $instance['aws_oruw_oadms'],
'Editor' => $instance['aws_oruw_oedits'],
'Author' => $instance['aws_oruw_oauths'],
'Contributor' => $instance['aws_oruw_oconts'],
'Subscriber' => $instance['aws_oruw_osubs']
);
Change it with:
// only showing roles
$onlys = array(
'Super Administrator' => $instance['aws_oruw_osuadms'],
'Administrator' => $instance['aws_oruw_oadms'],
'Editor' => $instance['aws_oruw_oedits'],
'Author' => $instance['aws_oruw_oauths'],
'Contributor' => $instance['aws_oruw_oconts'],
'Subscriber' => $instance['aws_oruw_osubs'],
'Customer' => ''
);
Also, if you look at the plugin code you can see this:
// if any 'show only' role selected, construct an array with the selected roles only
if( in_array(true, $oroles, true) ) foreach( $oroles as $key => $rol ) ($rol == 1 ? $roles[] .= $key : '');
// else construct an array with all the roles
else foreach( $oroles as $key => $rol ) $roles[] .= $key;
So you must not have any roles in show only mode.
I’m pretty sure this will do the trick.
Best! ??
R