Comment Blacklist Updater

Beschrijving

Updates the “Comment Blacklist” in Settings / Discussion with a list terms from a remote or local source. By default it get’s the data from Github (“wordpress-comment-blacklist“) by Grant Hutchinson) but you can also get them from any URL or from a local blacklist.txt file.

This plugin is an enhanced version of the plugin Comment Blacklist Manager. We decided to create this enhanced version of the plugin, because we wanted to be able to add blacklists without using filters and directly from the WordPress administration. You can still use a filter to modify the blacklist sources if that is more convienient for you. And we also wanted to have more information about the plugin in SETTINGS / DISCUSSION; for example when the blacklist was updated and when it will be updated next time, when the blacklist sources were updated, etc.

Je kan drie bronnen voor je blokkeer lijsten configureren:

  1. Standaard blokkeer lijst (die kan worden uitgeschakeld): wordpress-comment-blacklist door Grant Hutchinson). Houd er rekening mee dat als er geen andere blokkeer lijst is gedefinieerd, deze als standaard wordt gebruikt, zelfs als deze niet is geselecteerd.
  2. Blokkeer lijst van externe URL: je plakt de URL in de blokkeer lijst en als het bestand bestaat en toegankelijk is (moet code 200 retourneren), wordt het gebruikt als bron voor de blokkeer lijst.
  3. Als je een lokale blokkeer lijst voor de site wilt opnemen, kan je een blacklist.txt bestand uploaden naar de map UPLOADS. Hiermee wordt ook rekening gehouden. Het blacklist.txt bestand moet zich in de hoofdmap van de UPLOADS map bevinden; het wordt niet herkend als het bijvoorbeeld in /uploads/2025/12/ staat en het bestand toegankelijk moet zijn via http/https (als de toegang tot het bestand beveiligd is, kan het niet worden gebruikt).

En je kunt het filter cblm_sources gebruiken om alle zwarte lijsten te vervangen of om er meer toe te voegen. Als je alle zwarte lijsten vervangt door het filter, worden de instellingen die in de WordPress beheer zijn gedaan, genegeerd. We hebben besloten hetzelfde filter te behouden als gebruikt door “Comment Blacklist Manager” om het gemakkelijk te maken om tussen beide plugins te schakelen.

Please note: After the September 2023 update only users with administrator privileges can use this plugin. If you’re not an admin you will get following error: “You do not have sufficient permissions to access this page”.

Wat kan ik doen met deze plugin?

The plugin updates the “Comment Blacklist” in Settings / Discussion with a list terms from a remote or local source. By default it get’s the data from Github (“wordpress-comment-blacklist by Grant Hutchinson) but you can also get them from any URL or from a local blacklist.txt file.

Waarom wil ik de “Reactie blokkeer lijst” in Instellingen/discussie updaten?

Als je minder spam wil ontvangen in je reactieformulieren, maar ook in je contactformulieren (bijvoorbeeld als je Contact Form 7 gebruikt), kan het gebruik van termen op de blokkeer lijst helpen.

Contact Form 7 moedigt het gebruik van Akismet, reCaptcha en de blokkeer lijst voor reacties aan om spam op contactformulieren te verminderen.

Contact Form 7 ondersteunt spamfiltering met Akismet. Intelligente reCAPTCHA blokkeert vervelende spambots. Bovendien kan je met behulp van de blokkeer lijst voor reacties berichten blokkeren die specifieke trefwoorden bevatten of berichten die vanaf specifieke IP-adressen zijn verzonden.

De beste manier om spam via Contact Form 7 te verminderen, is door gebruik te maken van een zeer uitgebreide termen database die regelmatig wordt geüpdatet met nieuwe spam termen. En deze plugin doet precies dit: de blokkeer lijst regelmatig updaten.

Waarom gebruik je de “Comment Blacklist for WordPress” van Grant Hutchinson als standaardbron voor de blokkeer lijst?

Since 2011 Grant Hutchinson has been identifying and compiling over 34,000 phrases, patterns, and keywords commonly used by spammers and comment bots in usernames, email addresses, link text, and URIs.

Zijn blokkeer lijst is zeer uitgebreid en daarom zijn we er dol op.

Zoals bij alle compilaties is deze blokkeer lijst nog werk in uitvoering en wordt hij min of meer elke maand bijgewerkt. En elk van deze updates wordt automatisch opgenomen in het update proces dat elke 24 uur wordt uitgevoerd.

Soms is simpel beter.

Als je een andere bron kent die zo uitgebreid is als deze, stuur ons dan een bericht, dan kijken we of het interessant is om deze ook als standaard toe te voegen.

Systeem vereisten

PHP versie 5.6 of hoger.

Comment Blacklist Updater plugin in je taal!

This first release is avaliable in English and Spanish. In the “languages” folder we have included the necessary files to translate this plugin.

If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.

Verder lezen

