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.

CommentFileSizeAuthor
mollom.patch6.12 KBserpisor2

Comments

dave reid’s picture

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.