WU Block Comments

Auf meinem Blogs haben sich in der Weihnachtszeit die Spammer mit bestimmten Produktnamen (gewisse Stiefel, der derzeit in Mode sind) und den üblichen blauen Pillen festgesetzt und mir teilweise über 1500 Kommentare pro Tag in die Datenbank geladen. Natürlich sind die meisten von Akismet als Spam erkannt worden, ein kleiner Teil ging aber in die Moderationsqueue oder sogar direkt aufs Blog. Ich habe mich dann ein wenig mit den Wordpress-Funktionen auseinander gesetzt, fand jedoch nur die Möglichkeit, Kommentare in die Moderations- oder in die Spamqueue zu senden, wenn diese bestimmte Worte enthalten. Es gibt wohl derzeit (Wordpress Version 3.3.1) keine Funktion um Kommentare mit bestimmten Wörtern direkt zu blocken und gar nicht erst auf die Datenbank durch zu lassen.

Also habe ich mich mit den Wordpress-Hooks und Filtern auseinander gesetzt und das Plugin WU - Block Comments geschrieben. Dieses bindet sich nahtlos in das Menü “Diskussion” ein und bietet dem Nutzer die Möglichkeit, eigene Wörter für die Blockierung von Kommentaren festzulegen:

WU - Block Comments - Einstellungen

Schreibt ein Nutzer einen Kommentare mit einem dieser Wörter, so wird der Kommentar mit “Your comment contains spam-words :(” blockiert.

Ich habe mich soeben für eine Veröffentlichung auf der Wordpress-Plugin-Seite  beworben und werde es die kommenden Tage darüber dann veröffentlichen. Das Plugin ist hier verfügbar 


During Christmas my blog was flooded with comments regarding certaint boots of a special brand. Unfortunately some of these posts were not catched by Akismet and went to the moderation-queue or directly to the blog. As this was not acceptable to me, i’ve decided to investigate the capabilities of wordpress. Unfortunately it is only possible to send comments to the moderation- or the spam-queue when certain words are found. I wanted to really block them. So i wrote a plugin which provides a possibility to block comments based on words of a predefined list. This list is edited through the “Discussion”-Settings in the Admin-Section of the Blog (see Screenshot above). Blocked comments get a reply: “Your comment contains spam-words :(” and nothing will be logged in the database.

I have requested to publish the plugin on the Wordpress Plugin Page  and will distribute the plugin from there in the next few days. The plugin is available here