You can access the description of the plugin in Spanish at: Actualizador lista negra de comentarios | WordPress Plugin.

Contact

Stuur ons voor meer informatie een e-mail.

Schermafdrukken

  • Settings of the plugin in "Settings" / "Discussion".
  • Detail van de instellingen.

Installatie

  1. First you will have to upload the plugin to the /wp-content/plugins/ folder.
  2. Then activate the plugin in the plugin panel.
  3. Go to “Settings” / “Discussion” / “Blacklist source” to configure the plugin.

FAQ

Who can use this plugin?

After the September 2023 update only users with administrator privileges can use this plugin. If you’re not an admin you will get following error: “You do not have sufficient permissions to access this page”.

Waarom heb je deze plugin gemaakt?

This plugin is an enhanced version of the plugin Comment Blacklist Manager. We decided to create this enhanced version of the plugin, because we wanted to be able to add blacklists without using filters and directly from the WordPress administration. You can still use a filter to modify the blacklist sources if that is more convienient for you. And we also wanted to have more information about the plugin in SETTINGS / DISCUSSION; for example when the blacklist was updated and when it will be updated next time, when the blacklist sources were updated, etc.

Op welke ideeën is deze plugin gebaseerd?

This plugin is based on the idea of the Comment Blacklist Manager plugin.

Wat is de standaardbron van de blokkeer lijst?

De standaardbron voor de blokkeer lijst is “wordpress-comment-blacklist” (een eenvoudige oplossing voor WordPress reactie spam) van Grant Hutchinson.

Als je geen configuratie invoert, wordt deze bron gebruikt.

Kan ik mijn eigen bronnen op de blokkeer lijst gebruiken?

Natuurlijk kan je dat. Je kunt ze configureren in INSTELLINGEN / DISCUSSIE of het filter cblm_sources gebruiken. Het is gemakkelijker om ze te configureren met de WordPress beheerinterface, maar als je meer flexibiliteit wilt, kun je het filter gebruiken.

Kan ik een filter gebruiken om mijn eigen bronnen voor de blokkeer lijst toe te voegen?

You can use the filter cblm_sources to add different source URLs. We decided to keep the same filter as used by “Comment Blacklist Manager” to make it easy to switch between both plugins.

Bronnen volledig vervangen (instelling van de bronnen in het beheer wordt overschreven)

add_filter( 'cblm_sources', 'rkv_cblm_replace_blacklist_sources' );
function rkv_cblm_replace_blacklist_sources( $list ) {
    return array(
        'https://example.com/blacklist.txt',
        'https://example.com/blacklist2.txt'
    );
}

Voeg nog een bron toe aan de bronnen die zijn geconfigureerd in het beheer

add_filter( 'cblm_sources', 'rkv_cblm_add_blacklist_source' );
function rkv_cblm_add_blacklist_source( $list ) {
    $list[] = 'https://example.com/blacklist3.txt';
    return $list;
}

De blokkeer lijst verwacht hetzelfde format als de “Reactie blokkeer lijst” in “Instellingen” / “Discussie”: één woord of IP-adres per regel.

Kan ik het updateschema wijzigen?

Yes you can change it using the ‘cblm_update_schedule’ filter. We decided to keep the same filter as used by “Comment Blacklist Manager” to make it easy to switch between both plugins.

Het standaard updateschema is zo ingesteld dat er elke 24 uur een update plaatsvindt.

add_filter( 'cblm_update_schedule', 'rkv_cblm_custom_schedule' );
function rkv_cblm_custom_schedule( $time ) {
    return DAY_IN_SECONDS;
}

De tijd kan in seconden worden opgegeven of met behulp van de WordPress tijdconstanten in transiënten:
1. MINUTE_IN_SECONDS = 60 (seconds)
2. HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS
3. DAY_IN_SECONDS = 24 * HOUR_IN_SECONDS
4. WEEK_IN_SECONDS = 7 * DAY_IN_SECONDS
5. MONTH_IN_SECONDS = 30 * DAY_IN_SECONDS
6. YEAR_IN_SECONDS = 365 * DAY_IN_SECONDS

Brengt Comment Blacklist Updater wijzigingen aan in de database?

Yes. The plugin adds information to the database. When the plugin is uninstalled via the WordPress administration, these settings (options and transients) are deleted.

Settings that the plugin adds:
1. Option: blacklist_exclude
2. Option: blacklist_last_update
3. Option: blacklist_github_source_updated
4. Option: use_wordpress_comment_blacklist_splorp
5. Option: apa_another_blacklist_url

Transientes used by the plugin:
1. Transient: blacklist_update_process
2. Transient: blacklist_github_update_check

Hoe kan ik Comment Blacklist Updater verwijderen?

You can simply activate, deactivate or delete it in your plugin management section. The options and transients of the plugin are deleted when you delete it through the WordPress administation. If you want to keep the options delte the plugin folder (‘comment-blacklist-updater’) via FTP.

