Simple comment system – your thougths please

I maintain the website of an organization with about 300 members. The website is running Kirby 3.9.x, we plan to upgrade it to Kirby 4.0 as soon as possible.

The main part of the website is password protected and only accessible to members. There is a section where new articles are published regularly. Recently, the client asked for a system for the members to comment on the articles.

The requirements for this commenting system are quite simple:

  • “Linear” (I can’t think of a better term right now) comments are sufficient, in any case no multiple comment levels in terms of replies to comments are necessary.
  • Basic formatting such as bold, italics, etc. should be possible in the comments.
  • Functions concerning other websites or blogs - pingback, webmentions or similar - are not required.
  • Since the comments are made in a closed area by members personally known to each other with a known good/civilized communication culture, moderation/approval of comments does not appear to be necessary at this time
  • Since the comments are made in a closed area, protection against spam is also not required

There are two plugins with comment systems for Kirby

also an older, file-based comment system

The features offered by all the above systems go far beyond the requirements mentioned above. Furthermore I can’t estimate if or how well these systems work after updating the website to Kirby 4.x.

So my idea is to implement a simple commenting system myself:

  • Under each article there will be a textarea to write a comment.
  • After submitting the comment it will be saved as a subpage of the article (As described in the recipe “Creating pages from frontend” (Create pages from frontend | Kirby CMS)).
  • Under the textarea all comments submitted to the article will be listed in reverse chronological order with author and date/time.

At the moment I think the implementation of this concept is quite simple. Or have I overlooked something? I would really appreciate an assessment from you guys.

2 days later, 40 views and no objections. My idea seems not to be completely wrong, I will start next week.

Hey,
i think your idea is good. the only alterntive i could think of is a structure field.
personally i would prefer pages because editing and deleting structure fields from the frontend is a little bit more tricky.
if the amount of comments won’t be to big, there is nothing wrong with your plan.

greeting

david

1 Like

Hi David,

thank you very much for your answer. I have excluded the idea to use a structure field from the beginning, because I don’t want to risk that if something goes wrong the actual content file gets damaged. The better handling when editing or deleting is an additional argument for subpages.

Greetings

Thomas

I had the same thought after trying some of the above mentioned Plugins and running into issues: Comments are not important enough to risk having an error on the page itself.

Because I need comments in two languages I could not go with commento and finally found Isso Comments. It’s lightweight and quite flexible, imho.

Hi Luca, thank you very much for your recommendation. Before going this route, I will first try to develop my future comment system - as described above - with the “on-board means” of Kirby. An additional, external system violates first of all my principle to produce everything as simple as possible and with as few dependencies as possible.

2 Likes