#13

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.

The second version of plugin has an important updates that contains breaking changes!

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.

  • {{ comments_number('example-page') }} - displays the total number of comments for the current page.

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 5 May, 2017

    It's a nice plugin. I'll translate it to Turkish for myself .I can mail you then, if you're interested :)

  • author

    Replied on 6 May, 2017

    Yes! It will be great! Can you create a new issue here and attach a file?

  • Found the plugin useful on 21 Apr, 2017

    Good!) Pleas integreat with lang plugin ))))))

  • author

    Replied on 21 Apr, 2017

    Ok!

  • Found the plugin useful on 3 Apr, 2017

    Looks great, much more preferable over the embedded forum topic method that is usually used for comments, however I'm getting an error at the moment: "call to a member function lastPage() on null" on line 187. Comments aren't being saved

  • author

    Replied on 3 Apr, 2017

    Hi!

    Thank you!

    Can you create issue here and provide more info?

  • 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.6

Fixed issue with redirect.

May 07, 2017

2.0.5

Added "comments_number()" function.

Apr 24, 2017

2.0.4

Fixed issue with migration.

Apr 07, 2017

2.0.3

Fixed issue with saving.

Apr 06, 2017

2.0.2

Fixed issue with "Class Auth not found".

Apr 04, 2017

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

The second version of plugin has an important updates that contains breaking changes!