On our site, we use the Modr8 module for content moderation. However, it would be great if we could use Fasttoggle as well for moderating specific nodes.

Attached is a patch that makes that possible. I don't think it's necessary to add any conditionals to it, since the node.moderate field is in the database; it just doesn't have an administrative interface in core. I have set the moderate toggle to be disabled by default, however.

Thanks for making it so easy to add new toggles to this module.

CommentFileSizeAuthor
fasttoggle_modr8.patch4.17 KBEvanDonovan

Comments

binford2k’s picture

You should probably try to avoid such deep diff paths ....

EvanDonovan’s picture

Sorry, it was more convenient for me this way - since I was comparing between my live and development sites. If there is any interest in this idea, I can re-roll the patch so that it will apply for other people.

binford2k’s picture

it applies just fine, you just have to give it -p5 or so. I don't remember how deep, it was a while ago.

EvanDonovan’s picture

@binford2k: Want me to re-roll this? The codestyle and patch depth could be improved. I still think this would be a nice addition.

verta’s picture

I like this idea, as this is already a very helpful module and this would make it better.

nigelcunningham’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
nigelcunningham’s picture

Status: Needs review » Closed (fixed)

Fixed in the latest 7.x-1.x commits that I've just pushed. Thanks for the suggestion.