Then we found an unfinished comment moderation module by Kyle Cunningham (CitizenKane on drupal.org) which he coded for Dot KDE. You can see a preliminary version of the module running on http://dot.kde.org and the current version comment_rating-6.x-0.4-dev running on http://linksunten.indymedia.org/.
Here is a feature list of the Comment Rating module:
* Community driven rating of comments
* Unfolded and folded comment themes
* AJAX-driven rating or moderation of comments
* AJAX-driven folding and unfolding of comments
* Views integration via Voting API module
* Moderation queue through Views
* Action integration: ontopic & offtopic
* Missing Drupal 6 core action "publish comment"
* Comment permissions by role:
* rate comments/rate own comment
* change own rating
* set own threshold
* delete comments/delete own comments
* edit comments/edit own comments
* show display options
* administer comment rating
* Compatible with Comment Mover and Hidden module
We hope you think this module is useful and let us maintain it as a project on drupal.org. And when we find even more time, we want to refactor our upload_media module and publish it on drupal.org, too...
Best wishes
Bart - bartolomeo at indymedia dot org
Indymedia linksunten - linksunten at indymedia dot org
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | comment_rating-6.x-0.4-dev.tar_.gz | 15.87 KB | linksunten |
Comments
Comment #1
linksunten commentedREADME.txt of comment_rating-6.x-0.4-dev:
=== Comment Rating Module ===
The Comment Rating module provides community driven
comment rating (similar to Slashdot) for Drupal.
=== Features ===
* Community driven rating of comments
* Unfolded and folded comment themes
* AJAX-driven rating or moderation of comments
* AJAX-driven folding and unfolding of comments
* Views integration via Voting API module
* Moderation queue through Views
* Action integration: ontopic & offtopic
* Missing Drupal 6 core action "publish comment"
* Comment permissions by role:
* rate comments/rate own comment
* change own rating
* set own threshold
* delete comments/delete own comments
* edit comments/edit own comments
* show display options
* administer comment rating
* Compatible with Comment Mover and Hidden module
=== Moderation Queue ===
Comment Rating depends on Voting API which has a Views 2 integration. Thus, you can easily build a moderation queue for unmoderated comments by creating a view:
* Sort criteria
** Comment: Post date asc (Sort order: Ascending, Granularity: Second)
* Relationships
** Comment: Individual votes (Label: Rating, Value type: Points, Vote tag: Vote)
* Filters
** Voting API votes: Value empty (Relationship: Rating, Operator: Is empty (NULL)
** Comment: In moderation No (Moderated: No)
=== Changelog ===
6.x-0.4-dev
* Changed name of the module to Comment Rating.
* Fixed bugs.
* More options can be set by role.
* Users can define their own threshold.
* Introduced constants.
* Splitted the module into more files.
* Revised code with respect to security issues.
* Revised code with respect to coding standards.
* Added more commentary to the code.
6.x-0.3-dev
* Fixed javascript and php bugs.
* Made different modes work:
threaded vs. flat, collapsed vs. uncollapsed.
* Wrote fold function and made javascript persistent.
* Implemented permanent links.
* Made URLs compatible with hidden module.
6.x-0.2-dev
* Prevent users from voting on their own comment.
* Completely disallow anonymous users from voting on commments.
* Better themeability provided by over-riding theme functions
from comment.module and replacing them with moderated comments templates.
* Provided a default stylesheet which provides reasonable looking moderation controls.
* Enhanced javascript to include automatic score updating.
* Fix bug preventing the provided javascript to not work with clean urls.
6.x-0.1-dev
* Initial Release
=== License ===
This file is copyright by Indymedia linksunten
Based on a comment moderation module by Kyle Cunningham
It is licensed under the GNU GPL v2.
See LICENSE.txt for further licensing details.
Comment #2
linksunten commentedI forgot to set the status to "needs review".
Comment #3
sunMost of this functionality already exists. You should rework the code to leverage other modules and avoid duplication of efforts.
Comment #4
sunMost of this functionality already exists. You should rework the code to leverage other modules and avoid duplication of efforts.
Comment #5
mfbBtw, I noticed incorrect usage of db_rewrite_sql() throughout. The db_query() args shouldn't be passed to db_rewrite_sql(), and also it should only used for SELECT queries (afaik).
Comment #6
ClearXS commentedHi, please edit the extra "_" out (or rename):
comment_rating-6.x-0.4-dev.tar_.gz =>
comment_rating-6.x-0.4-dev.tar.gz
(otherwise it won't extract)
Comment #7
ClearXS commentedWhat could that give for practical problems? Errors with some other modules, or security issues?
- - - -
And can't this LinksUnten module (same for the Indymedia Alba approach) be integrated with existing moderation modules? Think that is the favorable way of doing so?
Wiki Moderation modules : http://groups.drupal.org/node/71618/