At the moment, when someone enters a comment, and it is identified as spam, they are presented with a CAPTCHA to verify they are human. Sadly, although they are human, they are still spammers. So the comment ends up on the site despite a negative judgement after text analysis, and having ' Automatically discard the post' enabled.

Is the 'CAPTCHA fallback' intentional, and if so, is it possible to disable it?

CommentFileSizeAuthor
#5 mollom.unsure.5.patch2.71 KBsun
#2 mollom.unsure.2.patch3.12 KBsun
#2 mollom.unsure.2.png13.53 KBsun

Comments

sun’s picture

Title: 'Automatically discard the post' fails, CAPTCHA in stead » Allow to disable fall-back CAPTCHA for text analysis
Version: 7.x-1.0 » 7.x-1.x-dev
Category: bug » feature

This is a feature that is currently in the pipeline, see #1020072-8: Rethink/simplify UI to protect/configure a form for details.

We'll be moving the implementation part for the new unsure configuration parameter into this issue, so thanks for creating it :)

sun’s picture

Status: Active » Needs review
StatusFileSize
new13.53 KB
new3.12 KB

Attached patch implements additional support for the "unsure" parameter of the Mollom API:

mollom.unsure.2.png

Status: Needs review » Needs work

The last submitted patch, mollom.unsure.2.patch, failed testing.

fuzzy76’s picture

+1

sun’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs work » Needs review
StatusFileSize
new2.71 KB

Re-rolled against 7.x-2.x.

sun’s picture

Issue tags: +Needs tests

Last remaining todo for this is to verify that we're sending the unsure parameter, the proper value for it, and only when it's applicable (checking for spam).

sun’s picture

Issue tags: +API change
udvranto’s picture

Is there a plan to make it available for D6?

udvranto’s picture

The patch from #5 works perfectly for Drupal 6. You will only need the update function fixed.

/**
 * Add {mollom_form}.unsure.
 */
function mollom_update_6122() {
  $ret = array();
  if (!db_column_exists('mollom_form', 'unsure')) {
    db_add_field($ret, 'mollom_form', 'unsure', array(
      'description' => 'Whether to allow (1) or disallow (0) "unsure" text analysis results.',
      'type' => 'int',
      'size' => 'tiny',
      'not null' => TRUE,
      'default' => 1,
    ));
  }
  return $ret;
}
sun’s picture

Status: Needs review » Closed (duplicate)