discourse/plugins/discourse-post-voting/config/settings.yml
Alan Guo Xiang Tan ebf709f801
FEATURE: Add site setting to allow comments to be disabled in discourse-post-voting plugin (#33775)
This commit introduces a post_voting_comment_enabled site setting to
control whether comments are allowed on posts.
2025-07-23 11:03:01 +08:00

31 lines
749 B
YAML

plugins:
post_voting_enabled:
client: true
default: false
post_voting_undo_vote_action_window:
default: 10
post_voting_comment_enabled:
client: true
default: true
post_voting_comment_limit_per_post:
default: 10
min: 1
client: true
post_voting_comment_max_raw_length:
client: true
hidden: true
default: 600
post_voting_enable_likes_on_answers:
client: true
default: false
min_trust_to_flag_posts_voting_comments:
default: 1
enum: "TrustLevelSetting"
client: true
hidden: true
flag_posts_voting_comments_allowed_groups:
default: "11" # auto group trust_level_1
type: group_list
allow_any: false
refresh: true
validator: "AtLeastOneGroupValidator"