Hi,
I've seen ppl asking for the same feature for drupal 5 and some of these were even answered.
One of then give a code for drupal 6. But I've created the mini-module as said and it did not work.
So I would like to ask for help. Could anyone make a mini module for drupal 6, as it was done in this issue:http://drupal.org/node/324530?
Please, don't understand Php :(

Comments

vm’s picture

Category: feature » support
Status: Active » Fixed

What you link to is not a mini module it is a patch. see: http://drupal.org/patch/apply for information on how to learn to apply patches.

thicarrion’s picture

Category: support » feature
Status: Fixed » Active

Right, That one is a patch, but the mini module i've talked about is this one: http://drupal.org/node/153462.
Either way, that patch is for Drupal 5. I would need a patch or minimodule for drupal 6.
Thanks anyway!

vm’s picture

When you say the mini module in http://drupal.org/node/153462#comment-822627 did not work

what does "did not work" mean ? it would be helpful if you provided a more verbose explaination.

andrewsuth’s picture

He's right, the mini-module for 6.x was missing the line:
$node->moderate = 0; // remove node from moderate list.

So nodes were published but still remained in the moderators list, and therefore were never 'visible'.

Here is a link to a fixed and tested version of the mini-module: http://drupal.org/node/418896

+1 for this to be added to the main module.

vm’s picture

I've corrected the Drupal 5.x snippet in the documentation adding the line you found missing.

thicarrion’s picture

Thanks so much, I will be trying out this one!

roderik’s picture

IF you want to patch the existing module instead of using the mini module: see here for a D6 patch too (and for the reason): #324530: Allow bypass of moderation on per-role basis

pbeakley’s picture

(Xposted with my comment on the minimodule page)

Hey, so I created this minimodule. I think it's correct. I successfully activated it in the admin section. I granted permission to two of my three specific role types -- I assume that granting permission automatically makes those roles skip moderation, right? I left one role ungranted, because that's the ONE role whose content I want moderated.

However, even after a cache dump and logging out/in, all the content created by those two roles -- the ones granted "skip moderation" permission -- still gets dumped into the modr8 queue.

What do you think?

As a side note I am testing a rule specific to this content type via the Rules module at the same time. Is there a possible interaction there?

p.

johngriffin’s picture

Those who have difficulty implementing your own module to achieve this functionality may be interested in a module I've just submitted for review:

Modr8_bypass:
http://drupal.org/node/550890

johngriffin’s picture

Moderate bypass module now released: http://drupal.org/project/modr8_bypass

pwolanin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -modr8, -role, -user roles

Automatically closed -- issue fixed for 2 weeks with no activity.