This is a Taxonomy Blacklist port to D6.x. After testing on two dev sites, I'm deploying this on a production box. Additional testing would be appreciated.
I've attached a tarball and a patch against Drupal 5.x
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | taxonomy_blacklist.zip | 9.16 KB | cj-a-min |
| taxonomy_blacklist-6x.tar_.gz | 8.1 KB | bobthecow | |
| taxonomy_blacklist-6x.patch | 5.33 KB | bobthecow |
Comments
Comment #1
olivo.marco commentedComment #2
askibinski commentedWorks fine so far for me. I especially like the metaphone() check.
There is a small typo in the .info file (drupal 5.x should be 6.x).
Also the menu item appears under 'content' in the admin, I think it should appear under settings.
Some thoughts on how to improve this module:
* blacklisted terms which are used are loggen in watchdog
* ability to send an email to an email-adres or role with notification of used words in context
* (and/or hook into the rules module for this)
Comment #3
cj-a-min commentedWorks great bobthecow.
I agree the with askibinski, the menu should appear somewhere else.
An addition to the above improvements:
Having the .install script create it's own db table (i.e.blacklist_terms) , rather than using drupal core variable table, would be the next step to a version = "6.x-2.0".
So it would be something like this:
The above code just needs to be modified to fit into Drupal schema method, so it can be installed with Drupal admin, otherwise you can simply import it via mysql.
The next step is to modify the .module to query the new table, instead of the variable table.
Anyways this is isn't by any means the solution; just a quick sketch.
GL
Comment #4
cj-a-min commentedOk, I fixed the following - Super fast fixes:
* Info says version = "6.x-1.0".
* The menu now appears in admin/settings
I didn't make a patch, because the fixings are minor and non-life changing.
Comment #5
kenorb commentedComment #6
kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.