Download & Extend

Add support for fast-toggling moderation queue status

Project:modr8
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

In 5.x (with the modr8 module) there is a moderation queue. It would be helpful if Fasttoggle supported toggling whether the node is in the moderation queue or not.

Comments

#1

Title:Add support for fast-toggling moderation queue status, working with the modr8 module» Add support for fast-toggling moderation queue status
Project:Fasttoggle» modr8
Version:5.x-1.x-dev» 6.x-1.x-dev

#2

Does fasttoggle have an API for adding in new functions like this?

I'm tempted to close this as "by design" since an important point (to me) of the 5.x version of Modr8 is to get moderators to use the queue to move posts out of moderation so as to have tracking of moderation actions.

#3

fasttoggle does now have a hook for other modules ... you make a good point maybe the toggle is only useful for putting items into the queue for others to review and decide.

#4

Ok, I see from the code this:

hook_fasttoggle_options

However, it's not clear to me how to implement this so that posts can be put into the queue only?

<?php
function modr8_fasttoggle_options ($type = 'node') {
 
$options = array();

  if (
$type == 'node') {
     
$admin = user_access('administer nodes');

      if (
$admin || user_access('moderate content') {
       
$options['moderate'] = array(0 => t('approved'), 1 => t('in moderation'));
      }
   }
  return
$options;
}
?>

#5

Wouldn't just another hook invoked in fasttoggle_node_option() do the trick and let us track the moderation actions?

#6

Subscribing, greetings, Martijn

#7

Status:active» closed (fixed)

#8

Status:closed (fixed)» active

Did anyone end up adding the ability to fasttoggle moderation to this module? It saves oodles of time for those with lots of content coming into moderation.

#9

Any implementation would need to use a Drupal-built form, not a link.

nobody click here