In the source code Mollom says that to enable spam checking simply set 'mollom_$form_id'.
The catch, only MOLLOM_MODE_ANALYSIS can be enabled. You can't force say a captcha (on a Digg-like site that allows users to submit links to stories, having captcha would be better than analysis).
The attached patch makes it possible for not only 'mollom_$form_id' to enable Mollom, but also set which mode to use. For instance, 'mollom_feed_node_form' = 1, would turn on captcha or 'mollom_feed_node_form' = 2, would turn on analysis mode.
Comments
Comment #1
dries commentedIn the next version of the D6 version of the Mollom module, you will be able to force a CAPTCHA. We rewrote a large part of the module, and made it possible for users to use either CAPTCHAs only or text analysis (with an occasional backup CAPCHTA). This should be supperior to your patch. We have not (yet) backported this functionality to D5.
Comment #2
aterchin commentedIs there an update on the 5.X backport for this? The site i'm working on will probably never move off of D5.
Comment #3
dries commentedThis feature request has been added to the Drupal 6 version of the Mollom module and won't be backported to the Drupal 5 version of the Mollom module. We consider the Drupal 5 version to be frozen, except for bug fixes.