Workflow Wordfilter

Categories

Component ID

164762

Component name

Workflow Wordfilter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

936

Component created

Component changed

Component body

The Workflow Wordfilter module enables users of both the workflow_ng and wordfilter modules to combine the power of the two. You will now be able to use workflow actions on nodes and comments that have been submitted with words defined in the wordfilter filter list. General use will be to unpublish a node or comment automatically when it is submitted with words found in the wordfilter list.

This module also provides hook_workflow_wordfilter($op, $obj) that will fire when a node or comment has been submitted with words found in the wordfilter list. This will allow other modules to tap into this process. $op is either 'node' or 'comment' depending on the type of content submitted and $obj is either the node object or comment array submitted that was found to have words in the filter list.

NOTES: Module will only work on PHP 5.x.

Drupal 6 Status

I've been working on a port of this module using Rules in place of workflow.

24 June 2011: As soon as time permits I will commit the ported version and create an alpha release.