Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#6 | mollom.for_.guestbook.patch | 431 bytes | Josiv |
#1 | guestbook-DRUPAL-5--2.submit.patch | 1.54 KB | sun |
mollom-5.x-1.4_guestbook-5.x-1.0.patch | 472 bytes | sponnet | |
guestbook-5.x-1.0.patch | 513 bytes | sponnet | |
Comments
Comment #1
sunUpdated patch for Guestbook 2.x. Committed to Guestbook 5.x-2.x and 6.x-1.x.
Comment #2
bflora CreditAttribution: bflora commentedYo 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
Comment #3
Benjamin Schrauwen CreditAttribution: Benjamin Schrauwen commentedThe 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.
Comment #4
kalikoder CreditAttribution: kalikoder commentedFor 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!
Comment #5
Dave ReidThis will also need to be updated to 6.x-1.x, since 5.x has been closed to feature requests.
Comment #6
Josiv CreditAttribution: Josiv commentedI 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.
Comment #7
Dave ReidPostponing until #245682: Enable use of Mollom for any form and #412760: User interface brainstorming land.
Comment #8
r_honey CreditAttribution: r_honey commentedHi 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.
Comment #9
Dave ReidIt'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.
Comment #10
lionheart8 CreditAttribution: lionheart8 commentedHi
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
Comment #11
nikolajb CreditAttribution: nikolajb commentedSame 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 :)
Comment #12
sunNow duplicate of #717040: Mollom support