MishoO Posted April 22, 2014 Share Posted April 22, 2014 Bonjour, Installation réussie, utilisation OK, par contre, les spams passent quand même au travers... bizarre Link to comment Share on other sites More sharing options...
askinjew Posted April 23, 2014 Share Posted April 23, 2014 thaks alot nice modül Link to comment Share on other sites More sharing options...
shacker Posted April 23, 2014 Author Share Posted April 23, 2014 Bonjour, avant tout merci pour le module. j'ai installé le module il fonctionne mais en en plein milieu j'ai ces erreurs. D'où ca vient ? Pouvez-vous m'aider. ! ) Notice: Undefined index: captcha in C:\wamp\www\trunk\xxxx\cache\smarty\compile\3e\74\9e\3e749e0312df807a86d05732e05541e404e43ba3.file.contact-form.tpl.php on line 230 Call Stack # Time Memory Function Location 1 0.0014 255528 {main}( ) ..\index.php:0 2 0.9560 7574512 DispatcherCore->dispatch( ) ..\index.php:28 3 0.9723 8303808 ControllerCore->run( ) ..\Dispatcher.php:348 4 18.0663 30362520 FrontControllerCore->display( ) ..\Controller.php:185 5 18.0673 30367072 Smarty_Internal_TemplateBase->fetch( ) ..\FrontController.php:541 6 18.3872 30592040 content_533c8cdabe0ee8_21512417( ) ..\smarty_internal_templatebase.php:180( ! ) Notice: Trying to get property of non-object in C:\wamp\www\trunk\xxx\cache\smarty\compile\3e\74\9e\3e749e0312df807a86d05732e05541e404e43ba3.file.contact-form.tpl.php on line 230 Call Stack # Time Memory Function Location 1 0.0014 255528 {main}( ) ..\index.php:0 2 0.9560 7574512 DispatcherCore->dispatch( ) ..\index.php:28 3 0.9723 8303808 ControllerCore->run( ) ..\Dispatcher.php:348 4 18.0663 30362520 FrontControllerCore->display( ) ..\Controller.php:185 5 18.0673 30367072 Smarty_Internal_TemplateBase->fetch( ) ..\FrontController.php:541 6 18.3872 30592040 content_533c8cdabe0ee8_21512417( ) ..\smarty_internal_templatebase.php:180 je le télécharger à partir de notre site? = Bonjour, Installation réussie, utilisation OK, par contre, les spams passent quand même au travers... bizarre le robot peut soit avoir son e-mail de spam, cela n'a pas de méthode fonctionne Link to comment Share on other sites More sharing options...
endriu107 Posted May 12, 2014 Share Posted May 12, 2014 (edited) Hi, prestashop 1.6.0.6 module version 2.2 I add it on authentication.tpl (create account button), and its work on localhost, and on one of my serwer, but on another serwer slider doesn't appear. Firebug show only: <div> <div class="QapTcha"></div> </div> Any ideas why? Edited May 12, 2014 by endriu107 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted May 13, 2014 Author Share Posted May 13, 2014 is not updated to ps 1.6 Link to comment Share on other sites More sharing options...
endriu107 Posted May 13, 2014 Share Posted May 13, 2014 Yes, I know it, its works on two installations but on third installation doesn't, its must be a reason? Maybe you could give me some tips how to fix that? Link to comment Share on other sites More sharing options...
loulou66 Posted May 13, 2014 Share Posted May 13, 2014 Hi all I have updated the module for PS1.6 VERSION 2.3 work on PS 1.4/ PS 1.5/ PS 1.6 added icon after slider tested on PS 1.5.6.2 and PS 1.6.0.6 cleaning module folder Added option "valueIdOrClass" for the id or class to disable/enable of submit input or Button per default it's "SubmintMessage" for the contact form if you want add the captcha in other Form look the id or class of submit element and in the footer.tpl modify the value of "valueIdOrClass" option @++ Loulou66 slidecaptcha_2.3.zip 1 Link to comment Share on other sites More sharing options...
Superbegood31 Posted May 13, 2014 Share Posted May 13, 2014 @ loulou66 : FRENCH Bonjour, J'ai téléchargé slidecaptcha_2.3.zip mais il manque slidecpatcha-footer.tpl dans l'archive.J'utilise PS 1.6 et cela m'indique :Aucun gabarit trouvé pour le module slidecaptcha Merci pour votre retour ENGLISH Hi, I download slidecaptcha_2.3.zip but it lacks slidecpatcha-footer.tpl in the archive.I use PS 1.6 and it tells me:No template found for module slidecaptcha Thanks for your feedback Link to comment Share on other sites More sharing options...
endriu107 Posted May 13, 2014 Share Posted May 13, 2014 Hi all I have updated the module for PS1.6 VERSION 2.3 work on PS 1.4/ PS 1.5/ PS 1.6 added icon after slider tested on PS 1.5.6.2 and PS 1.6.0.6 cleaning module folder Added option "valueIdOrClass" for the id or class to disable/enable of submit input or Button per default it's "SubmintMessage" for the contact form if you want add the captcha in other Form look the id or class of submit element and in the footer.tpl modify the value of "valueIdOrClass" option @++ Loulou66 Thanks, but the same situation, on one serwer work on another doesn't. @ loulou66 : FRENCH Bonjour, J'ai téléchargé slidecaptcha_2.3.zip mais il manque slidecpatcha-footer.tpl dans l'archive. J'utilise PS 1.6 et cela m'indique : Aucun gabarit trouvé pour le module slidecaptcha Merci pour votre retour ENGLISH Hi, I download slidecaptcha_2.3.zip but it lacks slidecpatcha-footer.tpl in the archive. I use PS 1.6 and it tells me: No template found for module slidecaptcha Thanks for your feedback You had to copy file from unpacked module zip to modules/slidecaptcha. Link to comment Share on other sites More sharing options...
kamild13 Posted May 20, 2014 Share Posted May 20, 2014 Hello,After installing the module slidecaptcha_2.3 in PrestaShop 1.6, I have the same problem as Switchboard. Unfortunately, the solution given by endriu107 does not work because the zip file is missing 'slidecpatcha-footer.tpl'. Any other ideas? Or maybe someone has already solved this problem? Please help! Link to comment Share on other sites More sharing options...
mondogiga Posted May 21, 2014 Share Posted May 21, 2014 Hello, After installing the module slidecaptcha_2.3 in PrestaShop 1.6, I have the same problem as Switchboard. Unfortunately, the solution given by endriu107 does not work because the zip file is missing 'slidecpatcha-footer.tpl'. Any other ideas? Or maybe someone has already solved this problem? Please help! Idem Link to comment Share on other sites More sharing options...
shacker Posted June 16, 2014 Author Share Posted June 16, 2014 v2.4 - Compatible PS 1.6 Hello,After installing the module slidecaptcha_2.3 in PrestaShop 1.6, I have the same problem as Switchboard. Unfortunately, the solution given by endriu107 does not work because the zip file is missing 'slidecpatcha-footer.tpl'. Any other ideas? Or maybe someone has already solved this problem? Please help! redownload, its updated Thanks, but the same situation, on one serwer work on another doesn't. You had to copy file from unpacked module zip to modules/slidecaptcha. redownload from our site @ loulou66 : FRENCH Bonjour, J'ai téléchargé slidecaptcha_2.3.zip mais il manque slidecpatcha-footer.tpl dans l'archive.J'utilise PS 1.6 et cela m'indique :Aucun gabarit trouvé pour le module slidecaptcha Merci pour votre retour ENGLISH Hi, I download slidecaptcha_2.3.zip but it lacks slidecpatcha-footer.tpl in the archive.I use PS 1.6 and it tells me:No template found for module slidecaptcha Thanks for your feedback Redownload from our site, new version added Link to comment Share on other sites More sharing options...
Superbegood31 Posted June 16, 2014 Share Posted June 16, 2014 Merci pour cette mise à jour Link to comment Share on other sites More sharing options...
shacker Posted June 16, 2014 Author Share Posted June 16, 2014 Link to comment Share on other sites More sharing options...
Denys06 Posted July 17, 2014 Share Posted July 17, 2014 (edited) Bonjour, votre module SlideCaptcha n'est apparemment par compatible avec le Bloc navigation à facettes.En effet quand j'active votre module, la navigation à facette bug : lorsque je sélectionne un filtre, le chargement des produits filtrés met un temps infini et cela n'affiche pas les produits. Quand je désactive SlideCaptcha tout reviens à la normal.Avez-vous eu idée pour cette l'interférence ? Edited July 17, 2014 by Denys06 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted July 20, 2014 Author Share Posted July 20, 2014 cette version de prestashop? Link to comment Share on other sites More sharing options...
Denys06 Posted July 20, 2014 Share Posted July 20, 2014 Ma version de Prestashop est 1.5.6.2 Link to comment Share on other sites More sharing options...
shacker Posted July 28, 2014 Author Share Posted July 28, 2014 ne fonctionne pas ou prendre un certain temps? Link to comment Share on other sites More sharing options...
Denys06 Posted July 28, 2014 Share Posted July 28, 2014 (edited) Bonjour, votre module SlideCaptcha n'est apparemment par compatible avec le Bloc navigation à facettes. En effet quand j'active votre module, la navigation à facette bug : lorsque je sélectionne un filtre, le chargement des produits filtrés met un temps infini et cela n'affiche pas les produits. Quand je désactive SlideCaptcha tout reviens à la normal. Avez-vous eu idée pour cette l'interférence ? Bonjour, tous est indiqué dans mon premier message, comprenez-vous mon problème ? Votre module ne fonctionne pas du tout avec Bloc navigation à facettes. Le chargement est infini. Edited July 28, 2014 by Denys06 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted September 15, 2014 Author Share Posted September 15, 2014 Bonjour, tous est indiqué dans mon premier message, comprenez-vous mon problème ? Votre module ne fonctionne pas du tout avec Bloc navigation à facettes. Le chargement est infini. redownload from our site, its solved v2.5- solved issue with layered navigation Link to comment Share on other sites More sharing options...
shacker Posted June 7, 2015 Author Share Posted June 7, 2015 v3.0-bootstrap+fix ps 1.4+better code Link to comment Share on other sites More sharing options...
africanodama Posted December 1, 2015 Share Posted December 1, 2015 (edited) Hi, Great module I want to put your module to Ask a question module of Postsciptum (http://store.nemops.com/free-modules/32-ask-a-question.html#.Vl3X07_YFv0). I already try but can't work. Form submission is handled through javascript, and therefore need to implement the captcha part within that as well (prestaqna.js) but i don't know how? Edited December 1, 2015 by africanodama (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted December 1, 2015 Author Share Posted December 1, 2015 you can add a <form> at the beggining and </form> at the end of the tpl that must works Link to comment Share on other sites More sharing options...
africanodama Posted December 2, 2015 Share Posted December 2, 2015 Can't I see changes of "ask a question" form but i dont see slidecaptcha. Do i need something change in {include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} When i delete marks {} i see include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl" on right place, before send question, but with marks no captcha. Link to comment Share on other sites More sharing options...
shacker Posted December 5, 2015 Author Share Posted December 5, 2015 how do you put the code in the tpl, in the form ask for a question? Link to comment Share on other sites More sharing options...
africanodama Posted December 5, 2015 Share Posted December 5, 2015 copy and paste from module configuration. {include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} Link to comment Share on other sites More sharing options...
shacker Posted December 6, 2015 Author Share Posted December 6, 2015 but you dont add teh form code. Paste here the content of the ask product tpl module Link to comment Share on other sites More sharing options...
africanodama Posted December 6, 2015 Share Posted December 6, 2015 (edited) Thank you for help There is:prestaqna_tab_content.tpl (/modules/prestaqna/views/templates/hook/prestaqna_tab_content.tpl <section class="page-propduct-box"> <h3 id="#qnaTab" class="idTabHrefShort page-product-heading">{l s='Ask a question' mod='prestaqna'}</h3> <div id="qnaTab"> <p class="centertext"> <span><strong>{l s='NO registration required!' mod='prestaqna'}</strong></span> </p> {if $qnas_nb}<p id="qna_pointer"><strong>{$qnas_nb}</strong> {l s='Question(s) answered' mod='prestaqna'}</p>{/if} <p>{l s='If the question you have has not yet been answered here, use the form below to ask something about this addon.' mod='prestaqna'}</p> <form action="" method="POST" id="qna_ask" class="std box"> <div class="field clearfix form-group"> <label for="qna_q">{l s='I want to know:' mod='prestaqna'} </label> <textarea name="qna_q" id="qna_q" rows="8"/></textarea> </div> <div class="field clearfix form-group"> <label for="qna_name">{l s='Name:' mod='prestaqna'} </label> <input type="text" name="qna_name" value="" id="qna_name" /> <small>{l s='(optional)' mod='prestaqna'}</small> </div> <div class="field clearfix required form-group"> <label for="qna_email">{l s='E-mail:' mod='prestaqna'} </label> <input type="text" name="qna_email" value="" id="qna_email" /> <small><sup>*</sup>{l s='(Required to be notified when an answer is available)' mod='prestaqna'}</small> </div>{include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} <div class="form-group"> <input type="hidden" name="qna_prod" value="{$smarty.get.id_product}"/> <a href="javascript:void(0)" title="{l s='Send question!' mod='prestaqna'}" class="btn btn-default" id="submitQNA">{l s='Send question!' mod='prestaqna'}</a> </div> </form> {if isset($qnas) && $qnas} <div class="qna-answers"> <ul> {foreach from=$qnas item=qna} <li> <span class="name"> {l s='Asked by' mod='prestaqna'} {if empty($qna.name)}{l s='a guest' mod='prestaqna'}{else}{$qna.name|escape:'hmlall'}{/if} <br /> {if $qna.date_added !="0000-00-00"} <em>{l s='on' mod='prestaqna'} {dateFormat date=$qna.date_added}</em> {/if} </span> <span class="question">{$qna.question|escape:'htmlall'}</span> <span class="answer"> <strong>{l s='Answer:' mod='prestaqna'}</strong> <br/> {$qna.answer|escape:'htmlall'} </span> <div style="clear:both"></div> </li> {/foreach} </ul> </div> {/if} </div> <script> var qna_error = "{l s='Whoops! It seems that your request could not be validated, please retry' mod='prestaqna'}", qna_badcontent = "{l s='Bad message content!' mod='prestaqna'}", qna_badname = "{l s='Bad name content!!' mod='prestaqna'}", qna_bademail = "{l s='Bad E-mail address!' mod='prestaqna'}", qna_confirm = "{l s='Thank you. Your question has been registered. You will be notified as soon as an answer is available' mod='prestaqna'}"; </script> </section> There is prestaqna.js (/modules/prestaqna/js/prestaqna.js $(document).ready(function() {$('#qna_ask').validate({submitHandler: function(form) { var $serialized = $(form).serialize(); ajaxCall($('#qna_ask'),$serialized); },errorClass: "invalid", rules: { qna_q: "required", qna_email: { required: true, email: true } }, messages: { qna_q: '', qna_email: { required: '', email: qna_bademail } }}){include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}$('#submitQNA').click(function() { $('#qna_ask').submit();}); /* Ajax add request*/function ajaxCall(caller,data) {$('#submitQNA').fadeOut(); caller.append($('<div class="ajaxloader"><img src="'+baseDir+'modules/prestaqna/ajax-loader.gif"/></div>')); $('.qna_confirm, .qna_error').fadeOut('normal', function(){$(this).remove}); $.ajax({ type: 'POST', data: data, url: baseDir+'modules/prestaqna/ajax.php', success: function(data){ if(data !=1) $('#submitQNA').fadeIn(); if(data == 'err') $('<p class="qna_error">'+qna_error+'</p>').hide().appendTo(caller).fadeIn(); else if(data == 'mex') $('<p class="qna_error">'+qna_badcontent+'</p>').hide().appendTo(caller).fadeIn(); else if(data == 'name') $('<p class="qna_error">'+qna_badname+'</p>').hide().appendTo(caller).fadeIn(); else if(data == 'mail') $('<p class="qna_error">'+qna_bademail+'</p>').hide().appendTo(caller).fadeIn(); else if (data == 1) // Okay { $('<p class="qna_confirm confirmation">'+qna_confirm+'</p>').hide().appendTo(caller).fadeIn(); } else alert(data); $('.ajaxloader').fadeOut('normal', function(){$(this).remove()}); //remove spinner } })}if(window.location.hash == '#qnaTab'){ $('.qnaTabPointer').click(); $('body').animate({ scrollTop: $("#qna_pointer").offset().top }, 500);}}); Edited December 6, 2015 by africanodama (see edit history) 1 Link to comment Share on other sites More sharing options...
shacker Posted December 22, 2015 Author Share Posted December 22, 2015 in the section tag, add a form and /form tag like this: <form><section class="page-propduct-box"> <h3 id="#qnaTab" class="idTabHrefShort page-product-heading">{l s='Ask a question' mod='prestaqna'}</h3> <div id="qnaTab"> <p class="centertext"> <span><strong>{l s='NO registration required!' mod='prestaqna'}</strong></span> </p> {if $qnas_nb}<p id="qna_pointer"><strong>{$qnas_nb}</strong> {l s='Question(s) answered' mod='prestaqna'}</p>{/if} <p>{l s='If the question you have has not yet been answered here, use the form below to ask something about this addon.' mod='prestaqna'}</p> <form action="" method="POST" id="qna_ask" class="std box"> <div class="field clearfix form-group"> <label for="qna_q">{l s='I want to know:' mod='prestaqna'} </label> <textarea name="qna_q" id="qna_q" rows="8"/></textarea> </div> <div class="field clearfix form-group"> <label for="qna_name">{l s='Name:' mod='prestaqna'} </label> <input type="text" name="qna_name" value="" id="qna_name" /> <small>{l s='(optional)' mod='prestaqna'}</small> </div> <div class="field clearfix required form-group"> <label for="qna_email">{l s='E-mail:' mod='prestaqna'} </label> <input type="text" name="qna_email" value="" id="qna_email" /> <small><sup>*</sup>{l s='(Required to be notified when an answer is available)' mod='prestaqna'}</small> </div>{include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} <div class="form-group"> <input type="hidden" name="qna_prod" value="{$smarty.get.id_product}"/> <a href="javascript:void(0)" title="{l s='Send question!' mod='prestaqna'}" class="btn btn-default" id="submitQNA">{l s='Send question!' mod='prestaqna'}</a> </div> </form> {if isset($qnas) && $qnas} <div class="qna-answers"> <ul> {foreach from=$qnas item=qna} <li> <span class="name"> {l s='Asked by' mod='prestaqna'} {if empty($qna.name)}{l s='a guest' mod='prestaqna'}{else}{$qna.name|escape:'hmlall'}{/if} <br /> {if $qna.date_added !="0000-00-00"} <em>{l s='on' mod='prestaqna'} {dateFormat date=$qna.date_added}</em> {/if} </span> <span class="question">{$qna.question|escape:'htmlall'}</span> <span class="answer"> <strong>{l s='Answer:' mod='prestaqna'}</strong> <br/> {$qna.answer|escape:'htmlall'} </span> <div style="clear:both"></div> </li> {/foreach} </ul> </div> {/if} </div> <script> var qna_error = "{l s='Whoops! It seems that your request could not be validated, please retry' mod='prestaqna'}", qna_badcontent = "{l s='Bad message content!' mod='prestaqna'}", qna_badname = "{l s='Bad name content!!' mod='prestaqna'}", qna_bademail = "{l s='Bad E-mail address!' mod='prestaqna'}", qna_confirm = "{l s='Thank you. Your question has been registered. You will be notified as soon as an answer is available' mod='prestaqna'}"; </script> </section> </form> Link to comment Share on other sites More sharing options...
africanodama Posted December 25, 2015 Share Posted December 25, 2015 Can't see slidecaptcha. In firebug i see code but is not visible in fo. FIREBUG <div id="qnaTab"> <p class="centertext"> <p>If the question you have has not yet been answered here, use the form below to ask something about this addon.</p> <div class="field clearfix form-group"> <div class="field clearfix form-group"> <div class="field clearfix required form-group"> <div class="form-group"> <div> <div class="QapTcha"></div> </div> <input type="hidden" value="9" name="qna_prod"> <a id="submitQNA" class="btn btn-default" title="Send question!" href="javascript:void(0)">Send question!</a> </div> </div> <script> Link to comment Share on other sites More sharing options...
shacker Posted January 5, 2016 Author Share Posted January 5, 2016 you need to add the <form> tag in the tpl, Link to comment Share on other sites More sharing options...
africanodama Posted January 5, 2016 Share Posted January 5, 2016 Yes. I try it. But can't see slidecaptcha form on this form. I copy all code from your post 129 and nothing. Link to comment Share on other sites More sharing options...
shacker Posted January 11, 2016 Author Share Posted January 11, 2016 iu force compile? send me the link to the form Link to comment Share on other sites More sharing options...
africanodama Posted January 11, 2016 Share Posted January 11, 2016 Yes. Force compile. PM. Link to comment Share on other sites More sharing options...
africanodama Posted January 23, 2016 Share Posted January 23, 2016 Shacker i send you PM. Link to comment Share on other sites More sharing options...
shacker Posted January 23, 2016 Author Share Posted January 23, 2016 i check it today Link to comment Share on other sites More sharing options...
shacker Posted February 11, 2016 Author Share Posted February 11, 2016 sorry for the delay. Link to comment Share on other sites More sharing options...
romarrange Posted April 8, 2016 Share Posted April 8, 2016 Bonjour, Je ne sais pas ce que je fais mal... Mais je ne vois pas Slide Captcha. J'ai installé et activé le module. J'ai copié la ligne au bon endroit dans le contact-form et je ne vois rien sur ma page de contact. Tout cela dans PS 1.6.1.1 Quelqu'un pourrait-il m'aider? Merci Link to comment Share on other sites More sharing options...
shacker Posted April 9, 2016 Author Share Posted April 9, 2016 site url? Link to comment Share on other sites More sharing options...
romarrange Posted April 11, 2016 Share Posted April 11, 2016 Bonjour, http://www.romarrange.com/nous-contacter Merci pour votre aide Link to comment Share on other sites More sharing options...
hit Posted May 10, 2016 Share Posted May 10, 2016 bonjour, je voudrais installer ce système sur envoyer à un ami soucis avec le chemin relatif{include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} n'est plus bon puisque l'on est plus au même niveau dans contact il fonctionne parfaitement dans sendtoafriend-extra.tpl si je change le chemin j'ai une page blanche. presta 1.6.0.8 thème de base le module s'est installé dans racine du site/modules/slidecaptcha/... et non pas dans le thème merci Link to comment Share on other sites More sharing options...
shacker Posted May 13, 2016 Author Share Posted May 13, 2016 le module ne fonctionne que dans le formulaire de contact, d'autres pour le moment Link to comment Share on other sites More sharing options...
hit Posted May 13, 2016 Share Posted May 13, 2016 merci, j'ai désactivé le module sendtoafriend pour le moment. Link to comment Share on other sites More sharing options...
shacker Posted July 3, 2016 Author Share Posted July 3, 2016 --updated NL translation. Thanks to wesley hoving Link to comment Share on other sites More sharing options...
shacker Posted November 28, 2016 Author Share Posted November 28, 2016 v4.0-compatible PS 1.7 Link to comment Share on other sites More sharing options...
gemarcos Posted February 20, 2017 Share Posted February 20, 2017 in the section tag, add a form and /form tag like this: <form> <section class="page-propduct-box"> <h3 id="#qnaTab" class="idTabHrefShort page-product-heading">{l s='Ask a question' mod='prestaqna'}</h3> <div id="qnaTab"> <p class="centertext"> <span><strong>{l s='NO registration required!' mod='prestaqna'}</strong></span> </p> {if $qnas_nb}<p id="qna_pointer"><strong>{$qnas_nb}</strong> {l s='Question(s) answered' mod='prestaqna'}</p>{/if} <p>{l s='If the question you have has not yet been answered here, use the form below to ask something about this addon.' mod='prestaqna'}</p> <form action="" method="POST" id="qna_ask" class="std box"> <div class="field clearfix form-group"> <label for="qna_q">{l s='I want to know:' mod='prestaqna'} </label> <textarea name="qna_q" id="qna_q" rows="8"/></textarea> </div> <div class="field clearfix form-group"> <label for="qna_name">{l s='Name:' mod='prestaqna'} </label> <input type="text" name="qna_name" value="" id="qna_name" /> <small>{l s='(optional)' mod='prestaqna'}</small> </div> <div class="field clearfix required form-group"> <label for="qna_email">{l s='E-mail:' mod='prestaqna'} </label> <input type="text" name="qna_email" value="" id="qna_email" /> <small><sup>*</sup>{l s='(Required to be notified when an answer is available)' mod='prestaqna'}</small> </div> {include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"} <div class="form-group"> <input type="hidden" name="qna_prod" value="{$smarty.get.id_product}"/> <a href="javascript:void(0)" title="{l s='Send question!' mod='prestaqna'}" class="btn btn-default" id="submitQNA">{l s='Send question!' mod='prestaqna'}</a> </div> </form> {if isset($qnas) && $qnas} <div class="qna-answers"> <ul> {foreach from=$qnas item=qna} <li> <span class="name"> {l s='Asked by' mod='prestaqna'} {if empty($qna.name)}{l s='a guest' mod='prestaqna'}{else}{$qna.name|escape:'hmlall'}{/if} <br /> {if $qna.date_added !="0000-00-00"} <em>{l s='on' mod='prestaqna'} {dateFormat date=$qna.date_added}</em> {/if} </span> <span class="question">{$qna.question|escape:'htmlall'}</span> <span class="answer"> <strong>{l s='Answer:' mod='prestaqna'}</strong> <br/> {$qna.answer|escape:'htmlall'} </span> <div style="clear:both"></div> </li> {/foreach} </ul> </div> {/if} </div> <script> var qna_error = "{l s='Whoops! It seems that your request could not be validated, please retry' mod='prestaqna'}", qna_badcontent = "{l s='Bad message content!' mod='prestaqna'}", qna_badname = "{l s='Bad name content!!' mod='prestaqna'}", qna_bademail = "{l s='Bad E-mail address!' mod='prestaqna'}", qna_confirm = "{l s='Thank you. Your question has been registered. You will be notified as soon as an answer is available' mod='prestaqna'}"; </script> </section> </form> How did you solve it? I have the same problem Link to comment Share on other sites More sharing options...
shacker Posted May 3, 2017 Author Share Posted May 3, 2017 How did you solve it? I have the same problem wich error? Link to comment Share on other sites More sharing options...
gemarcos Posted May 3, 2017 Share Posted May 3, 2017 wich error? It happens to me like the companion africanodama, I do not get the slidecaptcha in the same module that I tell you later. How do I solve it? Link to comment Share on other sites More sharing options...
ShopmasterKZ Posted June 8, 2017 Share Posted June 8, 2017 Hi everyone! I've tried to add slidecaptcha 4.0 to registration form and it's not works. There is 2 files(customer-form.tpl, registration.tpl) related to registration and I've tried both of them, adding to customer-form.tpl makes error 500. Adding to registration.tpl nothing happens, captha doesn't appears. Cache cleared in both cases. In contact form it works fine. Here is the code of customer-form.tpl: {include file='_partials/form-errors.tpl' errors=$errors['']} <form action="{$action}" id="customer-form" class="js-customer-form" method="post"> <div> <section> {block "form_fields"} {foreach from=$formFields item="field"} {block "form_field"} {form_field field=$field} {/block} {/foreach} {/block} </section> </div> <div> <footer class="form-footer clearfix"> <input type="hidden" name="submitCreate" value="1"> {block "form_buttons"} <button class="btn btn-primary form-control-submit pull-xs-right" data-link-action="save-customer" type="submit"> {l s='Save' d='Shop.Theme.Actions'} </button> {/block} </div> </footer> </form> And registration.tpl: {extends file='page.tpl'} {block name='page_title'} {l s='Create an account' d='Shop.Theme.CustomerAccount'} {/block} {block name='page_content'} {block name='register_form_container'} {$hook_create_account_top nofilter} <section class="register-form"> <p>{l s='Already have an account?' d='Shop.Theme.CustomerAccount'} <a href="{$urls.pages.authentication}">{l s='Log in instead!' d='Shop.Theme.CustomerAccount'}</a></p> {render file='customer/_partials/customer-form.tpl' ui=$register_form} </section> {/block} {/block} Can anybody help me with this, please? Link to comment Share on other sites More sharing options...
shacker Posted June 8, 2017 Author Share Posted June 8, 2017 The module dont have that option. Create account use ajax and dont work with this module. regards Link to comment Share on other sites More sharing options...
ShopmasterKZ Posted June 9, 2017 Share Posted June 9, 2017 The module dont have that option. Create account use ajax and dont work with this module. regards Thanks for answer. So, there is no any way to use it? I mean, could it be done some modifications to .tpl or other solutions to make it work? Link to comment Share on other sites More sharing options...
shacker Posted June 9, 2017 Author Share Posted June 9, 2017 you must configure the auto submit to off Link to comment Share on other sites More sharing options...
LauraPresta Posted January 29, 2018 Share Posted January 29, 2018 Fonctionne bien sur 1.6.1.16 Link to comment Share on other sites More sharing options...
shacker Posted January 29, 2018 Author Share Posted January 29, 2018 thanks for comment Link to comment Share on other sites More sharing options...
LauraPresta Posted February 2, 2018 Share Posted February 2, 2018 Unfortunately, the module didnt really succeed to block the chineese bot, it only worked few hours. (and then 302 000 new mails sent ) Chineese bots are too good, we gonna set up recaptacha. Thanks anyway for the work and for the module. Link to comment Share on other sites More sharing options...
shacker Posted February 2, 2018 Author Share Posted February 2, 2018 go to seo and url, and change the friendly url for all languages, then regenerate htaccess again Link to comment Share on other sites More sharing options...
Jeurdi Posted February 14, 2018 Share Posted February 14, 2018 Dear, Was there already a solution for the problem that I only see: <div> <div class="QapTcha"></div> </div> I use Prestashop 1.6.1.13 and get alot of spam. I really would like to use your module! I read this topic twies, but I don't get the slide visable on my store. (I use default theme) Thank you in advance! Kind regards, The Netherlands Link to comment Share on other sites More sharing options...
jdepluvie Posted March 5, 2018 Share Posted March 5, 2018 On 02/02/2018 at 2:37 PM, shacker said: go to seo and url, and change the friendly url for all languages, then regenerate htaccess again Bonjour, ça ne change pas le souci, les robots utilisent sans doute le nom natif à savoir contact-form.php De mon côté ça n'a pas stoppé le remplissage des formulaires. Savez vous comment ajouter à ce module le filtre sur une partie de l'adresse mail ? Exclure par exemple les mails de type @qq.com Merci Link to comment Share on other sites More sharing options...
hit Posted March 5, 2018 Share Posted March 5, 2018 J'ai le même soucis, j'ai vite fait dans le contrôler ajouter une ligne qui teste l'adresse mail, dans mon cas mail.ru avec preg_match Je pense l'améliorer avec une variable en tableau pour filtrer un grand nombre. Si quelqu'un a déjà écrit ça je suis preneur. Link to comment Share on other sites More sharing options...
jdepluvie Posted March 5, 2018 Share Posted March 5, 2018 5 minutes ago, hit said: J'ai le même soucis, j'ai vite fait dans le contrôler ajouter une ligne qui teste l'adresse mail, dans mon cas mail.ru avec preg_match Je pense l'améliorer avec une variable en tableau pour filtrer un grand nombre. Si quelqu'un a déjà écrit ça je suis preneur. Merci pour ce retour, pourriez vous me préciser la ligne de code que vous avez ajouté et à quel endroit et dans quel fichier ? En attendant je teste sur un autre site une autre solution, je vous donne le retour dès si c’est fonctionnel. Merci Link to comment Share on other sites More sharing options...
jdepluvie Posted March 5, 2018 Share Posted March 5, 2018 (edited) Pour information j'ai trouvé un module ici : https://www.h-hennes.fr/blog/module-recaptcha-pour-le-formulaire-de-contact-prestashop/ Il est fonctionnel de la version 1.4 à 1.7 (testé sur 1.4 et 1.6) Merci NB : Cependant il n’est pas suffisamment efficace avec le mode simple de la console google (je teste avec le paramètre intermédiaire puis le plus sécurisé si le précédent laisse passer des mails) Edited March 5, 2018 by jdepluvie complément d'info (see edit history) Link to comment Share on other sites More sharing options...
KevinNash Posted March 5, 2018 Share Posted March 5, 2018 Ce module ne stoppera pas les bots ( j'ai testé ) qui envoient directement le code sans passer par la page comme l'utilisateur le fait. Vous pouvez simuler un bot avec ce tuto https://www.youtube.com/watch?v=XR8PppmHjRE si tout le code s'affiche le bot est passé La vraie solution qui ajoute le captcha + la protection bot se trouve ici : https://shop.devcustom.net/fr/content/9-mise-en-place-captcha?content_only=1 Fil de discussion ici https://www.prestashop.com/forums/topic/610365-spam-du-sav/ 1 Link to comment Share on other sites More sharing options...
ritopina Posted March 5, 2018 Share Posted March 5, 2018 Une solution pour la 1.7 ? Link to comment Share on other sites More sharing options...
shacker Posted March 6, 2018 Author Share Posted March 6, 2018 On 14/2/2018 at 10:32 AM, Jeurdi said: Dear, Was there already a solution for the problem that I only see: <div> <div class="QapTcha"></div> </div> I use Prestashop 1.6.1.13 and get alot of spam. I really would like to use your module! I read this topic twies, but I don't get the slide visable on my store. (I use default theme) Thank you in advance! Kind regards, The Netherlands check the permissons of the php files of the module, must be 755 Link to comment Share on other sites More sharing options...
jdepluvie Posted March 6, 2018 Share Posted March 6, 2018 Bonjour, Merci pour l'info prise d'ici https://shop.devcustom.net/fr/content/9-mise-en-place-captcha?content_only=1 Cependant j'ai systématiquement : not human Le site sur lequel je fais le test est en 1.4.11 Link to comment Share on other sites More sharing options...
doekia Posted March 6, 2018 Share Posted March 6, 2018 En 1.4 il faut modifier cas contact-form.php est-ce bien ce que tu as fait? Link to comment Share on other sites More sharing options...
jdepluvie Posted March 6, 2018 Share Posted March 6, 2018 Oui tout à fait, j'avais vu la subtilité. Link to comment Share on other sites More sharing options...
Luke Posted April 8, 2018 Share Posted April 8, 2018 I can't get this module to work with the latest version of prestashop 1.7 and php 7.0. The slider does not unlock the form. https://beebiotics.com.au/contact-us Link to comment Share on other sites More sharing options...
shacker Posted April 8, 2018 Author Share Posted April 8, 2018 27 minutes ago, Luke said: I can't get this module to work with the latest version of prestashop 1.7 and php 7.0. The slider does not unlock the form. https://beebiotics.com.au/contact-us you need to change permissons to the php files (755) Link to comment Share on other sites More sharing options...
Luke Posted April 8, 2018 Share Posted April 8, 2018 Thank you. That solved the problem. Link to comment Share on other sites More sharing options...
shacker Posted April 8, 2018 Author Share Posted April 8, 2018 iu welcome Link to comment Share on other sites More sharing options...
shacker Posted September 25, 2022 Author Share Posted September 25, 2022 v-5.0 - Added new customizationes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now