| 1 |
|
| 2 |
README for content_moderator.module:
|
| 3 |
|
| 4 |
Compatible with Drupal 4.7.
|
| 5 |
|
| 6 |
WILL NOT BE UPDATED for 5.x in favor of the Modr8 module.
|
| 7 |
|
| 8 |
A simple module with code adapted from the Drupal 4.7 node.module, and which
|
| 9 |
reuses functionality from node.module where possible. Allows you to give a
|
| 10 |
"moderate nodes" permission to a user role. Users with this permission may see
|
| 11 |
a list of content (restricted using the sql_rewite so they cannot see content
|
| 12 |
they are normally prohibited) at /admin/content_moderator. Within this list
|
| 13 |
they can either approve posts to move them out of moderation, or put them into
|
| 14 |
moderation to remove them from public view. Also, uses hook_nodeapi to prevent
|
| 15 |
nodes from going back into moderation (if that's their default setting)
|
| 16 |
when edited by a user with this permission.
|
| 17 |
|
| 18 |
A block is also made available to show the most recent ten posts in the
|
| 19 |
moderation queue.
|
| 20 |
|
| 21 |
This module is intended to be useful for a site like Drupal.org which has a
|
| 22 |
handbook where all users can add book pages, but those pages go into the
|
| 23 |
moderation queue. This modules allows the work of reviewing and approving those
|
| 24 |
posts to be delegated to additional users without giving out the all-powerful
|
| 25 |
"administer nodes" permission.
|
| 26 |
|
| 27 |
INSTALLATION:
|
| 28 |
|
| 29 |
As usual, upload to the modules directly. Log in and go to /admin/modules and
|
| 30 |
enable the module.
|
| 31 |
|
| 32 |
Go to /admin/access to assign the new permission to one or more user roles.
|
| 33 |
|
| 34 |
The new menu item with show up in the navigation menu.
|
| 35 |
|
| 36 |
Go to /admin/blocks if you wish to enable the block. The block will only be
|
| 37 |
visible to users with this permission.
|
| 38 |
|
| 39 |
----
|
| 40 |
|
| 41 |
Written by Peter (pwolanin@drupal)
|
| 42 |
|