I’ve got database with users and i need to deactivate accounts. When user try to login, wordpress should send new activation mail and ask for new password.
How can i make it?
I was try to delete password from database and set user_status to 1, but it’s not working :/
Any ideas? (help please)
Activation / desactivation is not a native feature of WordPress.
You can use some plugins like this one : http://wordpress.org/extend/plugins/wp-approve-user/
After this you disapprove all users and you can make a PHP script which reset all the password and send the new one to the registered mail.
Encoding of the password is in MD5, check this : codex.wordpress.org/Resetting_Your_Password