Add support for fast-toggling moderation queue status

bkudria - April 16, 2007 - 05:28
Project:modr8
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

moshe weitzman - April 16, 2007 - 13:51
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

pwolanin - April 16, 2007 - 20:24

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

moshe weitzman - April 16, 2007 - 21:43

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

pwolanin - April 16, 2007 - 22:38

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

sanduhrs - January 29, 2008 - 21:02

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

#6

Summit - February 21, 2008 - 09:00

Subscribing, greetings, Martijn

#7

pwolanin - April 15, 2008 - 00:28
Status:active» closed

#8

iem2509 - August 29, 2008 - 18:48
Status:closed» 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

pwolanin - September 5, 2008 - 00:55

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

 
 

Drupal is a registered trademark of Dries Buytaert.