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
Comment #1
vm commentedWhat 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.
Comment #2
thicarrion commentedRight, 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!
Comment #3
vm commentedWhen 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.
Comment #4
andrewsuth commentedHe'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.
Comment #5
vm commentedI've corrected the Drupal 5.x snippet in the documentation adding the line you found missing.
Comment #6
thicarrion commentedThanks so much, I will be trying out this one!
Comment #7
roderikIF 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
Comment #8
pbeakley commented(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.
Comment #9
johngriffin commentedThose 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
Comment #10
johngriffin commentedModerate bypass module now released: http://drupal.org/project/modr8_bypass
Comment #11
pwolanin commented#324530: Allow bypass of moderation on per-role basis was committed.