Comments can be posted by website readers under articles or forums, if the zine configuration allows it.
Every zine and/or article has a comment policy which is one of:
The comment policy is taken from (in order): the article comment policy (if set), the reference zine's comment policy (if set), the default policy for the zine type (if set), and lastly the default global comment policy. The last two are set in the Zine configuration file; the others are set on the configuration panel for a particular zine/article.
To disable commenting under a particular zine or article, set the comment policy on that one article to forbidden. Other zines and articles will not be affected.
Public comments can be posted by anyone at any time. They can enter any name in to the "From" field. The following configuration parameters control how public comments are handled:
To post a comment in a zine or article with a "member" comment policy, the user must be logged in to the website. Their name is automatically filled in to the comment form, and there is no need to solve a captcha.
The configuration setting editable_author can be set to true to allow members to change the From field of their post. The comment is still connected to their member record, even if they change the visible author settting.
The configuration setting withhold_name causes a blanked From field to display as "(name withheld)". Otherwise an empty From field is simply treated as no data, and the user name or login ID will be used instead.
Non-members may still see links/buttons to post comments, but will receive an error message if they attempt to use them.
Comments can be indexed in all the same ways that articles can be indexed. Some index formats are particularly suited to comments:
Index Type | Description |
---|---|
Deep | All comments are displayed in a flat index. |
Threaded | All comments displayed, indented under their parent comments. |
Semi-threaded | The opening comment of each thread is summarized in the main index. Following this comment takes you to a fully-threaded display of that thread. |
Exploding | Like Threaded, but the comment levels can be expanded and collapsed dynamically by clicking on buttons. |
Comment index types are set in the configuration file, using the following parameters:
For forums only, you can also set the index type for a particular forum in the zine configuration screen. (For other zine types, this setting affects article indexes only.)
Using the indexing rules for zines, you can devise a variety of formats for your comment indexes. Here are some examples to help you understand how to do this:
blog.comment.indexformat = full
blog.comment.indexformat = brief
blog.comment.indextype = basic blog.comment.indexsort = date
blog.comment.indextype = numbered blog.comment.indexsort = date
forum.comment.indextype = threaded forum.comment.indexsort = reverse-date
e-zine.comment.indextype = threaded e-zine.comment.indexsort = date
forum.comment.indextype = semi-threaded
The following configuration settings affect the entry of comments:
Comments are entered in plain-text format by default.
Smileys (emoticons) may be entered in their conventional text forms, eg. :-).
Limited HTML is accepted, but structural HTML (eg. DIVs and TABLE markup) will not be.
The following configuration settings affect the display of comments:
Line breaks in the comment are preserved by the addition of <br> tags.
Quoted sections are wrapped in <div> tags of class "ZineQuote", allowing special CSS rules to be applied to quotes.
By default comments go live immediately. (That is, their default status is "active".) If inappropriate comments are entered by site readers, the webmaster can manually delete or edit the comments after the fact.
To vet all comments before they go live, comment moderation must be enabled. To do this, change the default status of a comment to some other value, as follows:
# by default, all new comments are pending moderation comment.status = pending # new forum comments are pre-approved, however forum.comment.status = active
New comments will be created with the default status. If the status is not "active", the comments will not be visible to the public. Furthermore, as soon as an non-active comment is entered into the the system, the moderator will be notified with an email message. This message includes links to accept or reject the comment.
When viewing comments in an administrator view (eg. the Zine control panel), all articles and comments are flagged with a graphical icon indicating their status. Inactive comments include extra tools to accept or reject them.
In addition to using the moderation links/tools, you can always change the status of particular articles/comments using the configuration page.