pubguv Posted April 27, 2012 Posted April 27, 2012 (edited) Hi all,Found this free module while surfing the net, thought it may be useful to some other users.It allows customers to verify their account via a link sent by email, useful to stop people registering with fake email accounts.One thing you may need to change, the first time I uploaded the mod (activationbymail_2010_04_14.zip ) it was not showing under my modules tab, I renamed the zip file to activationbymail.zip and reuploaded, works fine on 1.4.7 Jayactivationbymail.zip Added by mdekker - DO NOT REMOVE This module has several issues: - Cannot be uploaded through Back Office. Requires you to find the right directory and upload this through FTP. - Not compatible with PrestaShop 1.5 or 1.6 These warnings can be removed as soon as the issues have been resolved. Edited March 14, 2016 by mdekker Warning (see edit history) 5 Share this post Link to post Share on other sites More sharing options...
Mike Kranzler Posted April 27, 2012 Posted April 27, 2012 Hi pubguv, Per the rules of the PrestaShop forums, all modules and threads posted in the Free section must include the files directly within the thread, and not lead to an external site. I will check back this afternoon to ensure you have made the necessary changes, and will otherwise have to move this thread to the Paid section. -Mike Share this post Link to post Share on other sites More sharing options...
pubguv Posted April 27, 2012 Posted April 27, 2012 Hi Mike, Sorry, file added now. Jay Share this post Link to post Share on other sites More sharing options...
Mike Kranzler Posted April 27, 2012 Posted April 27, 2012 Hi Mike, Sorry, file added now. Jay Thank you good sir! -Mike 1 1 Share this post Link to post Share on other sites More sharing options...
Troy Posted April 27, 2012 Posted April 27, 2012 This module works for 1.4.7.3 and thanks Note If anyone wants to change this sentence :- 'Your registration requires final activation prior to being fully available. This is so that we can verify your email address. We have sent you an email with an unique activation link for your registration. You will need to click on this link to have your account activated. Once activated, you will be able to login to our shop.' You can find it under info.tpl 1 Share this post Link to post Share on other sites More sharing options...
big babol Posted April 29, 2012 Posted April 29, 2012 Hello, it works well. Only one thing, when you click on the link and go back in the shop, you'll be warned if everything went well. need to enter a confirmation message. excuse my bad English. Share this post Link to post Share on other sites More sharing options...
Troy Posted April 29, 2012 Posted April 29, 2012 Hello, it works well. Only one thing, when you click on the link and go back in the shop, you'll be warned if everything went well. need to enter a confirmation message. excuse my bad English. You can change all those chunk of words under info.tpl 1 Share this post Link to post Share on other sites More sharing options...
big babol Posted April 30, 2012 Posted April 30, 2012 Hello Troy,since they are not practical, you tell me how to do thanks 1 Share this post Link to post Share on other sites More sharing options...
big babol Posted May 2, 2012 Posted May 2, 2012 please help me..... 1 Share this post Link to post Share on other sites More sharing options...
big babol Posted May 2, 2012 Posted May 2, 2012 up 1 Share this post Link to post Share on other sites More sharing options...
Troy Posted May 2, 2012 Posted May 2, 2012 As in changing those words? Share this post Link to post Share on other sites More sharing options...
AFemaleProdigy Posted May 4, 2012 Posted May 4, 2012 Awesome! I will try it out and report back how it works out! Thank you! Share this post Link to post Share on other sites More sharing options...
Mellow Posted May 10, 2012 Posted May 10, 2012 Maybe some of you could be interested by this topic... http://www.prestasho...657#entry820657 Regards 1 Share this post Link to post Share on other sites More sharing options...
bobmartinusa Posted May 11, 2012 Posted May 11, 2012 100% working superb module and a must for all prestashop installations. I was also looking for a module or tweak wherein only registered users can add to cart 1 Share this post Link to post Share on other sites More sharing options...
yesiam Posted May 17, 2012 Posted May 17, 2012 Thanks ! 1 Share this post Link to post Share on other sites More sharing options...
Eugenio Posted May 24, 2012 Posted May 24, 2012 Wich archives i have to modify to convert to Spanish? Thanks 1 Share this post Link to post Share on other sites More sharing options...
lweinlan Posted August 18, 2012 Posted August 18, 2012 hello, thank you for this module. I uploaded it to my Prestashop back office (uploaded the file activationbymail.zip ). My backoffice prestashop says upload was successful... but I can not find the module. Under which module is it in the prestashop back office ? Share this post Link to post Share on other sites More sharing options...
vynx Posted November 18, 2012 Posted November 18, 2012 try to search activation 1 Share this post Link to post Share on other sites More sharing options...
gparora Posted December 7, 2012 Posted December 7, 2012 hello, thank you for this module. I uploaded it to my Prestashop back office (uploaded the file activationbymail.zip ). My backoffice prestashop says upload was successful... but I can not find the module. Under which module is it in the prestashop back office ? I have the same problem... Anyone please help!!! Share this post Link to post Share on other sites More sharing options...
archproject Posted January 2, 2013 Posted January 2, 2013 Does this module work on PS 1.5.3.1? 2 Share this post Link to post Share on other sites More sharing options...
Pepozzo Posted January 13, 2013 Posted January 13, 2013 1.5.3.1 compatibilty? 1 Share this post Link to post Share on other sites More sharing options...
Connie24 Posted January 15, 2013 Posted January 15, 2013 Pls reply for 1.5.3.1. Thanks. 1 Share this post Link to post Share on other sites More sharing options...
lweinlan Posted January 15, 2013 Posted January 15, 2013 hello, I use this module on 1.4.8. I do not know if it works on 1.5.3.1 ? 1 Share this post Link to post Share on other sites More sharing options...
Connie24 Posted January 17, 2013 Posted January 17, 2013 Su PS1.5.3 l'installazione viene effettuata, ma alla fine della registrazione dell'account viene visualizzata la pagina 404 e non invia nessuna mail (oltre a quelle normali). Qualcuno sa se ci sono operazioni da fare? Il modulo non ha nessuna configurazione?!?! 1 Share this post Link to post Share on other sites More sharing options...
giannakis Posted January 18, 2013 Posted January 18, 2013 (edited) I have installed this module in 1.5.3.1. I have a problem when the user finishes register him redirect to this Link http://www.myshop.com/eshop/en/index.php?controller=modules/activationbymail/info I cant find what is wrong Thanks Edited January 18, 2013 by giannakis (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
mainoknok Posted February 25, 2013 Posted February 25, 2013 (edited) Installed and test on 1.5.3.1 localhost. Not working, the validation link didn't do anything and opens up to.. Not Found The requested URL /prestashop/index.phpmodules/activationbymail/activation.php was not found on this server. Anyone have any idea how to fix this? the link problem. Another problem is right after registration. It shows. PAGE NOT AVAILABLE We're sorry, but the Web address you entered is no longer available instead of redirect to the information in the info.tpl of Your registration requires final activation prior to being fully available. This is so that we can verify your email address. We have sent you an email with an unique activation link for your registration. You will need to click on this link to have your account activated. Once activated, you will be able to login to our shop.' Any thoughts? Edited February 26, 2013 by mainoknok (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
Speed16 Posted February 26, 2013 Posted February 26, 2013 hello, I use prestashop version 1.4.9 and it works well. respects Share this post Link to post Share on other sites More sharing options...
mainoknok Posted February 27, 2013 Posted February 27, 2013 Made a change to the link and now it's working on 1.5.3.1 Only problem is, there's no message after account registration saying there will be a validation link send to the registered email" and another problem is there's no resend validation link. Anyone have any clue on how to set this? 1 Share this post Link to post Share on other sites More sharing options...
Informatik MP Posted February 28, 2013 Posted February 28, 2013 Does this module work on PS 1.5.3.1? I've got this message whe I tried to install it in my store: The module activationbymail_2010_04_14 you uploaded is not a module 1 Share this post Link to post Share on other sites More sharing options...
mainoknok Posted February 28, 2013 Posted February 28, 2013 I've got this message whe I tried to install it in my store: Upload it without the date. Remove it from the folder and reupload as activationbymail 1 Share this post Link to post Share on other sites More sharing options...
Informatik MP Posted February 28, 2013 Posted February 28, 2013 Upload it without the date. Remove it from the folder and reupload as activationbymail Worked as you said with PS 1.5.3.1 Thanks! Share this post Link to post Share on other sites More sharing options...
mainoknok Posted February 28, 2013 Posted February 28, 2013 Worked as you said with PS 1.5.3.1 Thanks! Welcome By the way, do you able to get the page where it says that the validation link will be send to them after they register? 1 Share this post Link to post Share on other sites More sharing options...
coolu Posted March 4, 2013 Posted March 4, 2013 hi all i installed the module on PrestaShop 1.5.3.1 but when the account http://www.mywebsite.com/index.php?controller=modules/activationbymail/info This page is not available Share this post Link to post Share on other sites More sharing options...
cyjambo Posted March 20, 2013 Posted March 20, 2013 Made a change to the link and now it's working on 1.5.3.1 Only problem is, there's no message after account registration saying there will be a validation link send to the registered email" and another problem is there's no resend validation link. Anyone have any clue on how to set this? Hello everyone, Did anyone solve these issues? The module works with 1.5.3.1 which is great, but it would be nice to have full funcionalty to make it nicer. Jambo 1 Share this post Link to post Share on other sites More sharing options...
Informatik MP Posted March 20, 2013 Posted March 20, 2013 I had some bugs too... the activation link isn't working every time... So I choosed to uninstall it and work without this module... Anyway, I receive an email when an account is created so I don't really need this. 1 Share this post Link to post Share on other sites More sharing options...
oadrian Posted April 3, 2013 Posted April 3, 2013 Hi! The link is broken. Somebody knows where can i get this free module or similar module to activate account by email. Thanks ! Adrian 1 Share this post Link to post Share on other sites More sharing options...
Renee599 Posted April 4, 2013 Posted April 4, 2013 Maybe some of you could be interested by this topic... Share this post Link to post Share on other sites More sharing options...
Informatik MP Posted April 4, 2013 Posted April 4, 2013 With PS configured properly, you shouldn't need this module. 1 Share this post Link to post Share on other sites More sharing options...
cyjambo Posted April 4, 2013 Posted April 4, 2013 With PS configured properly, you shouldn't need this module. Could you please elaborate on this? Why do you think so? Thanks! Share this post Link to post Share on other sites More sharing options...
berta recchia Posted April 8, 2013 Posted April 8, 2013 The problem with my 2 sites ( one PS old version and one new ) is that when the customer creates an account the shopping carts are emptied as soon as they complete the registration. Even after they click the activation link, the cart is always empty and they have to start finding all the products again. the "Cart re-display at login" in the BO is enabled. I don't have this problem if the module is disabled. Is anyone else having this problem? Share this post Link to post Share on other sites More sharing options...
Dead2010 Posted April 14, 2013 Posted April 14, 2013 hello, I use prestashop version 1.4.10 and it works well. respects 1 Share this post Link to post Share on other sites More sharing options...
Zaheer Ahmad Awan Posted May 26, 2013 Posted May 26, 2013 Hi, I just tried it on 1.5 .4.1 and its not working there. When you complete the registration, it takes you to the home page and does nothing. Your data is inserted into database but you can neither sign in nor you get any verification email. Developer kindly fix this if you can. 1 Share this post Link to post Share on other sites More sharing options...
dominikcebula Posted July 2, 2013 Posted July 2, 2013 The official page of the module is here: http://code.google.com/p/activationbymail/ I will add support for Prestashop 1.5.x in few days. 1 1 Share this post Link to post Share on other sites More sharing options...
dominikcebula Posted July 3, 2013 Posted July 3, 2013 New version that supports Prestashop 1.5.x was published. Module can be downloaded here: http://code.google.com/p/activationbymail/ Please read Module customization section if you need to make some customizations to match your needs. 3 1 Share this post Link to post Share on other sites More sharing options...
coolu Posted July 10, 2013 Posted July 10, 2013 New version that supports Prestashop 1.5.x was published. Module can be downloaded here: http://code.google.c...tivationbymail/ Please read Module customization section if you need to make some customizations to match your needs. thanks a lot friend will check it out 1 1 Share this post Link to post Share on other sites More sharing options...
tdr170 Posted July 19, 2013 Posted July 19, 2013 All works until I click the activation link in email sent then I get a 404 This page is not available error. 1 Share this post Link to post Share on other sites More sharing options...
letrof Posted July 22, 2013 Posted July 22, 2013 any update on this? All works until I click the activation link in email sent then I get a 404 This page is not available error. 1 Share this post Link to post Share on other sites More sharing options...
gianno74 Posted July 29, 2013 Posted July 29, 2013 Hi all! I have the same problem. All works until I click the activation link in email sent, then I get a 404 error. My version is PS 1.5.3.1 1 Share this post Link to post Share on other sites More sharing options...
Vilas Posted August 1, 2013 Posted August 1, 2013 Works perfectly on 1.5.4.1 Only below change should be done to use. in file "activationbymail.php" line 73 the '&link=' should be replaced by '?link=' Those who are getting 404 error . Thanks 4 Share this post Link to post Share on other sites More sharing options...
tdr170 Posted August 1, 2013 Posted August 1, 2013 Good Job Vilas, that fixed the 404 error now the activation link works. Again Thank You. 1 Share this post Link to post Share on other sites More sharing options...
gianno74 Posted August 1, 2013 Posted August 1, 2013 Thank you Vilas. Now the activation works perfectly. 1 Share this post Link to post Share on other sites More sharing options...
karthiiiiiiiiiik Posted August 8, 2013 Posted August 8, 2013 (edited) Hi I tried this module in 1.5.2 works perfectly for me with out any change... thank you dominik Edited August 8, 2013 by karthik who_am_i (see edit history) Share this post Link to post Share on other sites More sharing options...
Nihi Posted August 18, 2013 Posted August 18, 2013 Great Module But as another user already mentioned, is there a possibility to keep the shopping carts content so the customer does not have to collect all the products again? Greetings Nihi Share this post Link to post Share on other sites More sharing options...
x13_pl Posted August 18, 2013 Posted August 18, 2013 it works you opt to register for an account? 1 Share this post Link to post Share on other sites More sharing options...
Nihi Posted August 18, 2013 Posted August 18, 2013 (edited) @xirus Sorry, what exactly do you mean by 'opt to register for an account? Edited August 18, 2013 by Nihi (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
Coloranti Posted September 15, 2013 Posted September 15, 2013 Hi, I have installed this on 1.5.5 and it doesn't work. It creates the new user but it doesn't send an activation link in the mail. The mail it sends only says that the user has been created and shows the login credentials. Can anyone help? Thanks 1 Share this post Link to post Share on other sites More sharing options...
W1bb1y Posted September 19, 2013 Posted September 19, 2013 Yup, I have exactly the same issue. Cart re-display at login option is configured correctly in Prefs>Customers and works as expected with this module disabled. However, the cart is not persisted if you register an account on-the-fly on your way to checkout. Immediately after the activation notification, the cart is lost and even after activation (which works ok) the cart is still lost and in my opinion this is a deal breaker as it's likely to put customers off having to re-add all their products again. Bug report here: https://code.google.com/p/activationbymail/issues/list Almost spot on, if you can fix this cart issue.Cheers The problem with my 2 sites ( one PS old version and one new ) is that when the customer creates an account the shopping carts are emptied as soon as they complete the registration.Even after they click the activation link, the cart is always empty and they have to start finding all the products again.the "Cart re-display at login" in the BO is enabled. I don't have this problem if the module is disabled.Is anyone else having this problem? 1 Share this post Link to post Share on other sites More sharing options...
AlmeraGTI Posted October 10, 2013 Posted October 10, 2013 Thank you to the developer, nice module and used it in previous versions of prestashop But I am having issues with Prestashop 1.5.6 in that once I create a account it´s sending a "Mail Failure -malformed recipient address" (mail not sent error) but when I click the activation link in this e-mail it does works as the "activated the account" message does comes up on the webpage. I don´t understand as it´s sending the prestashop e-mails OK to the same e-mail address, it´s just the ones from the module That I am getting the problem with, here is the first few lines from the e-mail A message that you sent contained one or more recipient addresses that were incorrectly constructed: *******@puntomatica.com <******@puntomatica.com>: malformed address: <******@puntomatica.com> may not follow *******@puntomatica.com This address has been ignored. There were no other addresses in your message, and so no attempt at delivery was possible. Can anyone help please ??? 1 Share this post Link to post Share on other sites More sharing options...
bojees Posted December 4, 2013 Posted December 4, 2013 ----------------------------------------------------------------------------------------------------------------------------------------- If "Friendly URL's" option is activated, your modification is ok, but if that option is not active, you must use '&link='. So, I modified the file 'activationbymail.php' like this: in file "activationbymail.php"Replace line 73 with below given code. "$read = "SELECT value FROM ps_configuration WHERE name = 'PS_REWRITING_SETTINGS'";$connect = @mysqli_connect(_DB_SERVER_, _DB_USER_, _DB_PASSWD_, _DB_NAME_);if ($connect) {$res1 = mysqli_query($connect, $read);while ($row1 = mysqli_fetch_assoc($res1)){ $config = $row1; }} else {echo('Cannot connect to database...'); exit;}mysqli_close($connect); if ($config['value'] == '0'){$link = $this->context->link->getModuleLink($this->name, 'activation') . '&link=' . $activation_link;} else {$link = $this->context->link->getModuleLink($this->name, 'activation') . '?link=' . $activation_link;} "I check if "Friendly URL's" option is activated or not to compose the activation link.----------------------------------------------------------------------------------------------------------------------------------------- I found this code in a website, did the above said replacements, The code works good, thanks a lot, but another problem i am getting is:I tested as a unregistered customer, added few items in cart, and then in check out,i registered as a new customer then got verification mail, Backend Customer status is also Enabled, after clicking verification mail. Everything is perfect until this.Problem:Following email verification URL the landing page is: "Your Account is Activated". Not the (step 2, customer address). So here what i am coming to tell is the purchase continuity is missing, ordered items in cart is missing as well as not logged in.How to fix this please help.My Prestashop Version is 1.5.4.1Thank you 1 Share this post Link to post Share on other sites More sharing options...
arash_a2k Posted December 27, 2013 Posted December 27, 2013 This is a great module ! I love it ! I want to know that how can you alert an unactivated user that their account should be activated ! I know there is a mail sent, but I want to alert a user if he hasnt used the activation link and wants to log in later ! 1 Share this post Link to post Share on other sites More sharing options...
Zorend Posted February 4, 2014 Posted February 4, 2014 Hello, i installed this module, but i did not recieve mail with activation code, my PS vesion - 1.5.6.1 1 Share this post Link to post Share on other sites More sharing options...
ballashop Posted February 8, 2014 Posted February 8, 2014 hi, I have the same problem, there is no activation code! I try to read the previous posts to better understand the problem thanks ps. I use 1.5.5.0 version 1 Share this post Link to post Share on other sites More sharing options...
karthiiiiiiiiiik Posted February 8, 2014 Posted February 8, 2014 I have tested in 1.5.5.0 and 6 version it is working.. activation by email.zip kindly try this it works .. thank to domnic 1 1 Share this post Link to post Share on other sites More sharing options...
houin Posted February 8, 2014 Posted February 8, 2014 Bonjour téléchargé version activationbymail_2013_07_03 , sur version 1.5.6.2 ,pas de mail de confirmation , n'y de code. Quelqu'un à t'il trouvé la solution .Merci 1 Share this post Link to post Share on other sites More sharing options...
houin Posted February 8, 2014 Posted February 8, 2014 Hello downloaded version activationbymail_2013_07_03, on version 1.5.6.2, no e-mail of confirmation, not it of code. Somebody in you he found the solution. Thank you 1 Share this post Link to post Share on other sites More sharing options...
ballashop Posted February 8, 2014 Posted February 8, 2014 I also have this problem, once I put a product in the shopping cart as not registered user, in the check out, I fill the fields to register as a user but I get this error: THECNICAL ERROR: unable to save account Details: Error thrown: [object Object] Text status: error if I disable the module this error does not appear. someone got the same problem? thanks 1 Share this post Link to post Share on other sites More sharing options...
senso321 Posted March 20, 2014 Posted March 20, 2014 (edited) This module is brilliant but it's got a HUGE flaw. When you have guest checkout enabled then it interrupts the process and does'nt let guest to buy products ( only registered members ). However here is a workaround to this problem Enjoy( go to activationbyemail.php and replace the current hookcreateaAccount function ) public function hookcreateAccount($req) { global $cookie; $customer = new Customer($req['newCustomer']->id); $customer->getFields(); $id_lang = $cookie->id_lang; if (Tools::getValue('submitGuestAccount')) $_GET['display_guest_checkout'] = 1; if (Tools::getValue('display_guest_checkout')) { if (Configuration::get('PS_RESTRICT_DELIVERED_COUNTRIES')) $countries = Carrier::getDeliveredCountries($this->context->language->id, true, true); else $countries = Country::getCountries($this->context->language->id, true); if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { // get all countries as language (xy) or language-country (wz-XY) $array = array(); preg_match("#(?<=-)\w\w|\w\w(?!-)#",$_SERVER['HTTP_ACCEPT_LANGUAGE'],$array); if (!Validate::isLanguageIsoCode($array[0]) || !($sl_country = Country::getByIso($array[0]))) $sl_country = (int)Configuration::get('PS_COUNTRY_DEFAULT'); } else $sl_country = (int)Tools::getValue('id_country', Configuration::get('PS_COUNTRY_DEFAULT')); $this->context->smarty->assign(array( 'inOrderProcess' => true, 'PS_GUEST_CHECKOUT_ENABLED' => Configuration::get('PS_GUEST_CHECKOUT_ENABLED'), 'PS_REGISTRATION_PROCESS_TYPE' => Configuration::get('PS_REGISTRATION_PROCESS_TYPE'), 'sl_country' => (int)$sl_country, 'countries' => $countries )); } else { $cookie->logout(); $cookie->id_lang = $id_lang; $cookie->write(); $activation_link = md5(uniqid(rand(), true)); $link = $this->context->link->getModuleLink($this->name, 'activation') . '?link=' . $activation_link; $sql = sprintf("update %scustomer set active=0, activation_link='%s' where id_customer=%d", _DB_PREFIX_, $activation_link, $req['newCustomer']->id); Db::getInstance()->Execute($sql); Mail::Send($id_lang, 'account_activation', $this->l('Account activation'), array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd'), '{link}' => $link), $customer->email, NULL, NULL, NULL, NULL, NULL, 'modules/activationbymail/mails/'); Tools::redirect($this->context->link->getModuleLink($this->name, 'info')); } } BR's Edited March 20, 2014 by senso321 (see edit history) Share this post Link to post Share on other sites More sharing options...
Dougadanny Posted March 26, 2014 Posted March 26, 2014 This module is brilliant but it's got a HUGE flaw. When you have guest checkout enabled then it interrupts the process and does'nt let guest to buy products ( only registered members ). However here is a workaround to this problem Enjoy ( go to activationbyemail.php and replace the current hookcreateaAccount function ) public function hookcreateAccount($req) { global $cookie; $customer = new Customer($req['newCustomer']->id); $customer->getFields(); $id_lang = $cookie->id_lang; if (Tools::getValue('submitGuestAccount')) $_GET['display_guest_checkout'] = 1; if (Tools::getValue('display_guest_checkout')) { if (Configuration::get('PS_RESTRICT_DELIVERED_COUNTRIES')) $countries = Carrier::getDeliveredCountries($this->context->language->id, true, true); else $countries = Country::getCountries($this->context->language->id, true); if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { // get all countries as language (xy) or language-country (wz-XY) $array = array(); preg_match("#(?<=-)\w\w|\w\w(?!-)#",$_SERVER['HTTP_ACCEPT_LANGUAGE'],$array); if (!Validate::isLanguageIsoCode($array[0]) || !($sl_country = Country::getByIso($array[0]))) $sl_country = (int)Configuration::get('PS_COUNTRY_DEFAULT'); } else $sl_country = (int)Tools::getValue('id_country', Configuration::get('PS_COUNTRY_DEFAULT')); $this->context->smarty->assign(array( 'inOrderProcess' => true, 'PS_GUEST_CHECKOUT_ENABLED' => Configuration::get('PS_GUEST_CHECKOUT_ENABLED'), 'PS_REGISTRATION_PROCESS_TYPE' => Configuration::get('PS_REGISTRATION_PROCESS_TYPE'), 'sl_country' => (int)$sl_country, 'countries' => $countries )); } else { $cookie->logout(); $cookie->id_lang = $id_lang; $cookie->write(); $activation_link = md5(uniqid(rand(), true)); $link = $this->context->link->getModuleLink($this->name, 'activation') . '?link=' . $activation_link; $sql = sprintf("update %scustomer set active=0, activation_link='%s' where id_customer=%d", _DB_PREFIX_, $activation_link, $req['newCustomer']->id); Db::getInstance()->Execute($sql); Mail::Send($id_lang, 'account_activation', $this->l('Account activation'), array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd'), '{link}' => $link), $customer->email, NULL, NULL, NULL, NULL, NULL, 'modules/activationbymail/mails/'); Tools::redirect($this->context->link->getModuleLink($this->name, 'info')); } } BR's Hi Senso321, This did not work for me. Tested on fresh install of 1.6.0.5, and recent version of Activationbyemail. Tested twice: With Guest checkout enabled and then disabled Cleared cache in admin and browser after updating php file and upon each Guest checkout option change. Tested on FireFox and Chrome. In both cases the cart cleared as soon as I registered, before activation. Just to be sure, I also completed account activation within the same browser session. Does this work on your site properly? Anything else I may have missed. Would really like to use this Account activation, but has been much trouble since using it in Prestashop 1.5. Much appreciated, Daniel 1 Share this post Link to post Share on other sites More sharing options...
tobbecokta Posted March 30, 2014 Posted March 30, 2014 Hi, Am also interested in this module for Prestashop 1.6. Anyone working on an update? Share this post Link to post Share on other sites More sharing options...
system_error86 Posted April 14, 2014 Posted April 14, 2014 tobbecokta it works file in 1.6.0.6 ! take it from me! When i click the link in my email for activation, I want to send me back to my cart to continue the procedure to purchasing products ! How can I do that? Please help me! activationbymail.zip Share this post Link to post Share on other sites More sharing options...
MackStores.Com Posted April 15, 2014 Posted April 15, 2014 http://addons.prestashop.com/en/search?search_query=new+customer+email+verification try this search Share this post Link to post Share on other sites More sharing options...
system_error86 Posted April 15, 2014 Posted April 15, 2014 Is this compatible with 1.6.0.6?? Share this post Link to post Share on other sites More sharing options...
MackStores.Com Posted April 16, 2014 Posted April 16, 2014 (edited) this free module try with the one page checkout it doesn't work and the security is bad on this one. Edited April 16, 2014 by MackStores.Com (see edit history) Share this post Link to post Share on other sites More sharing options...
system_error86 Posted April 16, 2014 Posted April 16, 2014 Is this module (http://addons.presta...il verification ) compatible with version 1.6.0.6? Yes or no ? Share this post Link to post Share on other sites More sharing options...
Dougadanny Posted April 16, 2014 Posted April 16, 2014 Is this module (http://addons.presta...il verification ) compatible with version 1.6.0.6? Yes or no ? I have this installed on 1.6.0.5 and it works almost perfectly. Does eveytyhing necessary to verify and sends proper emails with link to activate account. However, it currently empties the shopping cart if registration is done during checkout. That is the only glitch we have noticed. I haven't seen any other free module. There are premium modules that show compatible with 1.6, but haven't tested. Share this post Link to post Share on other sites More sharing options...
Dougadanny Posted April 16, 2014 Posted April 16, 2014 FYI: The solution shown above at post #67 to fix and maintain the cart (i.e., not empty the cart) did not work in 1.6 and no response from forum poster on my question. Share this post Link to post Share on other sites More sharing options...
MackStores.Com Posted April 16, 2014 Posted April 16, 2014 well this free module lets the customer register in full. after the customer account is registered in full without activation it calls , Hookcreateaccount() which is after the creation of full account. it will then set the customer to unactivated. and do the further process. so anything wrong goes in between the customer is registered in full. I would sat neat dirty risky trick. and dosent work with onepage checkout. Share this post Link to post Share on other sites More sharing options...
system_error86 Posted April 16, 2014 Posted April 16, 2014 Yes I know that cause I tried too! The reason that I am looking for another module is that I need my customers when they click the activation link from their email account to redirect in their cart! Is this module (http://addons.prestashop.com/en/search?search_query=new+customer+email+verification) doing it that? Share this post Link to post Share on other sites More sharing options...
system_error86 Posted April 16, 2014 Posted April 16, 2014 Is this module ( http://addons.prestashop.com/en/search?search_query=new+customer+email+verification ) compatible with 1.0.6.6 version ? I want the cart process with 5 steps as it says in the back office of the prestashop! Is this module fictional with these settings? Yes or no? Share this post Link to post Share on other sites More sharing options...
[email protected] Posted May 2, 2014 Posted May 2, 2014 (edited) Bonjour à tous, Quelqu'un a t-il le même problème que moi??? Je peux créer le compte, envoyer le courrier et ajouter les informations dans la base de données Mais je ne peux pas vous connecter avec celui-ci. Aidez-moi s'il vous plaît PS:je travaille avec PS 1.5.3.0 Edited May 2, 2014 by [email protected] (see edit history) Share this post Link to post Share on other sites More sharing options...
MackStores.Com Posted June 7, 2014 Posted June 7, 2014 Hi, Am also interested in this module for Prestashop 1.6. Anyone working on an update? http://addons.prestashop.com/en/search?search_query=New+Customer+Email+verification+and+google+recaptcha here this one is ready but paid 1 Share this post Link to post Share on other sites More sharing options...
Odie Posted August 5, 2014 Posted August 5, 2014 Currently working fine on 1.6.0.8 Cool little module Share this post Link to post Share on other sites More sharing options...
Dougadanny Posted August 5, 2014 Posted August 5, 2014 Currently working fine on 1.6.0.8 Cool little module Hi Nzodie, On your site, does this retain the i
Recommended Posts