I cant get the spam module to work with guestbook. Tried both spam module and antispam but nothing works. Im not getting the box where I can click for guestbook check. Can someone please help?

Comments

Lailadr’s picture

Assigned: Lailadr » Unassigned
sp3boy’s picture

I would really appreciate some clarification on this too. I started looking at the spam module for the first time today because my guestbook is getting spammed daily despite having captcha in place.

Although there is some code in guestbook_form_entry_form_submit() of guestbook.module which calls spam_content_filter() I strongly suspect it will not work as it passes a content type of '1' which fails the spam_filter_content_type() check.

I am looking at what I believe to be the current D6 dev versions of both modules.

It is within my capability to code a sub-module of spam to support guestbook via the API but I don't want to put the time in if I've missed something obvious and there is an easier / existing way.

Anonymous’s picture

hi

i had the same problems. for me the guestbook / spam-module integration didn't work.
that's why I replaced the spam module with the antispam module and integrated it into my guestbook.

if you are interested you can find my changes here: http://code.flurischt.ch/dev/patches/drupal_guestbook/

  1. install and configure antispam module
  2. download my patched guestbook.module and overwrite the existing file
  3. IMPORTANT: open the new guestbook.module and search for FIXTHIS. on this line, you can redirect the user to an error page, if his post was marked as spam. (comment out the line, if you dont wish to redirect)

(instead of point 2 you can also patch the existing file. on linux: patch -p0 guestbook.module guestbook.module.patch)

IMPORTANT: I use Akismet and therefore only tested this service...

Anonymous’s picture

Project: Spam » Guestbook

shouldn't this issue belong to the Guestbook project?

sun’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #702808: Integrate Spam with Guestbook. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.

If you are new to drupal.org, it would help us if you would search for existing issues before submitting a new one. We strongly advise you search using the drupal.org search facility, because it really is very good. NOT a third party search engine (e.g. Google) as you may well not find what you are looking for.