dandv
(Dan Dascalescu)
15.Март.2015 08:35:36
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 лайк
dandv
(Dan Dascalescu)
15.Март.2015 09:05:32
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 лайк
dandv
(Dan Dascalescu)
20.Февраль.2016 07:37:48
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)
20.Февраль.2016 11:22:40
5
riking
(Kane York)
20.Февраль.2016 22:31:03
6
user_list.each do |user|
UserDestroyer.new(Discourse.system_user).destroy(user, { delete_posts: true, context: 'removing all mail.bg users' } )
end
3 лайка
Moin
12.Декабрь.2024 09:15:24
7
Чекбоксы для массового удаления пользователей были добавлены в
main ← feature/bulk-delete-users-admin-list
merged 08:13AM - 25 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.