Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install collective.discussionplus

How to install collective.discussionplus

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.discussionplus
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0b2 Available View build log
Windows (64-bit)
1.0b2 Available View build log
Mac OS X (10.5+)
1.0b2 Available View build log
Linux (32-bit)
1.0b2 Available View build log
Linux (64-bit)
1.0b2 Available View build log
Lastest release
version 1.0b2 on Jan 5th, 2011


This package provides some enhancements to Plone's standard commenting functionality. It attempts to keep as much of the existing commenting machinery as possible, but adds the following features:


  • An IObjectAddedEvent is fired when a discussion item (described by the

System Message: WARNING/2 (<string>, line 11)

Bullet list ends without a blank line; unexpected unindent.

interface Products.CMFCore.interfaces.IDiscussionResponse) is created. * Similarly, an IObjectRemovedEvent is fired when a discussion item is deleted.


  • Content items gain two additional catalogue indexes: number_of_comments,

System Message: WARNING/2 (<string>, line 18)

Bullet list ends without a blank line; unexpected unindent.

which contains the number of comments left on a content item, and commentators, which contains a list of unique usernames of those who have left one or more comments on the content item. number_of_comments is also available as catalogue metadata. * Collections are configured so that it is possible to search by these indexes. For example, the 'Current author' criterion can be used to list all content items upon which the current user has left a comment. * Discussion items gain an additional catalogue metadata column, comment_subject, which contains the title of the content item that was commented upon (note that this is not updated if the content item changes title).


  • Discussion items will respect the workflow set in portal_workflow. By

System Message: WARNING/2 (<string>, line 33)

Bullet list ends without a blank line; unexpected unindent.

default, the one_state_workflow is used, which means a comment is always published. An additional comment_review_workflow is installed, which has two states: pending and published. Comments may either be published or deleted. * A new view, @@review-comments, is available for any folder or the portal root. This allows site-wide (or folder-wide) moderation of comments, with quick publish/delete operations.

Note that the @@review-comments view makes a few assumptions:

  • Comments pending review are always in the pending state. You can add

System Message: WARNING/2 (<string>, line 44)

Bullet list ends without a blank line; unexpected unindent.

a review_state request parameter to specify a different state to search for, however. * There is a transition called publish to move a comment from pending to published. You can request a different transition by providing a request parameter publish_transition.


  • The number_of_comments index will only include comments in the

System Message: WARNING/2 (<string>, line 53)

Bullet list ends without a blank line; unexpected unindent.

published state. * Neither the portal_catalog Clear and rebuild, nor the portal_workflow Update security settings operation will correctly find and update comments, due to the way that comments are stored.


This product requires Plone 3.3+ (and will likely not work with Plone 4). In particular, it relies on plone.indexer, which is part of Plone 3.3+.


1.0b2 - 2009-04-17
  • Catch up to Plone 3.3

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.