How can I deactivate user accounts

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)

Answers


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


Need Your Help

silverstripe backend linebreaks in content do not show up in frontend

content-management-system silverstripe

I have a textareaField in Silverstripe Backend in Edit Page View... The text to insert contains linebreaks. If I save the Page the text shows correctly with linebreaks in the textareaField. The

Prism - WPF/Silverlight view-model reuse

wpf silverlight assemblies prism

Is it possible to reuse my models/view-models that I create in a separate assembly using Prism?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.