Skip to content

Easily restrict commenting on individual posts to only users flaired in your subreddit.

License

Notifications You must be signed in to change notification settings

shiruken/only-flairs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Only Flairs Logo

Easily restrict commenting on individual posts to only users flaired in your subreddit.

https://developers.reddit.com/apps/only-flairs

Features

  • Minimal setup requiring zero knowledge about AutoModerator or coding
  • Moderator enabled on a post-by-post basis
  • Automatically removes incoming comments from unflaired users
    • Easily specify which user flairs are allowed to comment
    • Optionally allow replies to top-level comments
    • Apply subreddit removal reason to actions
  • Customizable sticky comment to inform users about restrictions
  • Automatically disabled after user-selected duration
  • Notifications via Modmail

Installation Settings

Screenshot of Installation Settings

  • Default Sticky Comment: Sets the default text for sticky comments on restricted posts. Can be modified when configuring the settings on individual posts. Supports Markdown. Leave empty to disable.

Menu Action: Restrict to Flaired Users

This action appears under the moderator menu on posts in the subreddit. It allows for enabling and configuring flair-based commenting restrictions on the post.

Screenshot of 'Restrict to Flaired Users' Menu Action Screenshot of 'Restrict to Flaired Users' Form

  • Enable: Enable or disable flaired user only mode (make sure to actually enable it!)
  • User Flairs: Only allow comments from users with the selected flair(s). The 'Any' option allows any user with flair to comment.
  • Only Restrict Top-Level Comments: Allow comment replies from any user regardless of flair
  • Exclude Moderators: Exclude subreddit moderators from comment restrictions
  • Removal Reason: Subreddit removal reason to use on actioned comments. Select 'None' to specify no removal reason.
  • Sticky Comment: Text for the sticky comment on the post. Leave empty to disable. Defaults to the value defined in the installation settings.
  • Expiration: Automatically disable comment restrictions after selected duration

Notifications: Modmail

A Modmail conversation is created when flaired user only mode is enabled on a post. Any changes to the configuration are reported as responses to the original message.

Screenshot of Modmail Conversation

Moderation Actions

Comment Removal

Screenshot of Removed Comment

Screenshot of Mod Log Entry

  • No removal reason will be applied if the 'Removal Reason' setting is set to 'None'

Sticky Comment

Screenshot of Sticky Comment

  • Sticky comments will be edited or deleted as the configuration on an individual post is modified
  • Manually disabling flaired user only mode will result in the sticky comment being deleted
  • Sticky comments are not automatically deleted when the comment restriction expires

Changelog

View Releases on GitHub

  • v0.4
    • Modmail notifications are now routed into the Inbox rather than Mod Discussions
    • Improved checking for presence of user flair
    • Add option to specify user flairs that are allowed to comment
  • v0.3
    • Resolved issue with blank options appearing in form for Removal Reason and Expiration fields
    • Simplified form by eliminating pass-through variable
    • Default to removing comments if user flair information is missing
    • Add option to exclude moderators
  • v0.2
    • Automatically post sticky comment with user-defined text
    • Specify default sticky comment text in installation settings
    • Allow specifying removal reason
    • Send Modmail on configuration change
    • Improve messaging when configuration is unchanged or form is submitted without enabling
  • v0.1
    • Automatically expire restrictions after user-specified duration
    • Add option to ignore comment replies
    • If already enabled, use the current settings when displaying the form
    • Initial Release

Links