Community & Support

No action for putting node into (or out of) moderation?

I was hoping to have nodes be able to have the 'in moderation' checkbox turned on or off based on the node's vote score, but apparently that isn't an option..

here are the actions which I can assign in administer > vote_actions:

Publish Node
Unpublish Node
Make node sticky
Make node unsticky
Promote node to front page
Remove node from front page
Touch node creation date
Touch node change date

Am I missing something? Is it not possible to assign an action of putting something into moderation, or out of moderation, based on a voting action?

Please help me if you can!

Comments

=-=

install the workflow.module which will then give you those actions.

the nmoderation.module (node moderation.module) may also be something worth looking at.

thanks for the quick

thanks for the quick reply!

i have both workflow and nmoderation installed, however I do not have any actions for adjusting a node being 'in moderation'.. under 'add action' there is nothing about it there either..

basically i am setting up 2 views, one for 'public' (published, not in moderation) one for 'private' (published, in moderation) blog entries.. if the blog entry gets a certain rating i will change the 'in moderation' flag, which will determine which page the blog entry appears on (public or private view)..

can you verify that you have any actions related to 'in moderation'? i am looking under administer > actions.

thanks!

Removed

It's been removed. But you can add it into your actions.inc manually if you need it; the code removed can be viewed here.

Node Publish

Node Publish node
Node Unpublish node
Node Add node to moderation queue
Node Remove node from moderation queue

Node Make node sticky
Node Make node unsticky
Node Promote node to front page
Node Remove node from front page
Node Touch node creation date
Node Touch node change date
Comment Publish comment
Comment Unpublish comment
Workflow Change workflow state of a node to next state

is the list of actions I have : administer -> actions

Poses the question, as to what module is adding them if they arent supposed to be there.

Been a while since post

Been a while since post here.

I'm looking to try and use workflow to setup a notification system for moderator module via actions and triggers. I think it can be done however not unless I can assign workflow state trigger to "Remove from moderation queue" or "Add to moderation queue". I tried adding this code to admin.inc in includes but did nothing. Perhaps it might work as a module but post is old, perhaps not compatible code now. I would have thought the moderation module would add moderation actions.

=-=

There is no code in this thread, so I can't be sure what you are adding to admin.inc but there is no needto hack core files like admin.inc.

May want to look into the rules.module at this time.

There is code here

There is code here http://drupal.org/node/93315#comment-169749.

Have had a look at rules and doesn't look like it can change the default workflow i.e. send to or remove from modr8 queue. If there is action for modr8 I can use workflow module.

=-=

My apololgies. I missed that comment's links and was under the impression you were hacking admin.inc based on the original post.

A custom action may need to be built to interact with modr8.

nobody click here