#9

Product support

Visit this product's website for support.

Categories

  • Marketing
  • Social

The Comments plugin lets users to add comments to CMS Pages, Static Pages or Blog Post pages with ease. Users can login with RainLab.User plugin or post comment as a guest. The plugin supports Markdown syntax. Users can edit, delete and reply to comments.

If you have some problems or you want more functionality, please make a topic in the support section and I will try to add or modify the plugin functions.

If you like this plugin, please leave a review. Thank you!

You Can Download The Previous Version Of The Comments Plugin Here!

Installation

  • Add Comments plugin to a project.
  • Add the Comments component to a page where you want to display comments and the comments form.

Backend

In the back-end user interface you can delete, hide or show comments.

Variables available in templates

  • {{ comments }} - comments list.
  • {{ comment }} - one comment.
  • {{ comment.id }} - comment id.
  • {{ comment.user_name }} - author.
  • {{ comment.name }} - guest name.
  • {{ comment.user_avatar }} - avatar.
  • {{ comment.mail }} - guest mail.
  • {{ comment.homepage }} - guest homepage.
  • {{ comment.published_at }} - published on.
  • {{ comment.content_html }} - html content.
  • {{ comment.content }} - text content.
  • {{ comment.hostname }} - user ip address.
  • {{ user }} - current user.
  • {{ user.id }} - current user id.
  • {{ user.name }} - current user name.

JavaScript

Plugin uses comments.js file that provides animation and some actions:

  • create comment - onComment()
  • edit comment - onEditComment()
  • delete comment - onDeleteComment()
  • append new comment or replace - afterSubmit($el, context, data, textStatus, jqXHR)
  • cancel commenting
  • reply
  • Found the plugin useful on 14 Jun, 2016

    When I submit a comment I get "AJAX handler 'onComment' was not found." Any suggestions?

  • author

    Replied on 14 Jun, 2016

    Thank you for review! Can you create support ticket?

    > "AJAX handler 'onComment' was not found."

    Did you add the component to page?

  • Found the plugin useful on 28 Aug, 2015

    I bought this plugin as it was stated that it worked with the RainLab.Blog and Pages plugins - which is what my site is built on. And I'm so glad I bought it because that's exactly what it does. Like everything with October it's a dream to use and simple enough to extend to suit my own needs.

    In my personal opinion this should be bundled in with those plugins mentioned or October itself. It really is that good.

  • author

    Replied on 31 Aug, 2015

    Thank you for review!

2.0.1

Minor user interface update.

Mar 13, 2017

2.0.0

Added pagination.

Feb 13, 2017

1.1.1

Fixes issues

Dec 15, 2015

1.0.1

Fixes XSS Danger issue

Oct 26, 2015

1.0.0

First version

Mar 04, 2015