Watchlist module doesn't check CCK fields for bad words

Roland Tanglao@... - April 15, 2008 - 19:43
Project:abuse
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:BTMash
Status:postponed (maintainer needs more info)
Description

Please enhance the watchlist module to check all CCK fields for bad words, not just the title and body fields.

#1

BTMash - April 15, 2008 - 20:10
Assigned to:Anonymous» BTMash

This has been something I've been wanting to tackle across even for non CCK fields (other people's own modules).

For the 6.x branch, I implemented a hook that will allow extra text to be added to sift through by the watchlist module (that way, someone's custom module to could take a stab at using it). However, I also don't expect for CCK to add my hook ;) For CCK, what do you need to implement to check through its set of fields?

#2

BTMash - April 30, 2008 - 01:52
Status:active» postponed (maintainer needs more info)

I should have asked for more info...

#3

BTMash - May 15, 2008 - 01:39

Since no one has been able to offer how to check through CCK fields, I see few possible solutions in this scenario. If my hook is implemented by some modules, it checks that content. Otherwise, it runs a node_view (or comment view?) and checks that content. Let me know how that sounds.

 
 

Drupal is a registered trademark of Dries Buytaert.