p1r4t0s Posted November 12, 2008 Share Posted November 12, 2008 hello this can not be more easy XD. first .... everything is based on: http://www.phpcaptcha.org/documentation/ Profundis ally if you want more you can find out more. STEPS TO INSTALL SECUREIMAGE: 1 .- i cant attach file but dont worry, download archives here: http://todoprestashop.com/foro/download/file.php?id=2972 .- Upload the entire contents of the folder "captcha" in the directory: "yourshop/themes/prestashop" 3 .- In the "Replace" to replace the "contact-form.php" in the directory where you installed your shop is: "yourshop/contact-form.php" 4 .- In the "Replace" to replace the file "contact form.tpl" in directory: "yourshop/themes/prestashop" ie: "yourshop/themes/prestashop/contacts form.tpl" 5 .- Now customize the error message when you put a bad image Capcha security (that need your help hans) good form and if they prove they are wrong intentionally summer I get the error that was destined to contact .... because that happens in my case there is only one contact, and use that mistake in translation and change it for if they do not place an image ... mmmm but it happens not well !!!the right thing to do would be to create a single error when the wrong place image but HOW? is my question. I believe we have to insert a table in DB and More recently, but i need learn more about Prestashop: ( PS: to change the error message has to go to the back office and Translations enter ERRORS, and find translations of the error "please select a contact in the list and change it to "incorrect image nusty " xD grettings, p1r4t0s Link to comment Share on other sites More sharing options...
Fistou69 Posted December 13, 2008 Share Posted December 13, 2008 Hello p1r4t0s,Thank you for this contribution.Is it possible to do the same thing for the module registration?Greetings. Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2008 Share Posted December 13, 2008 I too am looking to tweak the register form with catcha, I will do a try on my spare time... Link to comment Share on other sites More sharing options...
langbianiam Posted December 13, 2008 Share Posted December 13, 2008 hello this can not be more easy XD. first .... everything is based on: http://www.phpcaptcha.org/documentation/ Profundis ally if you want more you can find out more. ......grettings, p1r4t0s Thank you Link to comment Share on other sites More sharing options...
p1r4t0s Posted December 15, 2008 Author Share Posted December 15, 2008 Hello p1r4t0s,Thank you for this contribution.Is it possible to do the same thing for the module registration?Greetings. yeah it is possible Link to comment Share on other sites More sharing options...
Fistou69 Posted December 15, 2008 Share Posted December 15, 2008 Hello,Do you realize this adaptation for the module registration? ;-) Greetings. Link to comment Share on other sites More sharing options...
p1r4t0s Posted December 15, 2008 Author Share Posted December 15, 2008 i make a tutorial please wait Link to comment Share on other sites More sharing options...
Fistou69 Posted December 15, 2008 Share Posted December 15, 2008 Thank you very much for everything. :-) Link to comment Share on other sites More sharing options...
TropischBruin Posted December 18, 2008 Share Posted December 18, 2008 i make a tutorial please wait Great contribution and I cannot wait to see this tutorial!Thanks! :-) Link to comment Share on other sites More sharing options...
TropischBruin Posted December 18, 2008 Share Posted December 18, 2008 I too am looking to tweak the register form with catcha, I will do a try on my spare time... Any news? Link to comment Share on other sites More sharing options...
Pursuant Posted December 29, 2008 Share Posted December 29, 2008 Guys!!!!!!The PS team researched Captcha options for the registration form and determined that it lead to shopping cart abandonment... Having to register is bad enough, requiring a captcha isn't going to help --Kevin Link to comment Share on other sites More sharing options...
Fistou69 Posted January 7, 2009 Share Posted January 7, 2009 i make a tutorial please wait Hello p1r4t0s,Are you able to get your tutorial?Have you managed to integrate the captcha?Greetings. Link to comment Share on other sites More sharing options...
p1r4t0s Posted January 8, 2009 Author Share Posted January 8, 2009 hello fistou, I just got back from vacation XD now I'll put up with everything OK! Thanks for your interest and I'm reviewing now. Link to comment Share on other sites More sharing options...
Fistou69 Posted January 8, 2009 Share Posted January 8, 2009 Hello p1r4t0s,Thank you in advance and good work .. ;-) Greetings. Link to comment Share on other sites More sharing options...
Travis Posted January 14, 2009 Share Posted January 14, 2009 Is this for version 1.1 or for 1.0?EDIT: Does this work for English? Link to comment Share on other sites More sharing options...
Travis Posted January 20, 2009 Share Posted January 20, 2009 I couldn't get this to work on version 1.1 is it just me or does it not work on it?EDIT: If its just me ill try again Link to comment Share on other sites More sharing options...
Fistou69 Posted January 20, 2009 Share Posted January 20, 2009 hello fistou, I just got back from vacation XD now I'll put up with everything OK! Thanks for your interest and I'm reviewing now. Hello p1r4t0s,Have you managed to set up the captcha module for the registration for v1.1.0.5 ?Greetings. Link to comment Share on other sites More sharing options...
Travis Posted January 23, 2009 Share Posted January 23, 2009 Any luck? Link to comment Share on other sites More sharing options...
mandrake Posted January 23, 2009 Share Posted January 23, 2009 Bonsoir Fistou,Je t'ai laissé un MP pour ce sujet,Merci par avance pour ta réponse !Cordialement,Mandrake. Link to comment Share on other sites More sharing options...
Fistou69 Posted January 23, 2009 Share Posted January 23, 2009 Je t'ai laissé un MP pour ce sujet, Mandrake je t'ai répondu.Bonne soirée. Link to comment Share on other sites More sharing options...
p1r4t0s Posted January 23, 2009 Author Share Posted January 23, 2009 hello guys, i have a problem whit my host provider... and i have a busy week, very hard. thankyou to godaddy.com.sucks xD i actually uploading my test page of prestashop v1.1.0.5 i work in it now. Link to comment Share on other sites More sharing options...
Travis Posted January 24, 2009 Share Posted January 24, 2009 Hows you wonderful, and very helpful work going? Link to comment Share on other sites More sharing options...
Fistou69 Posted January 24, 2009 Share Posted January 24, 2009 Hello p1r4t0s,your contribution does not work on v1.1.0.5.I either failed to install it.I find myself with a blank page.Greetings. Link to comment Share on other sites More sharing options...
Travis Posted January 24, 2009 Share Posted January 24, 2009 Hello p1r4t0s,your contribution does not work on v1.1.0.5.I either failed to install it.I find myself with a blank page.Greetings. I think he is fixing it. Link to comment Share on other sites More sharing options...
Travis Posted January 29, 2009 Share Posted January 29, 2009 Any more news? Link to comment Share on other sites More sharing options...
p1r4t0s Posted February 3, 2009 Author Share Posted February 3, 2009 no yet... Link to comment Share on other sites More sharing options...
mandrake Posted February 3, 2009 Share Posted February 3, 2009 Hi, Captcha is released and fonctionnaly correctly !with 1.105 (final)Click here from download the release !Best regards,Mandrake. captcha-prestashop.zip Link to comment Share on other sites More sharing options...
cybersteph Posted February 3, 2009 Share Posted February 3, 2009 merci qui?? Link to comment Share on other sites More sharing options...
p1r4t0s Posted February 3, 2009 Author Share Posted February 3, 2009 testing.... Link to comment Share on other sites More sharing options...
mandrake Posted February 3, 2009 Share Posted February 3, 2009 Merci Mamie Nova ! ;-)Non sérieusement, grands remerciements (à nouveau car je t'ai déjà remercié sur l'autre post) à Cybersteph, c'est vraiment le top pour sécuriser le formulaire de contact !Cordialement,Mandrake. Link to comment Share on other sites More sharing options...
Ardian Yuli Setyanto Posted February 10, 2009 Share Posted February 10, 2009 Hi, Captcha is released and fonctionnaly correctly !with 1.105 (final)Click here from download the release !Best regards,Mandrake. Thanks for this download Mandrake Link to comment Share on other sites More sharing options...
mandrake Posted February 10, 2009 Share Posted February 10, 2009 ;-) Thank you for Cybersteph (conceptor)Best regards,Mandrake. Link to comment Share on other sites More sharing options...
Prestafreak™ Posted February 10, 2009 Share Posted February 10, 2009 Hi, Captcha is released and fonctionnaly correctly !with 1.105 (final)Click here from download the release !Best regards,Mandrake. Thanks Mandrake... for the download Link to comment Share on other sites More sharing options...
albos Posted February 11, 2009 Share Posted February 11, 2009 Hello , i am looking to insert a Captcha on New user register form.how can i do this ?thank you Link to comment Share on other sites More sharing options...
VIXUS Posted February 11, 2009 Share Posted February 11, 2009 Hi, Captcha is released and fonctionnaly correctly !with 1.105 (final)Click here from download the release !Best regards,Mandrake. Having problem with france instructions... can someone write readme in english? Link to comment Share on other sites More sharing options...
micm Posted February 18, 2009 Share Posted February 18, 2009 [résolu]bonjour a tousje viens d'installer "captcha-prestashop.zip" mais j'ai un petit soucis - l'image n'apparait pas (voir fichier joint) - je pense que c'est lié au répertoire d'install de prestashop que je n'ai pas mis à la racine mais dans le répertoire "boutik".Quelqu'un peut il me dire quel fichier modifié pour visuliser les CAPTCHA.merci d'avancej'ai trouvé la solution >> http://www.prestashop.com/forums/viewthread/11854/#53890 Link to comment Share on other sites More sharing options...
cybersteph Posted February 18, 2009 Share Posted February 18, 2009 ton dossier captcha n'est pas au bon endroit, il faut mettre le mettre à la racine comme indiqué, et cela doit marcher Link to comment Share on other sites More sharing options...
patrick-lmpp Posted March 9, 2009 Share Posted March 9, 2009 Bonjour,Je viens de faire l'installation et j'ai vérifié que les fichiers sont bien dans les bons répertoire mais le formulaire ne me propose pas la sécurisation.Merci de jeter un coup d'œil. capchat.doc Link to comment Share on other sites More sharing options...
Pursuant Posted March 10, 2009 Share Posted March 10, 2009 You do not want registration forms to use a captcha.It leads to shopping cart abandonmentWhat you DO want is a SIMPLE registration that takes as little time as possible and has as few steps as possible. Thats what PS has right now.--Kevin Link to comment Share on other sites More sharing options...
patrick-lmpp Posted March 11, 2009 Share Posted March 11, 2009 Merci Kevin,mais il y a un petit problème car je ne parle pas le moins du monde l'anglais ...Si quelqu'un pouvais me le dire en français se serait super.@+++ Link to comment Share on other sites More sharing options...
dany Posted March 12, 2009 Share Posted March 12, 2009 Bonjour,j'ai mis emplace captcha-prestashopmais je recois une erreur sur la page, quelqu'un a une idée d'ou ca vient ?image ci joint j'utilise presta 1.1 Link to comment Share on other sites More sharing options...
VIXUS Posted March 15, 2009 Share Posted March 15, 2009 can i add this captcha in order or registration form? Link to comment Share on other sites More sharing options...
Darkmarauder Posted March 22, 2009 Share Posted March 22, 2009 Mandrake,I have installed the latest captcha module and am having some problems in my Prestashop v1.1.0.5 testshop.After copying across all the files, I go to my shop. When clicking on 'contact' I get:-Parse error: syntax error, unexpected T_VARIABLE in /home/xxxxxx/public_html/xxxxxxxx.com/Shop/testshop/contact-form.php on line 1(obviously with the x's being replaced by the correct path to an existing file.Any ideas please? Link to comment Share on other sites More sharing options...
fkeuning Posted April 1, 2009 Share Posted April 1, 2009 Can we keep this in English please? Any news about the english readme file? Link to comment Share on other sites More sharing options...
tomasz_kubiak Posted April 27, 2009 Share Posted April 27, 2009 i've all done with instruction from first post, but i dont have any Captcha Picture at all. just a plain "Send message form".if i'm right, captcha catalog should be placed in modules directory, right? if so... contact-form.php should have... include(_PS_MODULE_DIR_.'/captcha/securimage.php'); in oryginal file is... include(dirname(__FILE__).'/captcha/securimage.php'); without it "send message form" is blank.any clue? Link to comment Share on other sites More sharing options...
Big Steve Posted May 4, 2009 Share Posted May 4, 2009 Bonjour,Est ce que quelqu'un la tester en local cette modification ? Car si l'installation ne pose aucun problème (le répertoire captcha à la racine, remplacement de contact-form.php également à la racine et enfin remplacement du contact-form.tpl dans le repertoire de notre theme), jusque là tout est ok. Le formulaire s'affiche bien mais pas le captcha. Je n'ai pas une "image cassée", je n'ai absolument rien qui s'affiche à l'endroit captcha.Peut-être que le script nécessite une librairie qui n'est pas chargée de base dans xampp (package mysql+apache+ ...), bref j'en sais rien.Merci d'avance.Note: Je précise bien en local car en prod sur mon serveur (ovh) cela fonctionne. Link to comment Share on other sites More sharing options...
Milton Posted May 9, 2009 Share Posted May 9, 2009 No Work for me. :-S My Installation1.-delete "contact-form.php" of www.mydomain.com/contact-form.php2.-delete "contact-form.tpl" of www.mydomain.com/themes/prestashop/contact-form.tpl3.-Upload "captcha" whit all files to www.mydomain.com/themes/prestashop/captcha4.-Upload new file"contact-form.tpl" in www.mydomain.com/themes/prestashop/contact-form.tpl5.-Upload new file "contact-form.php" of www.mydomain.com/contact-form.phpthat I am making bad :question: Help me Sr.MandrakeVersion 1.1.0.5 Link to comment Share on other sites More sharing options...
+Ying+ Posted May 17, 2009 Share Posted May 17, 2009 Himodule was not work for me, i modified some code and it's now working (for me)so i wanna share maybe it can be useful for someoneHow to install1. Modify 'contact-form.php' line 15, put your website url instead 'yourwebsitename' and save file 'captid' => 'http://yourwebsitename.com/captcha/securimage_show.php?sid='.md5(uniqid(time())) 2. Upload folder 'captcha' to your public_html directory (root directory)3. replace 'contact-form.php' in your public_html directory (root directory)4. replace 'contact-form.tpl' in your shop theme directorydone!!Note: re-attached filecaptcha.zip 1 Link to comment Share on other sites More sharing options...
+Ying+ Posted May 17, 2009 Share Posted May 17, 2009 sample from my site Link to comment Share on other sites More sharing options...
JWToups Posted May 18, 2009 Share Posted May 18, 2009 Ying,I keep getting an "invalid message" error every time I try to submit the form after installing your Captcha. It was working fine before. I thought I might not have entered the Captcha sequence correctly at first, but this is happening every time I try. Link to comment Share on other sites More sharing options...
+Ying+ Posted May 19, 2009 Share Posted May 19, 2009 Ying,I keep getting an "invalid message" error every time I try to submit the form after installing your Captcha. It was working fine before. I thought I might not have entered the Captcha sequence correctly at first, but this is happening every time I try. Hi JWToups,I just re-attached file 'captcha.zip'first time i attached, one file was missing from folder 'captcha', my mistake try to download new file i attached above and re-upload captcha folder again, i guess your error message will be goneit's work perfectly on my website Link to comment Share on other sites More sharing options...
JWToups Posted May 19, 2009 Share Posted May 19, 2009 Thanks for checking it out. The only issue is that it's working perfectly in Internet Explorer, but I'm still getting the same error as before in Firefox. Odd. Link to comment Share on other sites More sharing options...
+Ying+ Posted May 19, 2009 Share Posted May 19, 2009 Thanks for checking it out. The only issue is that it's working perfectly in Internet Explorer, but I'm still getting the same error as before in Firefox. Odd. umm.. i tested it on IE, FF and Chromeit's workingtry to clear browser cache and test againi think this captcha is needed, i've got spam via contact form many timeshope next version of presta will include it Link to comment Share on other sites More sharing options...
JWToups Posted June 23, 2009 Share Posted June 23, 2009 Just wanted to post back and say that it's working fine now after a reinstall. Not sure what the issue was...probably the browser cache, as you suggested. Thanks a lot! Link to comment Share on other sites More sharing options...
giggsirish Posted July 14, 2009 Share Posted July 14, 2009 Hi Guys,Have followed the instructions exactly but getting the below when I test the contact form:There is 1 error:01. invalid message.How do I resolve this? Link to comment Share on other sites More sharing options...
p1r4t0s Posted July 14, 2009 Author Share Posted July 14, 2009 try to write someting in the menssage.and read the post # 47 and # 50 Link to comment Share on other sites More sharing options...
Balefire Posted July 15, 2009 Share Posted July 15, 2009 try to write someting in the menssage.and read the post # 47 and # 50 This message is being re-used to indicate that the Captcha response was incorrect. I tried editing this to something more friendly like "Incorrect Captcha entry, please try again" but then got the "Error: mail parameters are corrupted" message when entering the contact form because that error message did not exist. Looking into how to either add that to the list of error messages or changing the updated contact-form.php. Link to comment Share on other sites More sharing options...
Ecommerce Themes Posted April 4, 2010 Share Posted April 4, 2010 I too cannot get it to work on Google Chrome. I works fine on Internet Explorer.Tried a reinstall - still doesn't work Link to comment Share on other sites More sharing options...
keweli Posted May 28, 2010 Share Posted May 28, 2010 It doesn't work at all for me. Invalid message every time.I compared the two versions and they are quit different.ORIGINAL: <?php $useSSL = true; include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $errors = array(); $smarty->assign('contacts', Contact::getContacts(intval($cookie->id_lang))); if (Tools::isSubmit('submitMessage')) { if (!($from = Tools::getValue('from')) OR !Validate::isEmail($from)) $errors[] = Tools::displayError('invalid e-mail address'); elseif (!($message = nl2br2(Tools::getValue('message')))) $errors[] = Tools::displayError('message cannot be blank'); elseif (!Validate::isMessage($message)) $errors[] = Tools::displayError('invalid message'); elseif (!($id_contact = intval(Tools::getValue('id_contact'))) OR !(Validate::isLoadedObject($contact = new Contact(intval($id_contact), intval($cookie->id_lang))))) $errors[] = Tools::displayError('please select a contact in the list'); else { if (intval($cookie->id_customer)) $customer = new Customer(intval($cookie->id_customer)); if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email, $contact->name, $from, (intval($cookie->id_customer) ? $customer->firstname.' '.$customer->lastname : $from))) $smarty->assign('confirmation', 1); else $errors[] = Tools::displayError('an error occurred while sending message'); } } $email = Tools::safeOutput(Tools::getValue('from', ((isset($cookie) AND isset($cookie->email) AND Validate::isEmail($cookie->email)) ? $cookie->email : ''))); $smarty->assign(array( 'errors' => $errors, 'email' => $email )); $smarty->display(_PS_THEME_DIR_.'contact-form.tpl'); include(dirname(__FILE__).'/footer.php'); ?> Link to comment Share on other sites More sharing options...
gociak Posted March 21, 2011 Share Posted March 21, 2011 Here is captcha validation for registration. It works for me.Replace:authentication.phpthemes/prestashop/authentication.tplEverything you have to edit is include(dirname(__FILE__).'/themes/prestashop/captcha/securimage.php'); in authentication.php with name of your theme.Download: registration with captcha v1.3.4.0 Link to comment Share on other sites More sharing options...
Sticki Posted May 26, 2011 Share Posted May 26, 2011 Hallo :-)somebody try it in version 1.4.1 ????? Link to comment Share on other sites More sharing options...
Sticki Posted June 1, 2011 Share Posted June 1, 2011 Hallo :-)is this compatible with PS V1.4.1 ?? Link to comment Share on other sites More sharing options...
JJ Choo Posted October 14, 2011 Share Posted October 14, 2011 Ya is it compatible ? Link to comment Share on other sites More sharing options...
Sumbers Posted October 22, 2013 Share Posted October 22, 2013 Hi module was not work for me, i modified some code and it's now working (for me) so i wanna share maybe it can be useful for someone How to install 1. Modify 'contact-form.php' line 15, put your website url instead 'yourwebsitename' and save file 2. Upload folder 'captcha' to your public_html directory (root directory) 3. replace 'contact-form.php' in your public_html directory (root directory) 4. replace 'contact-form.tpl' in your shop theme directory done!! Note: re-attached file Thx, it work well on presta 1.4 ! =) 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