Hi
I need to mass delete users - there are thousands of spam users to be got rid of.
What is a way to do that? The admin screen shows me users 10 at a time which is far too slow.
David K
melbourne.au
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- DKinston@dkinston
DKinston - 0 likes
-
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
-
- Resend validation
- Validate
- Delete
Registered 22 days ago
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Clyde K@clydek
Clyde K - 0 likes
- Luis Teran@nationwidefilms
Luis Teran - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Luis Teran@nationwidefilms
Luis Teran - 0 likes
- iionly@iionly
iionly - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
You must log in to post replies.Search for the bulk user admin plugin - that will allow you to delete all users with a given email domain. Otherwise, a run-once script if you can reliably find a way to identify the spammers automatically. I believe RayJ is looking to build that into spam_login_filter - depends how urgently you need it (I'm guessing immediately)
Hi Matt. The spammers use a range of domains including gmail and hotmail, so are hard to identify that way. i think they are computer generated as the email addresses are weird and their posts are gibberish. What I need is a way to list users say 100 or 500 at a time, mark them all, deselect individuals maybe, etc then mass delete. It is irritating that when displaying unvalidated users I can only display and delete 10 at a time. Since there are actually 12000 to delete that is not practical.
here is a sample:
no, not practical at all - even listing at 100 at a time isn't all that practical to go through 12000
I use this but I'm not sure it will handle 12,000 without timing out when trying to list them all: westorElggMan
http://community.elgg.org/plugins/553265/1.8.3%20free/westors-elgg-manager
Perhaps a comment on that mod page will get you an answer on that.
i would like to delete 1000 at a time
Here's the bare bones programmatic way to do it. Note however that this doesn't distinguish between real/spam users. You will want to use some sort of identifier in options to weed out only the ones you want to delete.
Thanks Matt but there is nothing I can do with that. I was hopeing for a plug in that can do it.
I installed bulk user admin plugin but I would have to tick over 1000 times. I would like a select all optition .
@Luis: I'm afraid a "Select all" option might not necessarily help you much either. This would delete ALL accounts. Even if the "Select all" option would only select for example 10, 20 or 100 currently displayed users how do you know that there's no valid user in between them? Is there any criteria that allows you to say for sure that an account is a spam account? For example are the spammer accounts already banned? Based on such a criteria it would be easy to write a little script that deletes the banned users - and only the banned users.
@luis : if you want to remove all the users with out any filter, then why cant you start with a fresh install?