#2493 closed enhancement (fixed)
Forums: Add "flagged by [name]" notice to user profiles
Reported by: | SergeyBiryukov | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | has-patch commit has-screenshots |
Cc: |
Description
The "marked as spam by [name]" notice implemented in #2379 is useful as an indicator that a moderator decided something was spam, so other moderators can focus on auto-detected spam.
@zoonini suggested that a adding a similar "flagged by [name]" to user profiles would be helpful for distinguishing between (probably incorrectly) auto-flagged users and mod-flagged users.
We could probably implement this separately from user notes (#2272). Ideally, moderators should always leave a note when flagging someone, but I suspect that might not always be the case, unless leaving a note would be required.
Attachments (5)
Change History (23)
This ticket was mentioned in Slack in #forums by sergey. View the logs.
8 years ago
#3
@
8 years ago
- Keywords has-patch commit added
meta-2493.patch adds the notice to Pending/Spam views, single topic view, and user profile:
- Pending view: meta-2493.pending-view.PNG
- Single topic: meta-2493.single-topic.PNG
- User profile: meta-2493.user-profile.PNG
Note: The patch will need a refresh if #2474 gets committed first, as they both touch the same code.
Like in #2474, the name of the moderator who unflagged the user is not displayed anywhere at the moment (as there's no notices for non-flagged users), but I thought it would be helpful to keep that data for future reference, just in case.
#8
@
8 years ago
- Owner set to coffee2code
- Resolution set to fixed
- Status changed from new to closed
In 5003:
#11
follow-up:
↓ 13
@
8 years ago
#13
in reply to:
↑ 11
@
8 years ago
Replying to ocean90:
Is there a reason why you're storing user_nicename/user_login instead of the ID? Note that r4987 is using user_login while r5002 uses user_nicename.
This was modeled after [4847], based on _bbp_akismet_user
, which stores user_login. That seemed enough as an informational note for moderators, who generally know each other and don't need full display name. Storing the ID would require getting the user object, which seemed unnecessary.
After a chat with @coffee2code, we're going to switch to user_nicename
going forward, as it can be used directly in a URL, and still can be used to get the user object if needed.
I was hoping the indicator could be added directly above each topic/reply in Pending view - https://wordpress.org/support/view/pending/ - in the same way "Marked as spam by Username" is also displayed right there.
If adding it to both Pending view and profiles were possible, that would be incredibly useful.