Jump to content
shacker

[FREE MODULE] Slide captcha 4.0- Captcha to forms - PS 1.4/1.7- support iphone/ipad

Recommended Posts

Bonjour,

 

Installation réussie, utilisation OK, par contre, les spams passent quand même au travers... bizarre

Share this post


Link to post
Share on other sites

 

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

Share this post


Link to post
Share on other sites

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 by endriu107 (see edit history)

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

@ 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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by Denys06 (see edit history)

Share this post


Link to post
Share on other sites

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 by Denys06 (see edit history)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by africanodama (see edit history)

Share this post


Link to post
Share on other sites

you can add a <form> at the beggining

 

and </form> 

at the end of the tpl

 

that must works

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

copy and paste from module configuration. {include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}

Share this post


Link to post
Share on other sites

but you dont add teh form code. Paste here the content of the ask product tpl module

Share this post


Link to post
Share on other sites

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 by africanodama (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
le module ne fonctionne que dans le formulaire de contact, d'autres pour le moment

Share this post


Link to post
Share on other sites

merci, j'ai désactivé le module sendtoafriend pour le moment.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

How did you solve it?

I have the same problem

wich error?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

The module dont have that option. Create account use ajax and dont work with this module. regards

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Unfortunately, the module didnt really succeed to block the chineese bot, it only worked few hours. (and then 302 000 new mails sent :o )

 

Chineese bots are too good, we gonna set up recaptacha. Thanks anyway for the work and for the module.

Share this post


Link to post
Share on other sites

go to seo and url, and change the friendly url for all languages, then regenerate htaccess again

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 by jdepluvie
complément d'info (see edit history)

Share this post


Link to post
Share on other sites

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/

  • Like 1

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

En 1.4 il faut modifier cas contact-form.php est-ce bien ce que tu as fait?

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More