Download & Extend

Mollom Unpublish all nodes fallback

Project:Mollom
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Mollom currently has 2 available fallbacks: block all or allow all. This patch adds a fallback (when mollom servers are down) that will accept submissions but mark them as unpublished ($node->status = 0).

It does this by saving a variable inside the fallback function and in nodeapi it checks for that variable and if it is set to 1, it will unpublish the node and set a message for the user to let him know the node will be reviewed by an administrator.

WARNING: this patch does not check if the node type is being monitored by Mollom before marking it as unpublished, thus it will mark as unpublished ALL node types, not just the ones monitored by Mollom. If anyone requires this check, let me know and I will add it.

WARNING: this patch only works for nodes, it will accept anything else.

Sorry if there is anything wrong with the patch file, it is the first patch i make.

AttachmentSizeStatusTest resultOperations
mollom.patch6.12 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» closed (duplicate)

Marking this as a duplicate of #364575: Support alternative spam rejection methods than a CAPTCHA (e.g. unpublishing) since it has a few more comments already.

nobody click here