{"id":1008,"date":"2015-06-17T13:14:36","date_gmt":"2015-06-17T11:14:36","guid":{"rendered":"http:\/\/www.h-hennes.fr\/blog\/?p=1008"},"modified":"2021-11-02T15:12:38","modified_gmt":"2021-11-02T13:12:38","slug":"prestashop-captcha-commentaires-produit","status":"publish","type":"post","link":"https:\/\/www.h-hennes.fr\/blog\/2015\/06\/17\/prestashop-captcha-commentaires-produit\/","title":{"rendered":"Prestashop : Mettre en place un captcha sur les commentaires produits"},"content":{"rendered":"<p>La nouvelle version de mon module de captcha eicaptcha ( version 0.4.3 ) apporte une nouvelle possibilit\u00e9.<\/p>\n<p>Vous pouvez d\u00e9sormais utiliser un captcha sur le formulaire de soumission des commentaires produits.<\/p>\n<p>Voici comment activer cette fonctionnalit\u00e9, si vous utilisez le th\u00e8me par d\u00e9faut.<\/p>\n<p>T\u00e9l\u00e9charger la derni\u00e8re version du module <a href=\"https:\/\/github.com\/nenes25\/eicaptcha\/archive\/master.zip\">eicaptcha<\/a><br \/>\n( Installer le module sur prestashop si ce n\u2019est pas encore le cas :\u00a0 <a href=\"https:\/\/www.h-hennes.fr\/blog\/module-recaptcha-pour-le-formulaire-de-contact-prestashop\/\">module captcha Prestashop<\/a> )<br \/>\nExtraire l\u2019archive sur votre poste<br \/>\nEnvoyer le fichier js\/modules\/productcomments\/productcomments.js sur votre site via ftp<br \/>\ndans le dossier themes\/default-bootstrap\/js\/modules\/productcomments\/ ( remplacer le fichier existant )<br \/>\nEnvoyer le fichier views\/templates\/modules\/productcomments\/productcomments.tpl sur votre site via ftp<br \/>\ndans le dossier themes\/default-bootstrap\/modules\/productcomments\/ ( remplacer le fichier existant )<\/p>\n<p>Une fois ces changements en place, le captcha sera disponible sur le formulaire de soumission des commentaires produits<\/p>\n<p><a href=\"https:\/\/www.h-hennes.fr\/blog\/wp-content\/uploads\/2015\/06\/eicaptcha-v2-productcomment-form.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1007\" src=\"https:\/\/www.h-hennes.fr\/blog\/wp-content\/uploads\/2015\/06\/eicaptcha-v2-productcomment-form.jpg\" alt=\"Eicaptcha commentaire produit\" width=\"700\" height=\"548\" srcset=\"https:\/\/www.h-hennes.fr\/blog\/wp-content\/uploads\/2015\/06\/eicaptcha-v2-productcomment-form.jpg 700w, https:\/\/www.h-hennes.fr\/blog\/wp-content\/uploads\/2015\/06\/eicaptcha-v2-productcomment-form-300x235.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>Si vous utilisez un th\u00e8me personnalis\u00e9, voici comment proc\u00e9der.<\/p>\n<p>Envoyer le fichier js\/modules\/productcomments\/productcomments.js sur votre site via ftp<br \/>\ndans le dossier themes\/default-bootstrap\/js\/modules\/productcomments et adaptez le en fonction de votre design<\/p>\n<p>Dans le fichier themes\/default-bootstrap\/modules\/productcommentsproductcomments.tpl<br \/>\nAjoutez le code suivant \u00e0 l\u2019endroit ou vous souhaitez que le captcha apparaisse :<\/p>\n<pre lang=\"hlml\" escaped=\"true\">&lt;!-- Div d'affichage du captcha( Module EiCaptcha ) --&gt;\r\n&lt;div id=\"recaptchaProductComments\"&gt; &lt;\/div&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>La nouvelle version de mon module de captcha eicaptcha ( version 0.4.3 ) apporte une nouvelle possibilit\u00e9. Vous pouvez d\u00e9sormais utiliser un captcha sur le formulaire de soumission des commentaires produits. Voici comment activer cette fonctionnalit\u00e9, si vous utilisez le th\u00e8me par d\u00e9faut. T\u00e9l\u00e9charger la derni\u00e8re version du module eicaptcha ( Installer le module sur [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[245],"tags":[260,359,104],"class_list":["post-1008","post","type-post","status-publish","format-standard","hentry","category-prestashop-2","tag-captcha","tag-commentaires-produits","tag-prestashop","prestashop-1-5","prestashop-1-6","prestashop-1-7"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/comments?post=1008"}],"version-history":[{"count":2,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1008\/revisions"}],"predecessor-version":[{"id":1010,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1008\/revisions\/1010"}],"wp:attachment":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/media?parent=1008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/categories?post=1008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/tags?post=1008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}