# You must use a tab-size of 4 spaces to edit this file.
---
plugin_settings:
    tabs:
        first_tab:
            label: Display
            fields:
                description:
                    ord: 0
                    full_width: true
                    snippet:
                        html: >
                            These settings control how visitors view and interact with
                            the forum on this content item.
                show_user_avatars:
                    plugin_setting:
                        name: show_user_avatars
                    label: 'Show user avatars'
                    type: checkbox
                    value: 1
                    format_onchange: true
                avatar_width:
                    plugin_setting:
                        name: avatar_width
                    label: 'Maximum width:'
                    type: text
                    validation:
                        required_if_not_hidden: Please enter a width.
                        numeric: The width must be a number.
                    value: 120
                    maxlength: 5
                    style: 'width: 5em;'
                    post_field_html: '&nbsp;pixels'
                    indent: 1
                avatar_height:
                    plugin_setting:
                        name: avatar_height
                    label: 'Maximum height:'
                    type: text
                    validation:
                        required_if_not_hidden: Please enter a Height.
                        numeric: The Height must be a number.
                    value: 120
                    maxlength: 5
                    style: 'width: 5em;'
                    post_field_html: '&nbsp;pixels'
                    side_note: >
                        Images may be scaled down maintaining aspect ratio, but will
                        never be scaled up.
                    indent: 1
                show_user_join_dates:
                    plugin_setting:
                        name: show_user_join_dates
                    label: 'Show user join dates'
                    type: checkbox
                    value: ""
                show_user_post_counts:
                    plugin_setting:
                        name: show_user_post_counts
                    label: 'Show user post counts'
                    type: checkbox
                    value: 1
                show_user_online_status:
                    plugin_setting:
                        name: show_user_online_status
                    label: 'Show user online status'
                    type: checkbox
                    value: ""
                    side_note: |
                        If a user has looked at a comments plugin or a forum plugin within the last 10 minutes,
                        they will be classified as &quot;online&quot;.
                        
                        As a saved copy of this page would quickly become inaccurate,
                        enabling this option will disable plugin and page caching.
                date_format:
                    plugin_setting:
                        name: date_format
                    label: 'Date format:'
                    type: select
                    value: _LONG
                    values:
                        _SHORT:
                            label: Short
                        _MEDIUM:
                            label: Medium
                        _LONG:
                            label: Long
                allow_uploads:
                    plugin_setting:
                        name: allow_uploads
                    label: 'Allow uploads'
                    type: checkbox
                    value: 0
                image_thumbnail_width:
                    plugin_setting:
                        name: image_thumbnail_width
                    label: 'Image thumbnail width:'
                    type: text
                    validation:
                        required_if_not_hidden: Please enter a width.
                        numeric: The width must be a number.
                    value: 120
                    maxlength: 5
                    style: 'width: 5em;'
                    post_field_html: '&nbsp;pixels'
                image_thumbnail_height:
                    plugin_setting:
                        name: image_thumbnail_height
                    label: 'Image thumbnail height:'
                    type: text
                    validation:
                        required_if_not_hidden: Please enter a height.
                        numeric: The height must be a number.
                    value: 120
                    maxlength: 5
                    style: 'width: 5em;'
                    post_field_html: '&nbsp;pixels'
        order:
            label: Order and pagination
            fields:
                order:
                    plugin_setting:
                        name: order
                    label: 'Order threads by:'
                    type: select
                    value: MOST_RECENTLY_UPDATED_FIRST
                    values:
                        MOST_RECENTLY_UPDATED_FIRST:
                            label: Most recently updated first
                        MOST_RECENTLY_POSTED_FIRST:
                            label: Most recently posted first
                        OLDEST_FIRST:
                            label: Order of creation
                        TITLE:
                            label: Alphabetically by title
                page_size_threads:
                    plugin_setting:
                        name: page_size_threads
                    label: 'Number of threads per page:'
                    type: select
                    values:
                        10:
                            label: 10
                        12:
                            label: 12
                        15:
                            label: 15
                        20:
                            label: 20
                        30:
                            label: 30
                    value: 12
                pagination_style_threads:
                    plugin_setting:
                        name: pagination_style_threads
                    label: 'Pagination style for threads:'
                    type: select
                    value: zenario_common_features::pagCloseWithNPIfNeeded
                page_size_posts:
                    plugin_setting:
                        name: page_size_posts
                    label: 'Number of posts per page:'
                    type: select
                    values:
                        5:
                            label: 5
                        10:
                            label: 10
                        12:
                            label: 12
                        15:
                            label: 15
                        20:
                            label: 20
                        50:
                            label: 50
                    value: 12
                pagination_style_posts:
                    plugin_setting:
                        name: pagination_style_posts
                    label: 'Pagination style for posts:'
                    type: select
                    value: zenario_common_features::pagCloseWithNPIfNeeded
        posting:
            label: Editing
            fields:
                enable_images:
                    plugin_setting:
                        name: enable_images
                    label: 'Allow images in posts'
                    type: checkbox
                    value: 1
                    side_note: |
                        This is not retro-active.
                        If a post contains an image and you uncheck this checkbox,
                        the image will not be removed until the post is next edited and saved.                        
                enable_links:
                    plugin_setting:
                        name: enable_links
                    label: 'Allow links in posts'
                    type: checkbox
                    value: 1
                    side_note: |
                        This is not retro-active.
                        If a post contains a link and you uncheck this checkbox,
                        the link will not be removed until the post is next edited and saved.                        
                enable_reply_with_quote:
                    plugin_setting:
                        name: enable_reply_with_quote
                    label: 'Enable replying with quotes'
                    type: checkbox
                    value: 1
                allow_user_edit_own_post:
                    plugin_setting:
                        name: allow_user_edit_own_post
                    label: 'Allow posters to edit their own posts'
                    type: checkbox
                    value: 1
                allow_user_delete_own_post:
                    plugin_setting:
                        name: allow_user_delete_own_post
                    label: 'Allow posters to delete their own replies'
                    type: checkbox
                    value: ""
                    side_note: >
                        Note that Users will not be able to delete the first post of
                        a thread.
                enable_new_thread_restrictions:
                    plugin_setting:
                        name: enable_new_thread_restrictions
                    label: 'Restrict adding new threads to a group of extranet users'
                    type: checkbox
                    value: ""
                    format_onchange: true
                    side_note: Note that moderators will always be able to add new threads.
                restrict_new_thread_to_group:
                    indent: 1
                    plugin_setting:
                        name: restrict_new_thread_to_group
                    label: 'Group:'
                    type: select
                    #pick_items:
                        #path: zenario__users/panels/groups
                        #target_path: zenario__users/panels/groups
                        #min_path: zenario__users/panels/groups
                        #max_path: zenario__users/panels/groups
                        #disallow_refiners_looping_on_min_path: true
                        #one_to_one_choose_phrase: Choose Group
                        #select_phrase: Select Group...
                        #nothing_selected_phrase: No Group Selected
                        #hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select a group of users who can add a new thread.
                    value: ""
                enable_posting_restrictions:
                    plugin_setting:
                        name: enable_posting_restrictions
                    label: 'Restrict posting replies to a group of extranet users'
                    type: checkbox
                    value: ""
                    format_onchange: true
                    side_note: Note that moderators will always be able to post replies.
                restrict_posting_to_group:
                    indent: 1
                    plugin_setting:
                        name: restrict_posting_to_group
                    label: 'Group:'
                    type: select
                    #pick_items:
                    #    path: zenario__users/panels/groups
                    #    target_path: zenario__users/panels/groups
                    #    min_path: zenario__users/panels/groups
                    #    max_path: zenario__users/panels/groups
                    #    disallow_refiners_looping_on_min_path: true
                    #    one_to_one_choose_phrase: Choose Group
                    #    select_phrase: Select Group...
                    #    nothing_selected_phrase: No Group Selected
                    #    hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select a group of users who can post replies.
                    value: ""
        moderation:
            label: Moderation
            fields:
                description_moderation:
                    full_width: true
                    snippet:
                        html: |
                            You can declare a group of extranet users to be moderators.
                            This will enable them to edit and delete other users' comments.
                enable_extranet_moderators:
                    plugin_setting:
                        name: enable_extranet_moderators
                    label: 'Declare a moderation group'
                    type: checkbox
                    value: ""
                    format_onchange: true
                    side_note: 'Administrators with the &quot;Moderate user comments&quot; permission will always be able to moderate.'
                moderators:
                    indent: 1
                    plugin_setting:
                        name: moderators
                    label: 'Moderation group:'
                    type: select
                    #pick_items:
                    #    path: zenario__users/panels/groups
                    #    target_path: zenario__users/panels/groups
                    #    min_path: zenario__users/panels/groups
                    #    max_path: zenario__users/panels/groups
                    #    disallow_refiners_looping_on_min_path: true
                    #    one_to_one_choose_phrase: Choose Group
                    #    select_phrase: Select Group...
                    #    nothing_selected_phrase: No Group Selected
                    #    hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select a group.
                    value: ""
                separator:
                    full_width: true
                    snippet:
                        hr: true
                description_reporting:
                    full_width: true
                    snippet:
                        html: You can enable reporting of abuse.
                enable_report_a_post:
                    plugin_setting:
                        name: enable_report_a_post
                    label: 'Enable reporting of abuse'
                    type: checkbox
                    value: ""
                    format_onchange: true
                enable_anonymous_report_a_post:
                    indent: 1
                    plugin_setting:
                        name: enable_anonymous_report_a_post
                    label: 'Allow anonymous reporting'
                    type: checkbox
                    value: ""
                    side_note: If enabled, any visitor can report abuse.
                email_template_for_reports:
                    plugin_setting:
                        name: email_template_for_reports
                        foreign_key_to: email_template
                        dangling_cross_references: remove
                    label: 'Email template:'
                    pick_items:
                        path: zenario__email_template_manager/panels/email_templates
                        target_path: zenario__email_template_manager/panels/email_templates
                        min_path: zenario__email_template_manager/panels/email_templates
                        max_path: zenario__email_template_manager/panels/email_templates
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose email template
                        select_phrase: select an email template...
                        nothing_selected_phrase: No email template selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select an email template.
                    value: zenario_forum__post_report
                email_address_for_reports:
                    plugin_setting:
                        name: email_address_for_reports
                        is_email_address: true
                    label: 'Email address that reports will be sent to:'
                    type: text
                    maxlength: 255
                    value: ""
                    validation:
                        required_if_not_hidden: Please enter an email address.
                        emails: >
                            Please ensure all the email addresses you have entered are
                            valid.
                    side_note: Separate multiple addresses with commas.
        notification:
            label: Notification
            fields:
                description_notification:
                    full_width: true
                    snippet:
                        html: >
                            If set, the CMS will send an email notification whenever a
                            comment is added or edited. If comments are being screened,
                            the notification for added comments will be sent when the
                            comment is approved.
                send_notification_email:
                    plugin_setting:
                        name: send_notification_email
                    label: 'Send an email notification to an administrator'
                    type: checkbox
                    value: ""
                    format_onchange: true
                notification_email_address:
                    indent: 1
                    plugin_setting:
                        name: notification_email_address
                        is_email_address: true
                    label: 'Email address:'
                    type: text
                    maxlength: 255
                    value: ""
                    validation:
                        required_if_not_hidden: Please enter an email address.
                        emails: >
                            Please ensure all the email addresses you have entered are
                            valid.
                    side_note: Separate multiple addresses with commas.
                new_thread_notification_email_template:
                    indent: 1
                    plugin_setting:
                        name: new_thread_notification_email_template
                        foreign_key_to: email_template
                        dangling_cross_references: remove
                    label: 'Email template (for new threads):'
                    pick_items:
                        path: zenario__email_template_manager/panels/email_templates
                        target_path: zenario__email_template_manager/panels/email_templates
                        min_path: zenario__email_template_manager/panels/email_templates
                        max_path: zenario__email_template_manager/panels/email_templates
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose email template
                        select_phrase: select an email template...
                        nothing_selected_phrase: No email template selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select an email template.
                    value: zenario_forum__to_admin_new_thread_notification_en
                post_notification_email_template:
                    plugin_setting:
                        name: post_notification_email_template
                        foreign_key_to: email_template
                        dangling_cross_references: remove
                    label: 'Email template (for new posts):'
                    pick_items:
                        path: zenario__email_template_manager/panels/email_templates
                        target_path: zenario__email_template_manager/panels/email_templates
                        min_path: zenario__email_template_manager/panels/email_templates
                        max_path: zenario__email_template_manager/panels/email_templates
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose email template
                        select_phrase: select an email template...
                        nothing_selected_phrase: No email template selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select an email template.
                    value: zenario_forum__to_admin_post_notification_en
                separator:
                    full_width: true
                    snippet:
                        hr: true
                description_subs:
                    full_width: true
                    snippet:
                        html: This allows Extranet Users to sign up for notifications.
                enable_forum_subs:
                    plugin_setting:
                        name: enable_forum_subs
                    label: 'Enable subscription to forum'
                    type: checkbox
                    value: ""
                    format_onchange: true
                new_thread_subs_email_template:
                    indent: 1
                    plugin_setting:
                        name: new_thread_subs_email_template
                        foreign_key_to: email_template
                        dangling_cross_references: remove
                    label: 'Email template (for new threads):'
                    pick_items:
                        path: zenario__email_template_manager/panels/email_templates
                        target_path: zenario__email_template_manager/panels/email_templates
                        min_path: zenario__email_template_manager/panels/email_templates
                        max_path: zenario__email_template_manager/panels/email_templates
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose email template
                        select_phrase: select an email template...
                        nothing_selected_phrase: No email template selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select an email template for new threads.
                    value: zenario_forum__new_thread_subs_en
                enable_thread_subs:
                    plugin_setting:
                        name: enable_thread_subs
                    label: 'Enable subscription to threads'
                    type: checkbox
                    value: ""
                    format_onchange: true
                post_subs_email_template:
                    indent: 1
                    plugin_setting:
                        name: post_subs_email_template
                        foreign_key_to: email_template
                        dangling_cross_references: remove
                    label: 'Email template (for new posts):'
                    pick_items:
                        path: zenario__email_template_manager/panels/email_templates
                        target_path: zenario__email_template_manager/panels/email_templates
                        min_path: zenario__email_template_manager/panels/email_templates
                        max_path: zenario__email_template_manager/panels/email_templates
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Choose email template
                        select_phrase: select an email template...
                        nothing_selected_phrase: No email template selected
                        hide_remove_button: true
                    validation:
                        required_if_not_hidden: Please select an email template for new posts.
                    value: zenario_forum__post_subs_en
    module_class_name: zenario_forum
