From ddd50c82c17d1d326fcdbb37ac4fd3a32c7292e0 Mon Sep 17 00:00:00 2001 From: Torsten Landsiedel Date: Wed, 15 Dec 2021 23:31:27 +0100 Subject: [PATCH] Add FAQ entry about AJAX comment plugins --- readme.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index d4a0e424..8f4fcba9 100755 --- a/readme.txt +++ b/readme.txt @@ -62,9 +62,13 @@ After you have activated *Antispam Bee* the plugin will block spam comments out ### Does Antispam Bee prevents spam registrations or protects form plugins? ### Antispam Bee works best with default WordPress comments. It does not help to protect form plugins and does not prevent spam registrations. Hopefully we can provide better hooks for third party plugins to use Antispam Bee to fill this gap in the forthcoming new major version. -### Does Antispam Bee work with Jetpack, Disqus Comments and other comment plugins? ### -Antispam Bee works best with default WordPress comments. It is not compatible with Jetpack or Disqus Comments as those plugins load the comment form within an iframe. Thus Antispam Bee can not access the comment form directly. -It also won’t work with any AJAX-powered comment forms. +### Does Antispam Bee work with Jetpack, wpDiscuz, Disqus Comments and similar comment plugins? +Antispam Bee works best with default WordPress comments. It is not compatible with Jetpack, wpDiscuz or Disqus Comments as those plugins load a new comment form within an iframe. Thus Antispam Bee can not access the comment form directly. + +### Does Antispam Bee work with AJAX comment plugins or similar theme features? +Whether Antispam Bee works with a comment form submitted via AJAX depends on how the AJAX request is made. If the request goes to the file that usually also receives the comments, Antispam Bee could work with it out of the box (the [WP Ajaxify Comments](https://wordpress.org/plugins/wp-ajaxify-comments/) plugin does this, for example). + +If the comments are sent to the `admin-ajax.php`, the `antispam_bee_disallow_ajax_calls` filter must be used to run ASB for requests to that file as well. If the script does not send all form data to the file, but only some selected ones, further customization is probably necessary, as [exemplified in this post by Torsten Landsiedel](https://torstenlandsiedel.de/2020/10/04/ajaxifizierte-kommentare-und-antispam-bee/) (in German). ### Does Antispam Bee store any private user data, and is it compliant with GDPR? ### Antispam Bee is developed in Europe. You might have heard we can be a bit nitpicky over here when it comes to privacy. The plugin does not save private user data and is 100% compliant with GDPR.