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:
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:
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.