PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

[MODULE] Send to a Friend - with a security key to prevent automatic submissions

50 replies to this topic
#1
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts
This module adds a new 5 digit security key that the customer must enter in order to submit the form.

This should eliminate all automatic submissions by bots and unwanted crawlers.

http://www.presto-ch...o-a-friend.html

V1.2.1 was just released which supports PS 1.1

Attached Files


Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#2
JJBYPC

    PrestaShop Apprentice

  • Members
  • PipPip
  • 54 posts
Thanks for the Module, very helpful module indeed.

Keep up the good work.

#3
Sarahd

    PrestaShop Apprentice

  • Members
  • PipPip
  • 474 posts
Thank you tomerg3 nice contribution

added to prestatools and see below a small translation to french, just in case.

Ce module ajoute un clé de sécurité (captcha) pour "envoyer a un ami" ceci évite les bots et crawlers indésirables. "êtes-vous humain ?"
Sarah ;-D
Comptabilité, Informatique, Infographie

#4
artshop

    PrestaShop Apprentice

  • Members
  • PipPip
  • 26 posts
Looks like a very good module, I install it, butt it not works for me (Presta 1.1.0.5.). Any help?

#5
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts

From 1264600822:

Looks like a very good module, I install it, butt it not works for me (Presta 1.1.0.5.). Any help?


i only tested in on 1.2

i will try to check in on 1.1 as well, but it will be a few days, i'm overloaded at the moment.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#6
artshop

    PrestaShop Apprentice

  • Members
  • PipPip
  • 26 posts

From 1264606327:

From 1264600822:

Looks like a very good module, I install it, butt it not works for me (Presta 1.1.0.5.). Any help?


i only tested in on 1.2

i will try to check in on 1.1 as well, but it will be a few days, i'm overloaded at the moment.


Thank you for your fast replay

#7
ysco

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1015 posts
Thanks tomerg3 for this free module ;)
Will check this one out.

Best regards,

ysco..

#8
mooshi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 168 posts
Thanks! very much Tomer

#9
ysco

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1015 posts
Strange thing is that i install the module and i see it in BO but it is not displayed in front office ??
Permissions are set but module is not displayed in FO , any ideas what this can cause.

Btw it is not only this module but also the standard one is not displaying in FO.


Best regards.

ysco..

#10
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts

From 1264600822:

Looks like a very good module, I install it, butt it not works for me (Presta 1.1.0.5.). Any help?


I have just released V 1.2.1 which is working on PS 1.1
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#11
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts

From 1264942183:

Strange thing is that i install the module and i see it in BO but it is not displayed in front office ??
Permissions are set but module is not displayed in FO , any ideas what this can cause.

Btw it is not only this module but also the standard one is not displaying in FO.


Best regards.

ysco..


Check that your /themes/prestashop/product.tpl file contains the hook that the module is using


{if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if}


If it doesn't, just add this line where you want the link to appear.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#12
Nokall

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts
Hello i have instaled in version 1.2.5

Working but when try to send to a frind give this error .

There is 1 error :

1. The 5 digit Security Code doesn't match.

i have tested in you page and give same error :D

How to correct this ?

Thanks best regards

#13
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts
Are you sure you are entering the 5 digits security code correctly?

It works just fine for me, which Browser / OS do you use?
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#14
ysco

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1015 posts
Will check it tomerg3 ;)

Thanks for your reply.

Edit:
Well i just checked the file and the HOOK was there but the HOOK was RIGHT instead off LEFT so when i change the HOOK position to LEFT then it shows perfectly in FO but then the rating module is vanished/ gone.
Seems they both using the same HOOK.Is there a way to change so that they show both ??
Thanks in advance.

Best regards,

ysco..

#15
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts
I'm assuming you are using some custom theme.

There shouldn't be any conflict between them, did the old "send to a friend" work find for you?
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#16
artshop

    PrestaShop Apprentice

  • Members
  • PipPip
  • 26 posts

From 1264967980:

From 1264600822:

Looks like a very good module, I install it, butt it not works for me (Presta 1.1.0.5.). Any help?


I have just released V 1.2.1 which is working on PS 1.1


Thank you very much! Works OK

#17
ysco

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1015 posts
Hello tomerg3

I m using not a standard presta theme, and from the beginning sendtofriend was not working with this theme.
Both themes from same designer has the same problems with the sendtofriend module, like i said if i add your line it shows correct the sendtofriend module but then the rating module is gone and is not displayed anymore.
So the way it is now i must choose the sendtofriend or the rating module to show, both at the same time is not working.


Best regards,

ysco..

#18
ysco

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1015 posts
Hello tomerg3

Well i found the problem.
I compared product.tpl from custom template with the one standard prestashop product.tpl and see that there is missing 9 lines off code as you can see in the screenshot.

So there seems to be no further differences between both files except the missing code in the custom product.tpl so i replaced this one with the standard prestashop product.tpl and al is solved and is working 100% now.

Thanks for your help on this one.

Best regards,

ysco..

Attached Files



#19
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5753 posts
Good, glad to hear it :)
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#20
Nokall

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts

From 1264988726:

Are you sure you are entering the 5 digits security code correctly?

It works just fine for me, which Browser / OS do you use?


I use firefox :P
Yes , i try to maney digits and always give error , but i see today after enable rss start to work , don´t ask how does, but work . lolll strange ;)
Thank you