Skip to content

Add Flag as Inappropriate feature for comments #271

Description

@rohnsha0

Add functionality to allow users to flag comments as inappropriate in plone.app.discussion, providing moderators with better tools to manage community content.

Background

Currently, plone.app.discussion provides basic commenting functionality but lacks user-driven moderation tools. Adding a "flag as inappropriate" feature would:

  • Empower the community to self-moderate
  • Help site administrators identify problematic content more efficiently
  • Improve overall discussion quality

Proposed Implementation

User Interface

  • Add a "Flag as inappropriate" link/button next to each comment
  • Display flag count to moderators (not visible to regular users)
  • Show flagged status in moderation interface
  • Optionally allow users to provide a reason when flagging

Backend Features

  • Store flag information (user, timestamp, optional reason)
  • Prevent duplicate flags from the same user on the same comment
  • Add configuration options for:
    • Minimum flags before auto-hiding comments
    • Email notifications to moderators
    • Flag threshold settings
  • Anonymous users should not be able to flag (to prevent abuse)

Moderation Interface

  • Extend existing moderation view to show flagged comments
  • Sort/filter options for flagged content
  • Bulk actions for handling multiple flagged comments
  • Display flag history and reasons

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions