en Jump to content
shacker

[MODULE] Slide captcha 4.1- PS 1.4/1.7 - Add a captcha to your forms - support iphone/ipad

Recommended Posts

 

Hi there,

 

Thank you very much for your awesomeness publishing your free module in public.

 

I cannot make it work on prestashop 1.7.0.4 however. It display following error:

 

I think it has something to do with Smart cache, you know better :-)

 

 

Whoops, looks like something went wrong. 1/1ContextErrorException in slidecaptcha.php line 197:Notice: Undefined variable: smarty
  1. in slidecaptcha.php line 197
  2. at ErrorHandler->handleError('8', 'Undefined variable: smarty', '/Users/Ashkan/Sites/aag17/modules/slidecaptcha/slidecaptcha.php', '197', array('params' => array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '15'), 'ptypee' => '2', 'pety' => array(array('id_page_type' => '2', 'name' => 'index', 'id_page' => '2', 'id_object' => null)), 'pet' => array('id_page_type' => '2', 'name' => 'index', 'id_page' => '2', 'id_object' => null), 'petid' => '2', 'petnam' => 'index', 'pettyp' => '2', 'ptypee1' => '3', 'ptypee2' => '4', 'ptypee3' => '5', 'submitsc' => 'true')) in slidecaptcha.php line 197
  3. at SlideCaptcha->hookHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '15')) in Hook.php line 758
  4. at HookCore::coreCallHook(object(SlideCaptcha), 'hookHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '15')) in Hook.php line 725
  5. at HookCore::exec('displayHeader') in FrontController.php line 528
  6. at FrontControllerCore->initContent() in IndexController.php line 37
  7. at IndexControllerCore->initContent() in Controller.php line 201
  8. at ControllerCore->run() in Dispatcher.php line 366
  9. at DispatcherCore->dispatch() in index.php line 28

 

i assume this is not the latest version of the module. I just test in 1.7.1 and works and dont have that error

Share this post


Link to post
Share on other sites

Hello

Great module! It's work fine for me on prestashop 1.6.1.6.

I've only one question, i need to add slide captcha on my Authentication page, it's possible?

I tried to add the code line above the send button out the div, but not appears on the page.

Some advice?

 

Thank you so much.

you can add it through the login page ?

not for the moment

Share this post


Link to post
Share on other sites

PS 1.6.1.9 - working on it know, will ad php slidecaptcha code validation on the php client side with ContactController.php override soon

i tested in 1.7.1 and form is unlocked without any core modification

Share this post


Link to post
Share on other sites

Hi, I'm trying to put your module in the block newsletter but it doesn't work.

It works ONLY in the contact page.

What am I doing wrong?

Share this post


Link to post
Share on other sites

i tested in 1.7.1 and form is unlocked without any core modification

 

Great job with the module and thx 4 sharing, at the moment I'm not very familiar with PS 1.7.x, I think I misspelled myself, I did not mean the core files but the controller files modification or better the override modification, which did the job with validation on PHP side, it stoped the bots because of their JS immunity, I guess the unlocking could have something to do with the JS script, as PHP only checks the captcha value. Recently I also suffered from massive Chinese register account attacks, which I had also to secure with captcha, I will check PS 1.7 but I won't happen very soon I fear.

Share this post


Link to post
Share on other sites

Hi, I'm trying to put your module in the block newsletter but it doesn't work.

It works ONLY in the contact page.

What am I doing wrong?

module its removed from other sections to avoid know conflicts with other scripts

Great job with the module and thx 4 sharing, at the moment I'm not very familiar with PS 1.7.x, I think I misspelled myself, I did not mean the core files but the controller files modification or better the override modification, which did the job with validation on PHP side, it stoped the bots because of their JS immunity, I guess the unlocking could have something to do with the JS script, as PHP only checks the captcha value. Recently I also suffered from massive Chinese register account attacks, which I had also to secure with captcha, I will check PS 1.7 but I won't happen very soon I fear.

in registration? i know that the send to a friend module was vulnerable

Share this post


Link to post
Share on other sites

Hello

Thanks for Slidecaptcha module. As I understand, it activated in contact form should fight against spambots?

I installed it on PS 1.4.6.2. Seems works fine, but how does it comes, that chinese spammers still sends spam every 11 minutes from my contact form?

Any ideas?

Thanks.

Share this post


Link to post
Share on other sites

Hi Shacker

Thanks for a great module. Works perfect in 1.6.1

But if you could help me with one thing, I would be very happy>

I would love to install it on the checkout page - to activate the payment button. But I can't figure out how. Can you give a hint, please?

Best regards

Grete Lauridsen

Share this post


Link to post
Share on other sites
On 25/11/2017 at 1:27 PM, G.K. said:

Hello

Thanks for Slidecaptcha module. As I understand, it activated in contact form should fight against spambots?

I installed it on PS 1.4.6.2. Seems works fine, but how does it comes, that chinese spammers still sends spam every 11 minutes from my contact form?

Any ideas?

Thanks.

sometimes the bots already have the email . i recommend to change the contact page name in ftp and replace the links

Share this post


Link to post
Share on other sites
On 17/8/2017 at 6:30 AM, solnuevo said:

Hi shacker.

 

Many thanks for the module, working perfect in prestashop 1.6.1.

a greeting

iu welcome

Share this post


Link to post
Share on other sites

PS 1.6.10. module installed, force compile + clear cashe

When I send message, I receive this error. However I actually receive that message in BACKOFFICE, but here it looks like it was not sent.

How to fix it?

Thanks

image.thumb.png.6669fc5e98c3ee380e609bc43aef7410.png

Share this post


Link to post
Share on other sites
On 6.01.2018 at 8:52 PM, madxface said:

PS 1.6.10. module installed, force compile + clear cashe

When I send message, I receive this error. However I actually receive that message in BACKOFFICE, but here it looks like it was not sent.

How to fix it?

Thanks

image.thumb.png.6669fc5e98c3ee380e609bc43aef7410.png

Spit out your PHP error log to see what's wrong dude.

Share this post


Link to post
Share on other sites
On 6/1/2018 at 4:52 PM, madxface said:

PS 1.6.10. module installed, force compile + clear cashe

When I send message, I receive this error. However I actually receive that message in BACKOFFICE, but here it looks like it was not sent.

How to fix it?

Thanks

image.thumb.png.6669fc5e98c3ee380e609bc43aef7410.png

disable the module and try to send the message again. Maybe is not the module

Share this post


Link to post
Share on other sites

I have disabled and then enabled module and its working!
On other hand,, I am still receiving CHINESE SPAM, so they are bypassing this tool somehow. Receving mail every second.

only maintainance mode stops it, but thats not a solution. Anybody with ideas?

 

Share this post


Link to post
Share on other sites

go to seo and url, and change the friendly url of the contact page, like contact-us to contact only to chek what happen

Share this post


Link to post
Share on other sites

Hi. This module is not working for me.

I am using v1.6.1.4 and I have already tried v3 and v4 of your module.

I followed the video-tutorial, I place the code in the contact-form.tpl but the only thing that gets added to the page is this:
<div><div class="QapTcha"></div></div>

There is no slide captcha showing up.

Do I need to edit any other file?

Thanks for your time.

 

Share this post


Link to post
Share on other sites

you have a jquery error in the contact form

 

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at contacte-nos:133

 

this looks like block the module

Share this post


Link to post
Share on other sites
16 minutes ago, shacker said:

you have a jquery error in the contact form

 

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at contacte-nos:133

 

this looks like block the module

 

Hi.

I have cleared all the errors but the captcha is still not showing up.

Thanks for your time.

Share this post


Link to post
Share on other sites

did you cleared cache in prestashop? i don't see the code: <div><div class="QapTcha"></div></div>  in the source code of the page

Share this post


Link to post
Share on other sites
9 minutes ago, shacker said:

did you cleared cache in prestashop? i don't see the code: <div><div class="QapTcha"></div></div>  in the source code of the page

 

Yes, I cleared it.

And that code only shows up on the contact form page.

I believe that code should render the captcha, right? But it doesn't.

Share this post


Link to post
Share on other sites
On 11/1/2018 at 8:42 AM, inovlancer said:

Hi. This module is not working for me.

I am using v1.6.1.4 and I have already tried v3 and v4 of your module.

I followed the video-tutorial, I place the code in the contact-form.tpl but the only thing that gets added to the page is this:
<div><div class="QapTcha"></div></div>

There is no slide captcha showing up.

Do I need to edit any other file?

Thanks for your time.

 

i dont css the js or css in the source code. try to go to design, positions and transplant the module to header and footer

Share this post


Link to post
Share on other sites
On 13/01/2018 at 10:12 AM, shacker said:

i dont css the js or css in the source code. try to go to design, positions and transplant the module to header and footer

 

Hi.

I tried doing that, but PrestaShop said the this module is already place in this «hook».

This happened for both "displayFooter (Footer)" and "Header (pages html head section)"

Share this post


Link to post
Share on other sites

I had a huge problem yesterday. I was receiving 1000 messages per hour.

I attach a screenshot of what happened. I currently blocked all the forms until I find a solution for this.

Please help me fix the problem with your module.

Capturar.PNG

Edited by inovlancer

Share this post


Link to post
Share on other sites
1 hour ago, shacker said:

go to preferences, seo&url, and change the contact form friendly url

That didn't get the captcha working, but will that protect me from spammers? If so, for how long?

Thanks a lot for your time.

Share this post


Link to post
Share on other sites

that was for the spam, if they already catch the form still getting the mails. That's why changing the default url of prestashop solves it. For the captcha that dont appear, its really strange, i cant help without access ot the site

Share this post


Link to post
Share on other sites

One question please:

I installed the module on a 1.4.6.2 shop,

put in the line in the tpl file,

and when I test it the "Send" button is gone, and that´s it ..!?
I think that is not the only wanted effect?

Regards, Ralf
 

Share this post


Link to post
Share on other sites

Hello,

First of all, many thanks for this module :)

I am trying to place the module on my PrestaShop site (1.7.2), mentioning that I do not use the default PrestaShop theme. 

The module installation works fine, but when i try to place the code inside the .tpl the whole site crash :(, I am wonder what i am doing wrong?

I place a screen shot here marking in red where the code line was placed ...

Can you please let me know where to put it right?

 

Regards,

Cata

Captcha.PNG

Share this post


Link to post
Share on other sites
2 hours ago, TRIBEKA said:

Hello,

First of all, many thanks for this module :)

I am trying to place the module on my PrestaShop site (1.7.2), mentioning that I do not use the default PrestaShop theme. 

The module installation works fine, but when i try to place the code inside the .tpl the whole site crash :(, I am wonder what i am doing wrong?

I place a screen shot here marking in red where the code line was placed ...

Can you please let me know where to put it right?

 

Regards,

Cata

Captcha.PNG

 

Hello! Did you manage to fix it?

Which is the .tpl file exactly? I couldn't find it in PS7

Thanks! 

Share this post


Link to post
Share on other sites
1 hour ago, colives said:

 

Hello! Did you manage to fix it?

Which is the .tpl file exactly? I couldn't find it in PS7

Thanks! 

No,   did not get any answer (too soon), and I try to avoid to crash the site again.

Maybe i place the code in the wrong place ... i will deep dive more in the folders to identify the right contactform.tpl

Finger crossed.

 

Share this post


Link to post
Share on other sites

I'm having a problem installing on PS 1.6.1.5 for the Contact Us form.

I installed the code per the video and my "Send" button has disappeared completely when the Module is set to "Auto" and no Captcha is visible?  

Any additional help would be greatly appreciated and Thank You in advance. 

 

Screenshot_5.jpg

Screenshot_6.jpg

Share this post


Link to post
Share on other sites

Hello there!

I used v.4 of this module on my website which runs PS 1.7.2.4. I installed it by instuctions to the contact form.
This is what that part of contactform.tpl looks like now:

            <footer class="form-footer text-right">
   
                {include file="../../../../../../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}
                <input class="btn btn-primary" type="submit" name="submitMessage"
                       value="{l s='Send' d='Shop.Theme.Actions'}">
            </footer>

Slider capcha blocks the 'Send' button but I can't unlock it. Mouse cursor looks like this (check out my attachment photo) when I point on the slider and the slider doesn't react on clicking.

Would you help me please? Thanks in advance.

yy9XRr8HbyQ.jpg

Share this post


Link to post
Share on other sites
On 15/2/2018 at 7:50 AM, trevorgilligan said:

fair play that worked for me, nice and simple, complete in like 20 mins. Saved me a lot of time! have a nice day

thanks

Share this post


Link to post
Share on other sites
On 18/2/2018 at 12:10 PM, Irishdancer said:

One question please:

I installed the module on a 1.4.6.2 shop,

put in the line in the tpl file,

and when I test it the "Send" button is gone, and that´s it ..!?
I think that is not the only wanted effect?

Regards, Ralf
 

you must see the slide option, if you dont see, you must have a javascript error. Send me the url and i check

Share this post


Link to post
Share on other sites
On 20/2/2018 at 8:55 AM, TRIBEKA said:

No,   did not get any answer (too soon), and I try to avoid to crash the site again.

Maybe i place the code in the wrong place ... i will deep dive more in the folders to identify the right contactform.tpl

Finger crossed.

 

please paste here the code that you set in the theme

Share this post


Link to post
Share on other sites
22 hours ago, sche said:

Hello there!

I used v.4 of this module on my website which runs PS 1.7.2.4. I installed it by instuctions to the contact form.
This is what that part of contactform.tpl looks like now:

            <footer class="form-footer text-right">
   
                {include file="../../../../../../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}
                <input class="btn btn-primary" type="submit" name="submitMessage"
                       value="{l s='Send' d='Shop.Theme.Actions'}">
            </footer>

Slider capcha blocks the 'Send' button but I can't unlock it. Mouse cursor looks like this (check out my attachment photo) when I point on the slider and the slider doesn't react on clicking.

Would you help me please? Thanks in advance.

yy9XRr8HbyQ.jpg

site url?

Share this post


Link to post
Share on other sites
40 minutes ago, shacker said:

please paste here the code that you set in the theme

Hello,

 

This is the code, and also the place where I put it

""""

</section>
 {include file="$tpl_dir./../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}
    <footer class="form-footer text-xs-right">
      <input class="btn btn-primary" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
    </footer>

  </form>
</section>

""""

Many thanks in advance.

Any feedback is highly appreciated

 

Share this post


Link to post
Share on other sites

{include file="../../../../../../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}
 

 

this is the correct code for PS 1.7. did you have the latest slide captcha version?

Share this post


Link to post
Share on other sites
59 minutes ago, shacker said:

{include file="../../../../../../../modules/slidecaptcha/views/templates/front/slidecaptcha.tpl"}
 

 

this is the correct code for PS 1.7. did you have the latest slide captcha version?

Hello,

 

I guess that I have the latest version from the batch, print screen attached.

Now, I place the code you give, unfortunately same behavior. Once I wonder if "https" create this issue :o i 

This page isn’t working

tribeka.ro is currently unable to handle this request.

HTTP ERROR 500

Slide ....PNG

Share this post


Link to post
Share on other sites
14 minutes ago, shacker said:

last version is in the first post in this thread and have the text 4.0

Hello,

 

Installed the latest version as suggested. No error appear, even the slide captcha appear, but the send button is inactive, if i try to send a message the "forbiden" sign hoover on it.

Print example attached

 

Inactive slide captcha.PNG

Share this post


Link to post
Share on other sites
2 hours ago, TRIBEKA said:

Hello,

 

Installed the latest version as suggested. No error appear, even the slide captcha appear, but the send button is inactive, if i try to send a message the "forbiden" sign hoover on it.

Print example attached

 

Inactive slide captcha.PNG

url?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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