Hoe kan ik controleren of de plugin voor mij werkt?

Installeren en activeren. Navigeer naar “Reactie blokkeer lijst” in “Instellingen” / “discussie” en kijk of de blokkeer lijst is bijgewerkt. En ga dan naar “Blokkeer lijst bron” om het te configureren.
En vanaf dit moment moet de hoeveelheid spam in het reactieformulier en contactformulieren worden verminderd.

Na het installeren van de plugin laadt de pagina “Instellingen” / “Discussie” erg langzaam.

Na het updaten van de “Reactie blokkeer lijst” met de blokkeer lijst, kan het laden van de pagina vertragen vanwege de grote hoeveelheid gegevens die op de pagina in “Reactie blokkeer lijst” moet worden weergegeven. De standaard blokkeer lijst van Grant Hutchinson bevat ruim 34.000 regels die op de instellingenpagina moeten worden weergegeven.
Helaas is er niets dat eraan gedaan kan worden.

Ik heb enkele configuratiewijzigingen aangebracht en een handmatige update uitgevoerd, maar de nieuwe instellingen zijn verloren gegaan

Please remember to SAVE the configuration changes before running a manual update. The manual update does not save changes.
If you make configuration changes, SAVE and after saving run the manual update.

Waarom is de achtergrondkleur van je instellingen niet de standaard van WordPress?

As we add setting to the standard DISCUSSION page of WordPress we wanted to make clear which settings have been added by another plugin and also make reference to which plugin has added these settings.
For us it’s important that everyone that installs the plugin can find easily the plugin that added these settings, even months after having installed it.

Zijn er incomptabiliteiten bekend?

Please don’t use it with WordPress MultiSite, as it has not been tested.
Please don’t use it with the Comment Blacklist Manager plugin.

Welke PHP versie heb ik nodig?

This plugin has been tested and works with PHP versions 5.6 and greater and we recommend using PHP version 7.1 or higher. The plugin has been tested with PHP up to 7.3. WordPress recommends using PHP 7.3. If you’re using a PHP version lower than 5.6 please upgrade your PHP version or contact your Server administrator.

Zijn er server vereisten?

Yes. The plugin requires a PHP version 5.6 or higher and we recommend using PHP version 7.1 or higher. The plugin has been tested with PHP up to 7.3. WordPress recommends using PHP 7.3.

Maak je zelf gebruik van Comment Blacklist Updater?

Natuurlijk doen we dat. Daarom hebben we het gemaakt. 😉

Beoordelingen

11 maart 2023
This plugin needs loads of love. It makes keeping my sites up-to-date with splorp's blacklist completely hassle-free, and also allows adding custom blacklist phrases. Easily catches 99.9% spam in comments and CF7 when combined with Cloudflare bot detection and simple honeypot fields. I don't miss Akismet!
22 juli 2021
Using this plugin to manage Grant Hutchinson's Comment Blacklist for WordPress and in conjunction with the Gravity Forms and Gravity Wiz GP Blocklist, spam that was inundating my contact forms is virtually gone.
Lees alle 2 beoordelingen

Bijdragers & ontwikkelaars

“Comment Blacklist Updater” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Comment Blacklist Updater” is vertaald in 2 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Comment Blacklist Updater” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.2.1 & 1.2.2 (25/sep/2023)

  • Fout “Je hebt niet voldoende rechten om toegang te krijgen tot deze pagina” op de front-end is gerepareerd.

1.2.0 (23/sep/2023)

  • Security update. Cross Site Request Forgery (CSRF) Vulnerability discovered by Nguyen Xuan Chien and notified by patchstack.com. Please note that this update limits the usage of the plugin to WordPress users with an administrator role.

1.1.0 (20/dec/2022)

  • Een fatale PHP fout bij een paar installaties opgelost: “Ongedefinieerde constante _transient_timeout_blacklist_github_update_check”

1.0.5 (21/feb/2019)

  • Solved a problem with plugins that redirect 404 pages to the home (in this case with “404 to Start”) and the local blacklist.txt file. Now the local blacklist.txt file in the uploads folder will only be detected if the file is really in the uploads folder.

1.0.4 (19/feb/2019)

  • De tijdstempel van de laatste update van het blacklist.txt bestand van Grant Hutchinson, gehost op Github, is terug toegevoegd.

1.0.3 (19/feb/2019)

  • Curl aanroepen gewijzigd om de WordPress HTTP API te gebruiken (https://developer.wordpress.org/plugins/http-api/).
  • Tijdelijk verwijderde tijdstempel van de laatste update van het blacklist.txt bestand van Grant Hutchinson, gehost op Github.

1.0.2 (18/feb/2019)

  • Verbeterde controle van de tijd tot de volgende update.

1.0.1 (17/feb/2019)

  • Eerste officiële uitgave.