Closed (outdated)
Project:
Subscriptions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 23:58 UTC
Updated:
27 Sep 2019 at 13:31 UTC
Jump to comment: Most recent
Comments
Comment #1
salvisYes, modr8 goes directly to the database, bypassing the Drupal mechanisms for updating a node, which would trigger Subscriptions:
Now, let's assume for a moment, that we can fix that. But what's the workflow with modr8? Apparently you're setting the modr8 flag and clearing the published flag, which means only users with 'administer nodes' can actually make your nodes show up.
However, if I understand this correctly, modr8 should also work without 'administer nodes', i.e. with published nodes, no? This means, if Subscriptions were to support modr8, it ought not to send notifications for nodes in moderation (except possibly for users with the modr8 permission) until they are approved.
IOW, the moderate flag would have to be treated like the 'unpublished' flag. Isn't that so?
Comment #2
gregarios commentedClearing the 'published' flag is optional, and can be set as default or not on a per-content-type basis. The workflow with Modr8 is such: When you are in node creation, there is an extra option in the 'Publishing Options' that lets you put the node 'In moderation queue' so it will appear in a list of nodes with a little 'approve/deny/note' UI. The Modr8 module notifies the site moderator of the newly created node as well, via email.
So, the node creator can set the 'published' state or not, and the 'in moderation' state as well, from node creation (if they have permission). Defaults are set in Modr8, and the standard Drupal permissions let you hide the whole process from untrusted node creators — like bloggers and such — giving the moderator full control over what kind of nodes are "publish first then moderate, or "moderate then publish" kind of nodes.
I would think that would be so. Using Modr8, you can set a node as 'published' while still giving it the 'moderate' flag, which basically just puts it in the moderate queue for easy access to be able to deny or approve it while it is visible on the site.
I would think that if it is published, and is put in the moderate queue, then a person can expect it not to go out as a subscription so they can deny it in the queue still, removing it from the site and the subscriptions (before it gets to the users' inbox). I would assume that if someone published a node, but still put it in the Modr8 queue, they are expecting to be able to revoke the published (and subscribed) state at some point soon.
So, your thinking on treating the 'moderate' flag as an 'unpublished' flag is a good way to do it in my opinion. If Modr8 users wish the Subscriptions to go out when a node is published and the node is still in the Modr8 queue, then I would think the Moder8 module would need to be updated for that functionality.
I opened an issue with the Modr8 maintainers: http://drupal.org/node/563138
Comment #3
salvisThank you for your explanations. Since modr8 provides its own notification mechanism, Subscriptions should probably not send out any notifications at all if the moderate flag is set.
I can't think of any use case for that.
Comment #4
gregarios commentedThe Modr8 notifications only go out to the moderator when a node is created. Then, the creators of the nodes get notifications telling them if their post was approved, denied, or a note about the post from the moderator. No regular users are involved.
Comment #5
gregarios commentedModr8 has changed the way they update the node status. Maybe this will work now...
Comment #6
salvisYes, let us know what you find.
Comment #7
salvis