Here's a patch that makes Mollom aware of the guestbook module, and enables Mollom for guestbook submission form.
Patch the mollom module using the mollom-5.x-1.4_guestbook-5.x-1.0.patch patchfile.

Optionally you can also patch the guestbook module to make the submit button appear below the captcha using the file guestbook-5.x-1.0.patch

Stefaan Ponnet
www.fusebox.be

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Updated patch for Guestbook 2.x. Committed to Guestbook 5.x-2.x and 6.x-1.x.

bflora’s picture

Yo Sponnet, have you made any improvements on that sweet java applet image uploader you had back in May? if so, where can I get them?

http://drupal.org/node/180616

Benjamin Schrauwen’s picture

Status: Needs review » Needs work

The patch is somewhat incomplete as it only performs captcha checking and no text analysis. For this, an extra function needs to be added that transforms the form fields into mollom-parameters.

kalikoder’s picture

For those of you wanting to Patch the Mollom Module for your guestbook from a Windows machine, I have written a step by step instruction on how to do so:

http://www.indiawebsearch.com/content/how-to-apply-a-patch-to-a-drupal-m...

Good Luck!

Dave Reid’s picture

Title: Mollom + Guestbook patch ( 5.x ) » Integrate with Guestbook
Version: 5.x-1.4 » 6.x-1.x-dev
Category: task » feature

This will also need to be updated to 6.x-1.x, since 5.x has been closed to feature requests.

Josiv’s picture

FileSize
431 bytes

I made patch for Molllom version 1.2.2.64 2009/06/18 10:04:46
With guestbook module version v 1.3.2.7 2009/03/10 23:14:47 (dev 6.1) patch for guestbook is no longer needed.

Dave Reid’s picture

Status: Needs work » Postponed
r_honey’s picture

Hi Dave & sun,

looks like it would take some time for Mollom module to be updated for general purpose form integration in Drupal. In the meantime, can you provide a patch for integrating Mollom to current stable versions of Guestbook??

My request is for 6.x-1.1.

Dave Reid’s picture

Status: Postponed » Closed (duplicate)

It's not worth putting in a patch unless it works for all forms, so I'm officially marking this as a duplicate of #245682: Enable use of Mollom for any form, which we should have it fixed pretty soon. Keep posted in that issue.

lionheart8’s picture

Hi

How do you apply the patch provided by Josiv?

-------------------------------------------------------------
--- mollom.module.orig 2009-07-10 19:59:13.000000000 +0200
+++ mollom.module 2009-07-10 19:59:14.000000000 +0200
@@ -631,6 +631,13 @@
'mode' => MOLLOM_MODE_ANALYSIS,
);
}
+ // guestbook
+ if (module_exists('guestbook')) {
+ $forms['guestbook_form_entry_form'] = array(
+ 'name' => 'guestbook entry form',
+ 'mode' => MOLLOM_MODE_ANALYSIS);
+ }
+
}

return $forms;

--------------------------------

Copy & paste that piece of code at the bottom of or what part of mollom.module in the latest version of Drupal 6.14 Guestbook?
I urgently need this because some idiots keep posting viagra & other spam links, inspite of captcha. I want if possible to allow anonymous visitors to post, but it takes a few hours of relaxing permissions to have the idiots posting.

By the way, is this effective for those who have applied the patch against these vile creatures who try at every opportunity to spam the guestbook?

Thanks in advance

nikolajb’s picture

Same here. I'd love to have some temporary solution for the guestbook. It doesn't need to be fancy or anything, and I don't mind doing the patching or editing myself. Right now, I think the only alternative would be to take down the guestbook until Mollom integration arrives, and I know a few people who wouldn't be too happy about that :)

sun’s picture

Now duplicate of #717040: Mollom support