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

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


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


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

#1 Guest_tomerg3_*

  • --
  • Guests

Posted 25 January 2010 - 10:47 PM

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 File(s)



#2 Guest__*

  • --
  • Guests

Posted 26 January 2010 - 03:38 AM

Thanks for the Module, very helpful module indeed.

Keep up the good work.

#3 Guest__*

  • --
  • Guests

Posted 26 January 2010 - 08:02 AM

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 ?"

#4 Guest__*

  • --
  • Guests

Posted 27 January 2010 - 03:00 PM

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

#5 Guest__*

  • --
  • Guests

Posted 27 January 2010 - 04:32 PM

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.

#6 Guest__*

  • --
  • Guests

Posted 27 January 2010 - 04:43 PM

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 Guest__*

  • --
  • Guests

Posted 27 January 2010 - 06:03 PM

Thanks tomerg3 for this free module ;)
Will check this one out.

Best regards,

ysco..

#8 Guest__*

  • --
  • Guests

Posted 31 January 2010 - 08:28 AM

Thanks! very much Tomer

#9 Guest__*

  • --
  • Guests

Posted 31 January 2010 - 01:49 PM

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 Guest__*

  • --
  • Guests

Posted 31 January 2010 - 08:59 PM

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

#11 Guest__*

  • --
  • Guests

Posted 31 January 2010 - 09:03 PM

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.

#12 Guest__*

  • --
  • Guests

Posted 01 February 2010 - 01:49 AM

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 Guest__*

  • --
  • Guests

Posted 01 February 2010 - 02:45 AM

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

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

#14 Guest__*

  • --
  • Guests

Posted 01 February 2010 - 10:10 PM

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 Guest__*

  • --
  • Guests

Posted 02 February 2010 - 07:06 AM

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?

#16 Guest__*

  • --
  • Guests

Posted 02 February 2010 - 07:38 AM

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 Guest__*

  • --
  • Guests

Posted 02 February 2010 - 06:05 PM

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 Guest__*

  • --
  • Guests

Posted 02 February 2010 - 06:43 PM

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 File(s)



#19 Guest__*

  • --
  • Guests

Posted 02 February 2010 - 07:39 PM

Good, glad to hear it :)

#20 Guest__*

  • --
  • Guests

Posted 03 February 2010 - 07:51 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users