LunpaCMS Whipping your website into shape! Introducing Lunpa, our mascot.  Her mother was a hamster and her father was Chilean M00se.  Oddly, neither smelt of elderberries.


LunpaCMS Comment Manager Documentation

A Quick Introduction

Comment Manager utilizes the ability to add comments to web contents such as news articles or template articles.

Using Comment Manager

Comments Manager supports News Manager and Template Manager currently.

Enabling Comment on News Manager

When you build a LunpaCMS website, you can make one or multiple news pages. You can enable or disable comment feature by each news page. To enable comment feature for a news page, add ::DESCRIPTOR:comment:: tag to desired place in the article template for the page. If you want to disable comment feature from a page, remove the tag from the article template for the page. Please refer News Manager documentation for using article template (article_template).

Enabling Comment on Template Manager

Comment feature can be enabled or disabled on individual template. To enable comment feature on a template, simply place :::TEMPLATE_COMMENTS::: tag at desired location in the template. This tag will be parsed and replaced with a list of comments and comment add form. If you want to disable comment feature from a template, just remove the tag from the template.

Comment Moderation

By defailt, a submitted comment needs moderation to be posted. When a new comment is submitted, a moderation notification e-mail will be sent to designated moderator. A moderator comes to comment moderation page, and either approve the comment or delete/reject the comment. The comment will show on the website after approved. If auto moderation map is set to 1, all submitted comments will show on the website without moderation process.

Following maps are used for comment moderation:

User Voting to Comment

A website user can vote to a comment for either "Helpful" or "Not Helpful" only one time. Users are required to login for voting to prevent one person from voting multiple times to a comment. The number from total number of "Helpful" votes subtract total number of "Not Helpful" votes will be used for rating comments when sorting comments.

Also, a user can report a comment for abuse. This abuse report will be e-mailed to a moderator for proper action.

Misc Information

Comment Manager requires jQuery library. Please include desired version of jQuery library to your template.

Example: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

Add Your Comment


(Only a limited set of HTML tags such as <b>, <i>, <u> are allowed. Embedded flash video from Youtube or Vimeo are also supported.)


Copyright © 2018 Peregrine Computer Consultants Corp. All rights reserved.

About Lunpa, our mascot. Her mother was a hamster and her father was an ill-tempered Chilean M00se. Oddly, neither smelt of elderberries.
The artist is Jennifer Lomax.