MODX 3 component
Xcomm3x
Comments for MODX 3: nested replies, moderation, spam protection, notifications
11 pages3 sections16 min in total
Contents
01OverviewXcomm3x is a comment system for MODX 3: nested replies, moderation, spam protection, voting and email notifications. On the site it runs on the Fetch…02Quick startInstall the package via the Package Manager. Then put two snippets on the page: XcommThread outputs the comments, Xcomm3x — the form. Both are called…
Snippets2
03Xcomm3xOutputs the comment form and initialises the JS configuration (window.Xcomm3xConfigs, one entry per block).04XcommThreadOutputs the list of approved comments for a resource.Appearance2
05ThemesUsed by default. Chunks prefixed with xcomm3x_*, CSS classes xcomm3x-*. Styles are added automatically.06ChunksAll chunks fall into three groups:07System settingsAll settings are available on the Settings tab of the component and in System Settings → Namespace: xcomm3x.08Notifications and cronNotifications are not sent synchronously when a comment is posted — they are put in a queue (xcomm3x_mail_queue). Sending is done by the cron script…09Spam protectionStop words and blocked IPs are managed on the “Stop words” and “IP blocks” tabs of the component; the settings are in the “Security” section of the…10PermissionsInstallation creates the Xcomm3xUserPolicy policy with the three component permissions and assigns it to the Administrator group in the mgr context.…