Add option for marking a user as spammer in "Deactivate user" popover
See original GitHub issueSometimes open communities have spammers sign up. Administrators can deactivate the spammer, but currently don’t have an easy way to clean up after them or annotate that the user is a spammer.
We should add spammer-specific functionality to the “Deactivate user” popover.

What to add:
- At the bottom of the popover, a line that says: “Is this user a spammer?”, with a checkbox (unchecked by default).
- If the checkbox is checked, the popover expands in the following way:
a. A line that says: "Upon deactivation, this user will be renamed to “{username} (spammer).”
b. A line that says: “What should be done with {user}'s messages?”, with a dropdown. Options:
Nothing, Delete messages in public streams, Delete all messages. If one of the “Delete messages” options is selected, the user’s messages should be deleted as specified when the user is deactivated.
If the spammer checkbox is checked, the user should be automatically renamed as described above when the “Confirm” button is clicked.
Note that we should build this keeping in mind that we plan to extend the functionality for this widget in the future.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
9 Simple Tricks to Eliminate Spam User Registration (2022)
1. Disable User Registrations in WordPress · 2. Set the Default User Role in WordPress · 3. Make a Custom User Registration Form...
Read more >Popups: 10 Problematic Trends and Alternatives
A popup (also known as an overlay or popover) is a window or dialog that appears on top of the page content. A...
Read more >Tackling Spam in the Comments - Disqus Blog
Filtering by comments containing links definitely seems useful. Currently, to mark all comments by a user as spam, you need to search for...
Read more >How can I keep Bootstrap popovers alive while being hovered?
Test with code snippet below: Small modification (From the solution provided by vikas) to suit my use case. Open popover on hover event...
Read more >How to disable Google One Tap sign-up prompts? - Super User
Just fyi, this option appears to be completely useless for some users like myself as of 2 months ago, it does absolutely nothing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@ligmitz @m-e-l-u-h-a-n FYI, since you expressed interest in #16473.
@yogesh-sirsat I have made some progress with it. I was busy with other PRs, I will continue working on this PR soon.