The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to mass delete this users?
Hello guys,
I notice that many spammers have the word "Man" in their Biography field. I did a search and found 7544 users... and I want to delete them all, but the only option that I see, is to delete one by one... Is there any option to delete all this users with those criteria? Thank you |
#2
|
|||
|
|||
I've tried this for only one test user and it seems to work but you probably want to have a backup of your database first.
There's no function to mass delete users by a profile field, but you can prune users by usergroup. So you could do this: - Create a temporary user group, note the id number. - Execute this SQL query: Code:
UPDATE user LEFT JOIN userfield ON (user.userid = userfield.userid) SET user.usergroupid = X WHERE field1 = 'Man' - In the adminCP go to Users -> Search for Users and search for users in your temp user group, make sure the list of users looks like the ones you want to delete. - Go to Users -> Prune/Move Users, select your temporary user group and enter '0' for the 'Has not logged on for x days' field. Press 'Find' - On the next page select 'delete' and press the 'Go' button. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|