dandv
(Dan Dascalescu)
March 15, 2015, 8:35am
1
I’ve just migrated from an older forum, and would like to trim down spam users coming from a certain set of domains:
Would be great if there was a way to have checkboexes next to the users (just like with topics), to enable batch operations (mainly, delete).
Generally you do this as part of the import – screening out topics and users you don’t want to arrive – not after the fact.
Most forums are chock full of shell / spam / bogus accounts that should be trimmed before they come in. Which is not too hard since they generally have no posts, either.
1 Like
dandv
(Dan Dascalescu)
March 15, 2015, 9:05am
3
Agree, for this particular use case. In general, I think batch operations on users would be useful.
Use case: sort users descending by number of posts created, select those above a threshold, and bump their trust level - part of onboarding after a migration.
1 Like
dandv
(Dan Dascalescu)
February 20, 2016, 7:37am
4
Reviving this topic to see if any other forum admins would have a use for this feature.
If I were to work on a PR, what would be a good start and some directions to follow? I have plenty of JS experience, but no Ruby.
erlend_sh
(Erlend Sogge Heggen)
February 20, 2016, 11:22am
5
riking
(Kane York)
February 20, 2016, 10:31pm
6
user_list.each do |user|
UserDestroyer.new(Discourse.system_user).destroy(user, { delete_posts: true, context: 'removing all mail.bg users' } )
end
3 Likes
Moin
December 12, 2024, 9:15am
7
Checkboxes to bulk delete users were added in
discourse:main
← discourse:feature/bulk-delete-users-admin-list
opened 05:37PM - 13 Nov 24 UTC
This PR introduces a new feature that allows staff to bulk select and delete use… rs directly from the users list at `/admin/users/list`. The main use-case for this feature is make deleting spammers easier when a site is under a large spam attack.
Screenshot:
<img src="https://github.com/user-attachments/assets/a66dfc8d-fd2a-4d90-b8df-7809f57e9bfe" width=600>
<img src="https://github.com/user-attachments/assets/2fdf25dc-efa6-48f6-9cd7-43ebda226a55" width=600>
<img src="https://github.com/user-attachments/assets/591213ca-16d6-4fd3-b666-ba85aa919623" width=500>
Internal topic: t/140321.