[h2]What the module does[/h2]

“Comments” gives any entry of the site a discussion: a news item, a page, a product, a file, a topic. Modules need no teaching: comments appear under every page that has declared itself an entry (`subject`). Where a module supports ratings (a shop, for example), the same comments work as star reviews.

[h2]What the visitor sees[/h2]

[list]
[*]A form under the entry, reply threads, sorting “Newest / Oldest / Best”.
[*]A guest writes with a name and, if they wish, an email (never shown publicly), if you allowed guest comments.
[*]A person can edit or delete their own comment within the number of minutes you set.
[*]“Helpful” or “+ / −”, reaction icons, “Report”, and email subscription to new comments (with an unsubscribe link).
[*]A signed-in person can attach pictures, and a video link on its own line in the text turns into a player.
[*]On a phone the list is shorter than on a computer.
[*]On a phone each comment has a single row “Useful · Reply · ···”; the other actions (quote, edit, report, moderation) are in the “···” menu; a reply shows who it answers.
[*]Replies form a tree, three levels by default (changeable in settings); at the depth limit “Reply” places the answer one level up.
[*][b]My comments[/b] in the account: everything a person wrote (published, “Awaiting review”, “Not published”) and other people’s replies to their comments, with a link to the place in the discussion.
[*]“Copy link” in a comment’s menu gives the address of that very comment.
[/list]

[h2]How moderation works[/h2]

[list]
[*]With “Check before showing” on, a new comment stays hidden until you publish it. Roles with the “Publish comments without checking” permission and moderators skip the queue; so do authors whose set number of comments you have approved.
[*]“Comments → All comments” has the tabs “Pending”, “Published”, “Spam”, “All”, search by author and text, and bulk actions: publish, spam, to the queue, move to trash. One pass handles a limited number; the site tells you about the rest.
[*]“Ban the author” closes comments for a person (an account or a guest’s email), “Close the address” for a guest from one address for a period. Shared addresses (an office, a proxy, your own) cannot be closed. Staff cannot be banned. The ban is lifted on the “Banned authors” page.
[*]Readers’ reports are collected in a separate list (the reports section of the panel).
[*]“No post” shows comments whose entry has gone.
[/list]

[h2]What can be set[/h2]

Settings are in “Comments → Settings”, in the groups “Publishing and permissions”, “Discussion and display”, “Reviews and ratings”, “Anti-spam”, “Comment appearance”, “Pictures and video”, “Mail and subscription”.

[list]
[*][b]Publishing[/b]: check before showing, guest comments, the window for editing one’s own comments, trust after N approved.
[*][b]Discussion[/b]: reply depth (0 — no replies, 1 — one level, more — a tree), closing a discussion after a number of days, comment length from and to, number per page (separately for phones).
[*][b]Reviews[/b]: ratings, the average score above reviews, the “Verified purchase” mark (if the module that owns the entry confirms the purchase).
[*][b]Anti-spam[/b]: minimum time to fill in the form, number of links, submissions from one address in 10 minutes, repeat search. An AI check can be added: the text goes to the provider from “Settings → AI assistant” and uses its requests; it is off by default, and for doubtful text you choose “hold for a moderator” or “reject”.
[*][b]Appearance[/b]: the author’s group, the “online” badge, profile fields for “Place” and a signature, the “Recent comments” page and a block in the column.
[*][b]Mail[/b]: an email to the owner and to the entry’s author about new comments, reader subscription.
[/list]

[h2]Personal data[/h2]

A person’s comments are part of the export of their personal data. A guest’s address in reports is kept only as a hash.

[h2]For the template developer[/h2]

The form and list are printed by the area after the entry text, and your own module gets comments for free: it is enough to declare the page an entry (`subject`), as news, the shop and the forum do.

[h2]More features[/h2]

[list]
[*][b]“@login” mentions[/b]: the name becomes a link only for a person with an open profile (per the site setting); a closed profile stays plain text, just like a login that does not exist, and the person gets a notification.
[*][b]A “someone replied to you” email[/b] — only for those who turned it on themselves (a tick by the form and a switch in “My subscriptions”); the start of the reply in the email has no links or bare addresses.
[*]A guest can tick “remember my name and email in this browser” to avoid typing them each time.
[*]The markup bar in comments and reviews has “Preview”, “Undo” and “Redo”; hidden [c][hide][/c] text does not get into excerpts and emails.
[/list]

[h2]Where next[/h2]

[list]
[*][url=admin:comments]Comments[/url]
[*][url=admin:modules]System → Modules[/url] — turn the module off or on: the forms disappear, the comments stay
[/list]
