The Spam Filter module checkes the text content of nodes and comments for existence of any spam-text as a substring.
If any spam-text is found the corresponding node or comment is set as unpublished.
The spam-text are stored on database and new text can be added/deleted/edited using the UI provided by the module.
There is a Validate Content section using which a text-paragraph can be tested against the current list of spam text.

We are using this module on our production site Debt Consolidation Care with drupal 7

Project's Page: http://drupal.org/sandbox/DebtConsolidationCare/1971432

Repository: git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/DebtConsolidationCare/1971432.git spam_filter

Reviews of other projects:-

  1. http://drupal.org/node/1927760#comment-7120612
  2. http://drupal.org/node/1927760#comment-7123658
  3. http://drupal.org/node/1905876#comment-7124308
  4. http://drupal.org/node/1743162#comment-7127936
CommentFileSizeAuthor
#4 Spam Filter_settings_page.png14.46 KBDalay

Comments

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

dustin bons’s picture

Status: Needs review » Needs work

1) Coding standard
Line 237: The $string argument to t() should not begin or end with a space. (Drupal Docs) [i18n_11]
drupal_set_message(t("Duplicate entry: unable to insert '@spam_text' ", array('@spam_text' => $spam_text)), 'error');

2) Line 103: Whats the reason for getting arguments trough $form_state['build_info']['args'], use this instead
function spam_filter_update_form($form, &$form_state, $spam_text_id) {

3) Not quite sure why you would use the object check in spam_filter_update_form that way and not just return nothing when there is no object.

driki_’s picture

there is some problem with ventral.org : http://ventral.org/pareview/httpgitdrupalorgsandboxdebtconsolidationcare...

I checked inside the module and I think they are true, the permission should be changed

37 | WARNING | The administration menu callback should probably use
| | "administer site configuration" - which implies the user can
| | change something - rather than "access administration pages"
| | which is about viewing but not changing configurations.
44 | WARNING | The administration menu callback should probably use
| | "administer site configuration" - which implies the user can
| | change something - rather than "access administration pages"
| | which is about viewing but not changing configurations.
53 | WARNING | The administration menu callback should probably use
| | "administer site configuration" - which implies the user can
| | change something - rather than "access administration pages"
| | which is about viewing but not changing configurations.
62 | WARNING | The administration menu callback should probably use
| | "administer site configuration" - which implies the user can
| | change something - rather than "access administration pages"
| | which is about viewing but not changing configurations.

Dalay’s picture

StatusFileSize
new14.46 KB
  1. The module duplicates the functionality that is already present in core (Trigger/Actions).
  2. On the settings page, there is no cleaning after floating buttons (see attached screenshot).
PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

I'm a robot and this is an automated message from Project Applications Scraper.