28 votes


Important: UComment 1.2 is an update for Umbraco 4.7+ only - see change summary below

Standalone comment component (seperated from blog4umbraco) for umbraco, easily add comment functionality to any umbraco document you wish.

Note: Package is built for .net 4 - You can download the source and build for .net 3.5 if you wish.

Very Important: The Ucomment moderation dashboard control conflicts with the Umbraco 4.7 change password dashboard control. You need to remove the latter for comment moderation to work at present.

Package will install:

  • UComment Form Macro (the ajax form)
  • UComment List Comments Macro (sample xslt that lists comments for a document)
  • Dashboard Comment moderation control
  • UCommentLibrary xslt extension
  • UComment base methods
  • Creates a Comments table

Using the package:

Comment form uses jquery and jquery.validate, so first add these scripts:

<script type="text/javascript" src="/umbraco_client/ui/jquery.js"></script>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.5.5/jquery.validate.min.js"></script>

Also required:

jquery form plugin: http://www.malsup.com/jquery/form/

jquery metadata plugin: http://plugins.jquery.com/project/metadata

Note: In version 1.1 you can just set the RegisterScripts Macro property to true in order to automatically include the scripts.

Afterwards simply add the UComment Form Macro and the UComment List Comments Macro to your template.

<umbraco:Macro Alias="UCommentListComments" runat="server"></umbraco:Macro>
<h3>Leave Comment</h3>
<umbraco:Macro Alias="UCommentForm" runat="server"></umbraco:Macro>

Enabling Spam filtering:

You can enable Akismet spam filtering by setting a valid apiKey in the /umbraco/plugins/UComment/UComment.config file

Comment Migration:

The project source code includes a command line app that allows you to migrate legacy Umbraco blog comments (nodes) to the UComment database.

Comment Events:

Version 1.1.1 includes two events that can be subscribed to when comments are created:

  1. CommentCreated
  2. CommentSpam

See http://ucomment.codeplex.com/SourceControl/changeset/view/50464#936417 for a reference implementation.

1.2 Update

Summary of changes:

- Use 4.7 attributes to configure Xslt and Rest (Base) Extensions.
- Code cleanup and general refactor.
- Moved delete logic to domain object.
- Added comment delete event.

Package owner

Tim Geyssens

Tim Geyssens

Tim has 15373 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 9.0.x (untested)
Version 8.13.x (untested)
Version 8.12.x (untested)
Version 8.11.x (untested)
Version 8.10.x (untested)
Version 8.9.x (untested)
Version 8.8.x (untested)
Version 8.7.x (untested)
Version 8.6.x (untested)
Version 8.5.x (untested)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (untested)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Tim Geyssens
  • Created: 13/01/2010
  • Current version 1.2
  • License MIT
  • Downloads on Our: 8.8K

External resources