Patch to allow moderation of comments, and views based on score

vik4 - August 18, 2006 - 07:16
Project:Node Moderation
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I've made a number of changes here:

  • Added support for moderation of comments. This is still ugly, but it kinda works. Then there is hiding comments based on score. This is even uglier.
  • Enabled 'initial score' section for nodes/comments which adds that nodes initial score to the votingapi_cache table whenever the cache is recalculated (this is now done whenever a node/comment is submitted).
  • Added a section to the user settings so the individual user can set a viewing threshold for themself - this is currently hardcoded to three different levels.
  • Added a views filter to show nodes based on the votingapi_cache score.
  • Added an option in settings to disable promoting/unpublishing of nodes based on their score.

That's most of it I think.

AttachmentSize
nmoderation.module.vik.patch.txt14.68 KB

#1

nedjo - September 25, 2006 - 02:45
Category:task» feature request

It would probably be best to separate this into several different patches and open separate issues for each. Having various proposed changes in a single issue/patch makes it hard to assess.

 
 

Drupal is a registered trademark of Dries Buytaert.