Description
Add a checkbox to the comment forms so that the user can give consent to the web’s privacy policy. And save this consent in the database.
Features
- Add a required privacy policy checkbox to the default WordPress comment forms, with a link to you privacy policy page.
- Allow display a customized text before the checkbox.
- Allow an external link as a page of the privacy policy.
- Allow open privacy policy link in the same tab or in a new one.
- Allow HTML link types attribute in the policy page link, for SEO reasons (nofollow, external…).
- The consent is stored in the database, in
wp_commentmeta
table with the metakeywpcpc_private_policy_accepted
, and the commentator’s email as value. - The consent is exported by WordPress’s Export Personal Data function.
- The consent is erased by WordPress’s Erase Personal Data function.
- Compatible with UnderStrap and themes that set is own fields on comment form.
- Compatible with Webmention (thank to @danielp6).
Use
You can configure the plugin in the Discussion Settings on your WordPress administration.
Compatibilité avec les thèmes
The plugin only works if the theme uses the native WordPress function for comment forms.
Also, the plugin creates a concrete HTML structure to print the checkbox. Not in all theme will be displayed correctly. In that case, you could use the ‘Additional CSS’ box in the Customize of your theme.
Contribuer
- Active development of this plugin is handled on GitLab
- Translation of the plugin into different languages is on the translation page.
Donation
If you enjoy using this plugin and find it useful, please consider making a donation in PayPal.
Thank you!
Captures d’écran
Installation
Use the installer via back-end of your install or:
1. Unpack the download-package.
2. Upload the files to the /wp-content/plugins/ directory.
3. Activate the plugin through the Plugins menu in WordPress.
FAQ
-
I installed the plugin correctly, put in the text & set the privacy policy page, but the checkbox & text does not appear below the comment box
-
The plugin only works if the theme uses the native WordPress function for comment forms. Your theme is probably not compatible with this plugin.
Avis
Contributeurs/contributrices & développeurs/développeuses
« WP Comment Policy Checkbox » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“WP Comment Policy Checkbox” a été traduit dans 12 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « WP Comment Policy Checkbox » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
0.4.1
- Fix error when a logged in user try to create a comment. Issue #44
0.4.0
- [New Feature] Allow open privacy policy link in the same tab.
- Added compatibility with UnderStrap and themes that set is own fields on comment form.
- Added support for Webmention comments (thank to @danielp6).
- Added settings link in the Plugins list table.
0.3.2
- [New Feature] Link types attribute for policy page link.
- Fix ‘warning’ literal namespace
0.3.1
- [New Feature] Allowed an external link as a page of the privacy policy.
- Improved the translatability of the text string of the privacy policy notice.
- Fixed HTML markup error.
- Changed ‘error’ to ‘warning’ in the unchecked checkbox warning message.
0.3.0
- [New Feature] Store, export and erase the commentator’s consent.
0.2.5
- Correction d’une erreur de grammaire
- Marge droite sur l’entrée
- Correctif de l’erreur sur l’attribut _blank
0.2.4
- Correction de la traduction du texte
0.2.3
- Mise à jour du fichier .pot de traduction
0.2.2
- Improve gettext strings
0.2.1
- Improve gettext strings
- Small font for policy basic info
0.2.0
- Amélioration du code
- Ajout d’un ID pour cibler l’entrée de case à cocher
- Forcer l’apparence de la case à cocher
- Nouveau ! Optionnellement, vous pouvez afficher un texte personnalisé avant la case à cocher.
0.1.7
- Ajout de l’étiquette « GDPR » à l’extension.
- Correction des erreurs du readme.
0.1.6
- Correction d’une erreur qui survenait lorsqu’un utilisateur était connecté.
0.1.5
- Modification des noms des fichiers de langues.
0.1.4
- Correction des noms de fichiers.
0.1.3
- Correction de l’internationalisation.
0.1.2
- Fix generic define names.
0.1.1
- Modification du commentaire de description en entête du fichier principal.
0.1
- Première version, toujours en bêta.