Whenever a deactivated user tries to login, the error message does not show up.
]]>I have six users. Five of them match the role in Control panel, Users and one of them doesn’t.
I don’t understand why they don’t all match.
I have deactivated User Control ver. 2.1.0 and Uninstalled it. I have re-installed it. It’s still showing one user that doesn’t match the role in Users.
How can I get them to agree?
Thank you for a great plugin.
Docfxit
]]>PHP Notice: Trying to get property of non-object in /hermes/bosoraweb184/b2238/ipg.nammavidyaranyapurao/wp-content/plugins/user-control/usercontrol.php on line 83
]]>PHP Notice: Trying to get property of non-object in /hermes/bosoraweb184/b2238/ipg.nammavidyaranyapurao/wp-content/plugins/user-control/usercontrol.php on line 83
]]>If user data is changed (i.e. email), it does not change in user control.
Solved adding the following code to user_control function in usercontrol.php:
$result2 = $wpdb->get_col( $wpdb->prepare("SELECT $wpdb->users.ID FROM $wpdb->users WHERE ID != %d and ID IN (select id from ".$wpdb->prefix."usercontrol)",1));
foreach ( $result2 as $userid ) {
$user = get_userdata($userid);
$user_object = new WP_User($userid);
$roles = $user_object->roles;
$role = array_shift($roles);
$wpdb->query("UPDATE ".$wpdb->prefix."usercontrol SET user_login='".$user->user_login."', user_nicename='".$user->user_nicename."', user_email='".$user->user_email."', role='".$role."' WHERE (ID=".$user->ID.");");
//echo "UPDATE ".$wpdb->prefix."usercontrol SET user_login='".$user->user_login."', user_nicename='".$user->user_nicename."', user_email='".$user->user_email."', role='".$role."' WHERE (ID=".$user->ID.");";
}
]]>
When I click on a page in the pagebrowser, the pagination class says:
It is necessary to specify the limit of items to show per page ($class->limit(10))
I solved this by changing linenumber 319 in usercontrol.php:
$pageLimit = (isset($_REQUEST[‘page-limit’]) && $_REQUEST[‘page-limit’]!=”) ? $_REQUEST[‘page-limit’] : 10;
When someone register and will not post for lets say 40 days he will be blocked ? Good protection for spam bots so they can register with the same email when You delete them and cant mass post some day…
Adding sort by: post count, register day, will be nice.
Adding a button that will disable all users with 0 posts or 0 comments.
]]>Hello,
I know that this plugin had so long time since last updated. However it was working well until I have upgraded to version 3.5, where the “Missing argument 2” error message has appeared. I need this plugin very badly, so if any one (the author of the plugin or any one else) can help me what code to change to make it compatible with WordPress 3.5 I would be very grateful and thankful.
Many Thanks,
Mamoun
The prepare function in wp-db.php have got a second parameter from version 3.5.
The call to this function in usercontrol.php, line 292, needs a second parameter to work.
]]>When you activate the plugin an error message is displayed at the top of the plugins page, and nothing changes.
The plugin generated 235 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
]]>