compret Posted February 18, 2011 Share Posted February 18, 2011 Alhamdulillah, akhirnya jadi juga nih module...Tapi sayangnya pas module ini jadi Prestashop 1.3.7 dah final, padahal module ini dibuat pake versi 1.3.6.Mohon bantuan rekan2 untuk uji coba module ini ya... (saya gk tanggung jawab kalau langsung diinstall di situs yang sudah berjalan)Blum ada dokumentasi instalasinya, penjelasan singkat sbb:1. Sebelum install module harus buat FacebookApplication dulu di sini2. Kita akan pakai AppID dan AppSecret, trus jangan lupa di settingan URL Situs aplikasi di set ke urls Prestashop.3. Backup dulu situs prestashopnya (PENTING)4. Download modulenya (lihat attachment)5. a. Folder 'classes' dikopi ke folder 'classes', overwrite file Customer.php (lebih baik buat backupny)5. b. Copy folder 'idfbcon' ke dalam fhttp://www.fileserve.com/file/7vJFVmJolder 'modules'5. c. Copy file 'authentication.php' ke folder root, terakhir copy file 'authentication.tpl' ke 'themes/prestashop/' (dalam kasus ini saya pake theme bawaan, untuk theme yang lain silakan sesuaikan sendiri ya....)6. Install module dari backoffice, set konfigurasi module (perlu Facebook APP ID dan Facebook Secret dari aplikasi FB yang sudah dibuat di langkah 1).Kekurangan yang diketahui:1. jika login menggunakan account yang belum connect dengan facebook, maka tombol facebook ikutan jadi logout (pegennya sih register/login with facebook)2. banyak lagi kekurangan lain yang perlu dicari (Bantuan rekan2 sangat diperlukan)===========================================================================Update versi 0.21. one click installation (lewati langkah 5 diatas) = belum saya testLihat Demo di siniDownload Guide di sini IDFBCon_v.0.1.zip IDFBCon_v.0.2.zip 1 Link to comment Share on other sites More sharing options...
botmez Posted February 19, 2011 Share Posted February 19, 2011 Alhamdulillah, akhirnya jadi juga nih module...Tapi sayangnya pas module ini jadi Prestashop 1.3.7 dah final, padahal module ini dibuat pake versi 1.3.6.Mohon bantuan rekan2 untuk uji coba module ini ya... (saya gk tanggung jawab kalau langsung diinstall di situs yang sudah berjalan)Blum ada dokumentasi instalasinya, penjelasan singkat sbb:1. Sebelum install module harus buat Applikasi Facebook dulu di sini2. Kita akan pakai APP ID dan APP Secret, trus jangan lupa di settingan URL Situs aplikasi di set ke urls Prestashop.3. Backup dulu situs prestashopnya (PENTING)4. Download modulenya IDFBCon_v.0.1.zip5. a. Folder 'classes' dikopi ke folder 'classes', overwrite file Customer.php (lebih baik buat backupny)5. b. Copy folder 'idfbcon' ke dalam fhttp://www.fileserve.com/file/7vJFVmJolder 'modules'5. c. Copy file 'authentication.php' ke folder root, terakhir copy file 'authentication.tpl' ke 'themes/prestashop/' (dalam kasus ini saya pake theme bawaan, untuk theme yang lain silakan sesuaikan sendiri ya....)6. Install module dari backoffice, set konfigurasi module (perlu Facebook APP ID dan Facebook Secret dari aplikasi FB yang sudah dibuat di langkah 1).Kekurangan yang diketahui:1. jika login menggunakan account yang belum connect dengan facebook, maka tombol facebook ikutan jadi logout (pegennya sih register/login with facebook)2. banyak lagi kekurangan lain yang perlu dicari (Bantuan rekan2 sangat diperlukan)Demo disinicuman minta subdomain dari temen. Can you translate step to install this module ? Link to comment Share on other sites More sharing options...
compret Posted February 20, 2011 Author Share Posted February 20, 2011 @botmezyou can download instalation guide here Link to comment Share on other sites More sharing options...
botmez Posted February 20, 2011 Share Posted February 20, 2011 @botmezyou can download instalation guide here Thx !Doesn't work with Version 1.3.1.1 ? how to fix it ?Nadine Link to comment Share on other sites More sharing options...
probashi Posted February 26, 2011 Share Posted February 26, 2011 Hi, can this be downloaded for anywhere else as fileserve.com just won't allow the download 1 Link to comment Share on other sites More sharing options...
mehdi2405 Posted February 26, 2011 Share Posted February 26, 2011 hello can i use it for PS 1.3.1 ?Thk Link to comment Share on other sites More sharing options...
compret Posted February 26, 2011 Author Share Posted February 26, 2011 @botmezSorry can't help you. How can I help you if you're not providing enough information about why it doesn't works. @probashiYou can download it from file attachment now.@mehdi2405I don't know. Link to comment Share on other sites More sharing options...
Gamelane Posted March 5, 2011 Share Posted March 5, 2011 Fatal Error after logging in... Could you try login now? I did some research, it looks like the FB connect feature has intermittent issue .. not sure if it's been resolved or nothttp://bugs.developers.facebook.net/show_bug.cgi?id=11733Correct me if this link is not related... Link to comment Share on other sites More sharing options...
dric83 Posted March 5, 2011 Share Posted March 5, 2011 GREAT MODULE !!!THANK YOUInstallation instructions added to the forum here(better to keep them) IDFBCon v.0.1.docx Link to comment Share on other sites More sharing options...
Tropical Dream Posted March 5, 2011 Share Posted March 5, 2011 does it work with v1.4? Link to comment Share on other sites More sharing options...
compret Posted March 9, 2011 Author Share Posted March 9, 2011 @Gamelaneno problem in my test site@dric83Thanks for sharing here@Tropical Dreamv1.4 isn't recommended for production use yet. Probably won't work, cause v1.4 will be different with v1.3,the promising feature is the capability of overriding Prestashop core. I hope I have the time to port this module to v1.4 when its already released. Link to comment Share on other sites More sharing options...
anak baru Posted March 10, 2011 Share Posted March 10, 2011 berhasil dengan lancar....thanks again mr compret Link to comment Share on other sites More sharing options...
aqui Posted March 10, 2011 Share Posted March 10, 2011 If the store instead of www.domain.com in www.dominio.com/shop/ does not work. Link to comment Share on other sites More sharing options...
compret Posted March 11, 2011 Author Share Posted March 11, 2011 @aquiyes it's not supported yet, actually you only need to change a few code Link to comment Share on other sites More sharing options...
Didid Posted March 13, 2011 Share Posted March 13, 2011 Assalamu'alaiykumpak, saya nyoba di presta version 1.3.7 dan katanya "invalid client id"... mohon bantuannya donk pak... ini alamat situs percobaan saya http://tokoduniaibu.byethost7.com/duniaibu Link to comment Share on other sites More sharing options...
compret Posted March 13, 2011 Author Share Posted March 13, 2011 @DididKasusnya sama dengan aqui kalau prestashop tidak diinstal di root folder, maka modul ini tidak bisa berfungsi.Sebenarnya tinggal edit beberapa baris code aja, silakan dicari dan edit sendiri. Link to comment Share on other sites More sharing options...
Didid Posted March 14, 2011 Share Posted March 14, 2011 maap bapak, nanya2 terus. kalo "Invalid 'client_id'." itu bukan karena salah daftar di facebooknya? saya sudah memindahkannya ke root, tapi hasilnya masih sama. sekarang situsnya jadi: http://tokoduniaibu.byethost7.com Link to comment Share on other sites More sharing options...
Didid Posted March 14, 2011 Share Posted March 14, 2011 tolong dong pak, saya awam banget neh.... apa dan di mana, code yg harus saya edit? Link to comment Share on other sites More sharing options...
aqui Posted March 16, 2011 Share Posted March 16, 2011 I have gone to the root folder the store and it is rare but now gives an error "fatal error" does not work well on 1.3.7 Link to comment Share on other sites More sharing options...
himalaya2 Posted March 17, 2011 Share Posted March 17, 2011 mas tolong punyaku waktu creat app muncul pesan Link to comment Share on other sites More sharing options...
Proglamour Posted March 21, 2011 Share Posted March 21, 2011 i tried login to your demo site 1st time its ok, after logout and try login again and again i got this error:There is 1 error : 1. fb login authentication failed 2 Link to comment Share on other sites More sharing options...
papich Posted March 27, 2011 Share Posted March 27, 2011 Work with PS 1.4? Link to comment Share on other sites More sharing options...
cronoszeu Posted April 8, 2011 Share Posted April 8, 2011 Fatal error on your demo site Regards Link to comment Share on other sites More sharing options...
PrestashopTrackglobe Posted April 13, 2011 Share Posted April 13, 2011 I tried to install the module, but I get several errors in my version 1.3;I run a weird sort of script that makes it difficult to climb to the top of my site (very rare).I do not see the button by any party to the template I use (www.eluniversodelperro.com) even if it appears in the default template. Link to comment Share on other sites More sharing options...
botmez Posted April 16, 2011 Share Posted April 16, 2011 Solution to do working on 1.3.1 ? Link to comment Share on other sites More sharing options...
botmez Posted April 17, 2011 Share Posted April 17, 2011 I tried to install the module, but I get several errors in my version 1.3;I run a weird sort of script that makes it difficult to climb to the top of my site (very rare).I do not see the button by any party to the template I use (www.eluniversodelperro.com) even if it appears in the default template. Find a solution for 1.3.1 ? Link to comment Share on other sites More sharing options...
PrestashopTrackglobe Posted April 17, 2011 Share Posted April 17, 2011 I so far have not found any solution, because besides the ones who created the issue is not answered.The button works on the original theme, but not in others and does not work for registrationI am very interested in this module, if anyone has it working properly to send me a message Link to comment Share on other sites More sharing options...
botmez Posted April 18, 2011 Share Posted April 18, 2011 I so far have not found any solution, because besides the ones who created the issue is not answered.The button works on the original theme, but not in others and does not work for registrationI am very interested in this module, if anyone has it working properly to send me a message Give me 2 days !I will be back with this module in 1.3.1 !Ok ?Regards,Nadine Link to comment Share on other sites More sharing options...
PrestashopTrackglobe Posted April 18, 2011 Share Posted April 18, 2011 Ok, the truth is I would be very grateful if I got this module working (via facebook login and registration.)Greetings Link to comment Share on other sites More sharing options...
botmez Posted April 19, 2011 Share Posted April 19, 2011 i tried login to your demo site 1st time its ok, after logout and try login again and again i got this error:There is 1 error : 1. fb login authentication failed error too !!! on test site !!! Link to comment Share on other sites More sharing options...
vajda76 Posted April 26, 2011 Share Posted April 26, 2011 Thank you for this great module and sharing. For me it is working on test site but I cant make it work on my site. When I chose to register it point me to regular registration page. My website is suvenircic.com/prestashop . Will it work if it is not in domain root and how to fix it. I use Version 1.3.2.3. Thanks. Link to comment Share on other sites More sharing options...
paix Posted April 28, 2011 Share Posted April 28, 2011 Salema laykum, baraka ALLAHO FIKA AKHI Alhamdulillah, akhirnya jadi juga nih module...Tapi sayangnya pas module ini jadi Prestashop 1.3.7 dah final, padahal module ini dibuat pake versi 1.3.6.Mohon bantuan rekan2 untuk uji coba module ini ya... (saya gk tanggung jawab kalau langsung diinstall di situs yang sudah berjalan)Blum ada dokumentasi instalasinya, penjelasan singkat sbb:1. Sebelum install module harus buat FacebookApplication dulu di sini2. Kita akan pakai AppID dan AppSecret, trus jangan lupa di settingan URL Situs aplikasi di set ke urls Prestashop.3. Backup dulu situs prestashopnya (PENTING)4. Download modulenya (lihat attachment)5. a. Folder 'classes' dikopi ke folder 'classes', overwrite file Customer.php (lebih baik buat backupny)5. b. Copy folder 'idfbcon' ke dalam fhttp://www.fileserve.com/file/7vJFVmJolder 'modules'5. c. Copy file 'authentication.php' ke folder root, terakhir copy file 'authentication.tpl' ke 'themes/prestashop/' (dalam kasus ini saya pake theme bawaan, untuk theme yang lain silakan sesuaikan sendiri ya....)6. Install module dari backoffice, set konfigurasi module (perlu Facebook APP ID dan Facebook Secret dari aplikasi FB yang sudah dibuat di langkah 1).Kekurangan yang diketahui:1. jika login menggunakan account yang belum connect dengan facebook, maka tombol facebook ikutan jadi logout (pegennya sih register/login with facebook)2. banyak lagi kekurangan lain yang perlu dicari (Bantuan rekan2 sangat diperlukan)===========================================================================Update versi 0.21. one click installation (lewati langkah 5 diatas) = belum saya testLihat Demo di siniDownload Guide di sini Link to comment Share on other sites More sharing options...
meditation Posted May 7, 2011 Share Posted May 7, 2011 great job!!! thanksis it compatibly with 1.4? Link to comment Share on other sites More sharing options...
VIXUS Posted May 19, 2011 Share Posted May 19, 2011 Helo, is it working on presta 1.1? Link to comment Share on other sites More sharing options...
vi Posted June 6, 2011 Share Posted June 6, 2011 I so far have not found any solution, because besides the ones who created the issue is not answered.The button works on the original theme, but not in others and does not work for registrationI am very interested in this module, if anyone has it working properly to send me a message Give me 2 days !I will be back with this module in 1.3.1 !Ok ?Regards,Nadine Hi @botmez,Do you have solution for 1.3.1 yet? After installing both 0.1 and 0.2 I got a blank page on admin panel "modules". Look forward to your solution! Thanks in advance. Link to comment Share on other sites More sharing options...
DenisDenis Posted June 12, 2011 Share Posted June 12, 2011 This looks great! Hope it works on 1.4.I wonder if theres a free module that posts a shopping cart that has been ordered to their facebook wall, the combination of this and the facebook connect module would be great. Link to comment Share on other sites More sharing options...
ShowYou Posted August 18, 2011 Share Posted August 18, 2011 Hello, I hope too. I 've tried make changed to run this module but i'm not a professional. Link to comment Share on other sites More sharing options...
Dark-Graphics Posted August 22, 2011 Share Posted August 22, 2011 Hello, This is breaking my HTTPS security is there a way to fix this? My site becomes unsecure using this Link to comment Share on other sites More sharing options...
compret Posted August 25, 2011 Author Share Posted August 25, 2011 Sorry I've been inactive in this forum for a very long time. Hereby I announce that I no longer maintain this module anymore. Since this module is released under CreativeCommons License Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0), anyone can modify and change this module. Best Regards. Link to comment Share on other sites More sharing options...
wico Posted August 27, 2011 Share Posted August 27, 2011 I get this error and disappears Not Found The requested URL /store/mi-cuenta was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
ayman Posted September 6, 2011 Share Posted September 6, 2011 Careful guys , dont install , it fuked up my shop . Had to go through the code to know what have been changed. If you install it and end up with your shop not working just restore the file Customer.php in /class and authentication.php in / 2 Link to comment Share on other sites More sharing options...
wico Posted September 8, 2011 Share Posted September 8, 2011 How can use this in the new version?, Help me upgrade my shop to 1.4 Link to comment Share on other sites More sharing options...
Ferdem Posted September 10, 2011 Share Posted September 10, 2011 I need this module. Can you help me? I use v 1.4 Link to comment Share on other sites More sharing options...
Yannkee Posted September 26, 2011 Share Posted September 26, 2011 Will not work on 1.4 because of authentication page that now use FrontController (not this module) Link to comment Share on other sites More sharing options...
wico Posted September 30, 2011 Share Posted September 30, 2011 Does anyone know of a module that works with version 1.4? 1 Link to comment Share on other sites More sharing options...
hargun Posted October 8, 2011 Share Posted October 8, 2011 ada yang pernah coba di ps 1.2.5 ga kasih info dong buat di tanam disini Link to comment Share on other sites More sharing options...
nostradamus Posted October 14, 2011 Share Posted October 14, 2011 can someone update this module to 1.4? Link to comment Share on other sites More sharing options...
rololo88 Posted November 3, 2011 Share Posted November 3, 2011 Is It working with prsta 1.1 ? when upload the module with ftp to /myshop/modules/ , the module page in back office is blank. Please help. Link to comment Share on other sites More sharing options...
waldemar [pl] Posted December 21, 2011 Share Posted December 21, 2011 Hi, PS I have 1.2.4 and PWA module. I want to write a login module for facebook for PS version 1.2.4 Unfortunately, after logging into Facebook I get redirected to the shop: http://MY_SITE/authe...on.php?code=AQB[...]W#_=_ and I have: Hack attempt. What is wrong? How to correct file authentication.php for PS 1.2.4? this part: /* FB Connect */ //-------------------------------- if (Tools::getValue('fb')) { $create_account = 1; $smarty->assign('email_create', 1); $smarty->assign('fb_connect',1); $smarty->assign('appid', Configuration::get('FB_APPID')); } if (Tools::getValue('registered')) { //echo '<p>signed_request contents:</p>'; $response = FBTools::parse_signed_request($_REQUEST['signed_request'],Configuration::get('FB_SECRET')); $reg_metadata_fields = '[ {"name":"name"}, {"name":"first_name"}, {"name":"last_name"}, {"name":"email"}, {"name":"password"}, {"name":"birthday"}, {"name":"gender"}, {"name":"captcha"}]'; //echo '<pre>'; //print_r($response); //echo '</pre>'; if (strcmp($reg_metadata_fields,$response['registration_metadata']['fields']) != 0) $errors[] = Tools::displayError('registration metadata fields not valid'); if (Customer::customerExists($response['registration']['email'])){ //$errors[] = Tools::displayError('someone has already registered with this e-mail address (this module need further development)'); //$smarty->assign('email_create', 1); //$smarty->assign('existing_user', 1); //$smarty->assign('appid', Configuration::get('FB_APPID')); $customer = new Customer(); $authentication = $customer->getByEmail($response['registration']['email']); $customer->fb_uid = $response['user_id']; $customer->active = 1; $customer->deleted = 0; //$_POST['lastname'] = $response['registration']['last_name']; //$_POST['firstname'] = $response['registration']['first_name']; //$_POST['passwd'] = $response['registration']['password']; //$_POST['email'] = $response['registration']['email']; //$errors = $customer->validateControler(); $cookie->id_customer = intval($customer->id); $cookie->customer_lastname = $customer->lastname; $cookie->customer_firstname = $customer->firstname; $cookie->logged = 1; $cookie->passwd = $customer->passwd; $cookie->email = $customer->email; if (Configuration::get('PS_CART_FOLLOWING') AND (empty($cookie->id_cart) OR Cart::getNbProducts($cookie->id_cart) == 0)) $cookie->id_cart = intval(Cart::lastNoneOrderedCart(intval($customer->id))); Module::hookExec('authentication'); if ($back = Tools::getValue('back')) Tools::redirect($back); Tools::redirect('my-account.php'); $existing_user = 1; } if (!sizeof($errors)) { $customer = new Customer(); $customer_birthday = explode('/',$response['registration']['birthday']); $customer->birthday = intval($customer_birthday[2]).'-'.intval($customer_birthday[0]).'-'.intval($customer_birthday[1]); if ($response['registration']['last_name'] == "male") $_POST['id_gender'] = 1; else if ($response['registration']['last_name'] == "female") $_POST['id_gender'] = 2; else $_POST['id_gender'] = 9; $_POST['lastname'] = $response['registration']['last_name']; $_POST['firstname'] = $response['registration']['first_name']; $_POST['passwd'] = $response['registration']['password']; $_POST['email'] = $response['registration']['email']; $errors = $customer->validateControler(); $customer->fb_uid = $response['user_id']; if (!sizeof($errors)) { $customer->active = 1; if (!$customer->add()) $errors[] = Tools::displayError('an error occurred while creating your account'); else { if (!Mail::Send(intval($cookie->id_lang), 'account', 'Welcome!', array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => $response['registration']['password']), $customer->email, $customer->firstname.' '.$customer->lastname)) $errors[] = Tools::displayError('cannot send email'); $smarty->assign('confirmation', 1); $cookie->id_customer = intval($customer->id); $cookie->customer_lastname = $customer->lastname; $cookie->customer_firstname = $customer->firstname; $cookie->passwd = $customer->passwd; $cookie->logged = 1; $cookie->email = $customer->email; Module::hookExec('createAccount', array( '_POST' => $_POST, 'newCustomer' => $customer )); //$fbcookie = FBTools::get_facebook_cookie((Configuration::get('FB_APPID')), (Configuration::get('FB_SECRET'))); if ($back) Tools::redirect($back); Tools::redirect('my-account.php'); } } } } if (Tools::getValue('fblogin') OR Tools::getValue('code')) { $app_id = (Configuration::get('FB_APPID')); $app_secret = (Configuration::get('FB_SECRET')); $my_url = "http://".$_SERVER['HTTP_HOST']."/authentication.php"; $code = $_REQUEST["code"]; if(empty($code)) { $dialog_url = "http://www.facebook.com/dialog/oauth?client_id=" . $app_id . "&redirect_uri=" . urlencode($my_url); echo("<script> top.location.href='" . $dialog_url . "'</script>"); } $token_url = "https://graph.facebook.com/oauth/access_token?client_id=" . $app_id . "&redirect_uri=" . urlencode($my_url) . "&client_secret=" . $app_secret . "&code=" . $code; $access_token = file_get_contents($token_url); $graph_url = "https://graph.facebook.com/me?" . $access_token; $user = json_decode(file_get_contents($graph_url)); $customer = new Customer(); $authentication = $customer->getByEmail($user->email); //print_r($user); /* Handle brute force attacks */ sleep(1); if ($user->id != $customer->fb_uid) $errors[] = Tools::displayError('fb login authentication failed'); else { $cookie->id_customer = intval($customer->id); $cookie->customer_lastname = $customer->lastname; $cookie->customer_firstname = $customer->firstname; $cookie->logged = 1; $cookie->passwd = $customer->passwd; $cookie->email = $customer->email; if (Configuration::get('PS_CART_FOLLOWING') AND (empty($cookie->id_cart) OR Cart::getNbProducts($cookie->id_cart) == 0)) $cookie->id_cart = intval(Cart::lastNoneOrderedCart(intval($customer->id))); Module::hookExec('authentication'); if ($back = Tools::getValue('back')) Tools::redirect($back); Tools::redirect('my-account.php'); } } //-------------------------------- for_PS1.2.4_with_PWA.zip Link to comment Share on other sites More sharing options...
snap63 Posted February 4, 2012 Share Posted February 4, 2012 Hi everyone, Just to say that I install this module (v0.2) my prestashop version : 1.3.7 (I've update my 1.3.1 to 1.3.7 very easily) The module work great unless for one thing, just a line that prevent the fb_uid to be stored in the database during registering. The wrong line causes 1. fb login authentication failed So : in the file Customer.php, line 125 : $this->fb_uid = 0; replace by if(empty($this->fb_uid)) $this->fb_uid = 0; Because most of the time fb_uid contain the user's fb_uid! off course!! If you're already install the module the file is in the folder classes/Customer.php If you're not install the module the file is in the module folder idfbcon/Customer.php Hope it'll help (attached the same archive that the first post WITH the new line) IDFBCon_v.0.2.zip Link to comment Share on other sites More sharing options...
fernandokerber Posted February 13, 2012 Share Posted February 13, 2012 hello guys.. is it working with presta 1.4.x ? Link to comment Share on other sites More sharing options...
gooodel Posted March 26, 2012 Share Posted March 26, 2012 @Gamelane no problem in my test site @dric83 Thanks for sharing here @Tropical Dream v1.4 isn't recommended for production use yet. Probably won't work, cause v1.4 will be different with v1.3, the promising feature is the capability of overriding Prestashop core. I hope I have the time to port this module to v1.4 when its already released. dinantikan kalau sudah bisa untuk v1.4.7. kalau boleh dinotifikasi ke [email protected] ya... thx. GBU. Link to comment Share on other sites More sharing options...
hafizie86 Posted March 27, 2012 Share Posted March 27, 2012 these modul has update for ps 1.4 yet? Link to comment Share on other sites More sharing options...
ferofo Posted April 6, 2012 Share Posted April 6, 2012 i tried login to your demo site 1st time its ok, after logout and try login again and again i got this error: There is 1 error : 1. fb login authentication failed Hola, donde conseguiste el modulo? me lo puedes pasar? gracias Link to comment Share on other sites More sharing options...
cupitebet Posted April 10, 2012 Share Posted April 10, 2012 sepertinya saya belum menemukan caranya, ada yg punya tutornya untuk edit module ini? Link to comment Share on other sites More sharing options...
mete16 Posted June 13, 2012 Share Posted June 13, 2012 Hello i installed this module in presta 1.4 but i have a big problem It's not possible to registered and connecting to my shop and in backoffice i dont see basket and customer ! Help me please I delete this modul but the probleme dont delete Link to comment Share on other sites More sharing options...
cooro Posted June 28, 2012 Share Posted June 28, 2012 i have a problem, when i install, and position on the head of page, after that, i go to my shop, is white page. what's wrong? who konws? Link to comment Share on other sites More sharing options...
Aperol Posted July 3, 2012 Share Posted July 3, 2012 hi any news about a new version of this facebook connect module for prestashop 1.4.8.2 ? we need a new version of the plugin... Link to comment Share on other sites More sharing options...
summer Posted July 12, 2012 Share Posted July 12, 2012 Sorry I've been inactive in this forum for a very long time. Hereby I announce that I no longer maintain this module anymore. Since this module is released under CreativeCommons License Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0), anyone can modify and change this module. Best Regards. Link to comment Share on other sites More sharing options...
elena.ant.gr Posted August 14, 2012 Share Posted August 14, 2012 Careful guys , dont install , it fuked up my shop . Had to go through the code to know what have been changed. If you install it and end up with your shop not working just restore the file Customer.php in /class and authentication.php in / You saved my day! Thank you! 3 Link to comment Share on other sites More sharing options...
sagita123 Posted September 14, 2012 Share Posted September 14, 2012 ▃ ▄ ▅ ▆ 100% ─▀██▀───▀██▀─▀██──██─▀██▀▀ ▀─ ──██─────██───██▄█▀───██▄█─── ──██─────██───██▀█▄───██▀█─── ─▄██▄▄█─▄██▄─▄██──██─▄██▄▄ ▄ batako - kerajinan Link to comment Share on other sites More sharing options...
natebc Posted September 21, 2012 Share Posted September 21, 2012 Hello, Dose any one have a English Guide for this Module that they can place here or email to me? Thanks Nate Link to comment Share on other sites More sharing options...
madh01 Posted October 7, 2012 Share Posted October 7, 2012 Hi everyone, Just to say that I install this module (v0.2) my prestashop version : 1.3.7 (I've update my 1.3.1 to 1.3.7 very easily) The module work great unless for one thing, just a line that prevent the fb_uid to be stored in the database during registering. The wrong line causes 1. fb login authentication failed So : in the file Customer.php, line 125 : $this->fb_uid = 0; replace by if(empty($this->fb_uid)) $this->fb_uid = 0; Because most of the time fb_uid contain the user's fb_uid! off course!! If you're already install the module the file is in the folder classes/Customer.php If you're not install the module the file is in the module folder idfbcon/Customer.php Hope it'll help (attached the same archive that the first post WITH the new line) IDFBCon_v.0.2.zip Is possible to see the Module working on your page? Thank you. i am using presta 1.3.7 Link to comment Share on other sites More sharing options...
poklin Posted November 8, 2012 Share Posted November 8, 2012 Hey guys, is this compatible to version 1.5.2 ? Any1 can publish the guide to the community ? Thanks in advanced. Link to comment Share on other sites More sharing options...
icenil Posted November 11, 2012 Share Posted November 11, 2012 You saved my day! Thank you! Hey can you help me please, I restore original these 2 files , problem still exists. Link to comment Share on other sites More sharing options...
elena.ant.gr Posted November 11, 2012 Share Posted November 11, 2012 Hey can you help me please, I restore original these 2 files , problem still exists. Personally I did this and it worked: Unistall and then delete the module via ftp. Delete the relative raw of the modules table in the database (via PHP My admin). Replace the two files. Clear smarty. Keep in mind that this was in the 1.4 prestas version. Link to comment Share on other sites More sharing options...
icenil Posted November 11, 2012 Share Posted November 11, 2012 did it , deleted folder, deleted from modules db, and replaced files, nothing still the same, can't get in to login window Please help. Thanks Link to comment Share on other sites More sharing options...
icenil Posted November 11, 2012 Share Posted November 11, 2012 Solved, I had to replace authentication.tpl in theme folder. Thanks can breethe now. Link to comment Share on other sites More sharing options...
maoneid Posted November 17, 2012 Share Posted November 17, 2012 sip , saya coba dulu Gan Link to comment Share on other sites More sharing options...
estudisimple Posted December 5, 2012 Share Posted December 5, 2012 Hey, this saved my day too... Near to disaster but ayman saved me! Thanks! Link to comment Share on other sites More sharing options...
Pranav Suru Posted December 7, 2012 Share Posted December 7, 2012 Hi, After installing this module, I am getting following error " Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/home/themes/theme171/authentication.tpl" on line 2 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /var/www/home/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /var/www/home/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/home/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /var/www/home/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /var/www/home/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('{capture name=p...') #4 /var/www/home/tools/smarty/sysplugins/smarty_internal_template.php(261): Smarty in /var/www/home/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 " my prestashop version is 1.4 really getting on my nerves.. Need Help!!!!!!!! :-( Link to comment Share on other sites More sharing options...
KamranMK Posted December 9, 2012 Share Posted December 9, 2012 Please someone help this module when installed on my prestashop 1.5.2 version show this error Fatal error: Cannot redeclare class Customer in /home8/shoperaa/public_html/classes/Customer.php on line 535 Link to comment Share on other sites More sharing options...
lanner Posted December 15, 2012 Share Posted December 15, 2012 (edited) Hello Does your module change some files on the ftp when you install ? (to know if i have to backup something if i want to desinstall it) Prestashop 1.4.1.0 Thanks Edited December 15, 2012 by lanner (see edit history) Link to comment Share on other sites More sharing options...
KamranMK Posted December 16, 2012 Share Posted December 16, 2012 @lanner, yes it does change be careful, look into the zip file, there is backup folder, i had the issue and i hardly found the solution 1 Link to comment Share on other sites More sharing options...
lanner Posted December 16, 2012 Share Posted December 16, 2012 Ok thanks, i have seen this alter the sql too, i have another module facebook login who don't work and i have to look if the same line in sql is modified, not simple Link to comment Share on other sites More sharing options...
KamranMK Posted December 16, 2012 Share Posted December 16, 2012 you are welcome, if you find any working module would be glad if you would share it Link to comment Share on other sites More sharing options...
aqwzsx159 Posted January 8, 2013 Share Posted January 8, 2013 this module works with ps 1.5.x? Link to comment Share on other sites More sharing options...
aqwzsx159 Posted January 9, 2013 Share Posted January 9, 2013 Any1? need help Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2013 Share Posted January 9, 2013 this module doesn't work, both in old and new version of shop. Try to contact with developer, maybe him knows something more about that Link to comment Share on other sites More sharing options...
apositivo Posted January 10, 2013 Share Posted January 10, 2013 my version Version 1.3.1.1, it;s work fine !... remember... for me.... i change... So : in the file Customer.php, line 125 : $this->fb_uid = 0; replace by if(gettype($this->fb_uid)==NULL) $this->fb_uid = 0; Link to comment Share on other sites More sharing options...
aqwzsx159 Posted January 10, 2013 Share Posted January 10, 2013 This module is not compatible with ps 1.5!! please help Link to comment Share on other sites More sharing options...
aqwzsx159 Posted January 10, 2013 Share Posted January 10, 2013 PS 1.5.x work with authController!! Link to comment Share on other sites More sharing options...
KamranMK Posted January 10, 2013 Share Posted January 10, 2013 PS 1.5.x work with authController!! What do you mean work with authController? Link to comment Share on other sites More sharing options...
apositivo Posted January 11, 2013 Share Posted January 11, 2013 an idea . . . . all persons post in order, the files , the code , . . . with this module working..... opinion ? explain details... example... in X file.. modified in line 123 . . . X code . . . . Link to comment Share on other sites More sharing options...
aqwzsx159 Posted January 11, 2013 Share Posted January 11, 2013 To KamranMK, I said that the module is very old for the last version of ps which work with controller Link to comment Share on other sites More sharing options...
KamranMK Posted January 11, 2013 Share Posted January 11, 2013 But is there any new version which works with PS 1.5? Link to comment Share on other sites More sharing options...
apositivo Posted January 11, 2013 Share Posted January 11, 2013 (edited) Version 1.3.1.1 in my clasess/Customer.php line 128 for me work this change if(gettype($this->fb_uid)==NULL) $this->fb_uid = 0; Edited January 11, 2013 by miguelrojas (see edit history) Link to comment Share on other sites More sharing options...
Liofey Posted January 16, 2013 Share Posted January 16, 2013 how this work in 1.4.8 version? Link to comment Share on other sites More sharing options...
Liofey Posted January 16, 2013 Share Posted January 16, 2013 PS 1.5.x work with authController!! how can it works in 1.5.x? maybe it can works in 1.4.x too.. Link to comment Share on other sites More sharing options...
zwaissman Posted January 31, 2013 Share Posted January 31, 2013 Hi, There is a way to Override or just to pass the FB authentication to Presta, to work with authcontroller: If one of you want to play with the ideas, it might solve all of the problem and it could work on the new version of Presta For the registration form you can write a module which contains two hook handler functions. These will be: public function hookCreateAccountForm() {} public function hookCreateAccount($params) {} The first function allows you to add additional fields to the registration form (by default these are inserted at the end of the form authentication.tpl, although you could move them all as a single group elsewhere). It should simply return the additional form html you require. The second function provides you with two parameters to handle the account creation process. This is executed after the standard fields have been validated and the new customer has been created. Unfortunately you cannot do validation on your additional fields using this (you would need to either use javascript or override AuthController to perform your own authentication in the preProcess()member function). In one of my own custom modules for a site I have the following, for example: public function hookCreateAccount($params) { $id_lang = (int)Configuration::get('PS_LANG_DEFAULT'); $customer = $params['newCustomer']; $address = new Address(Address::getFirstCustomerAddressId((int)$customer->id)); $membership_number = $params['_POST']['membership_number']; .... .... } $params['newCustomer'] is a standard Prestashop element in the array and contains the newly created customer object. Your fields will be in the $params['_POST'] array - in my case it was an input field called membership_number. I just finished working of PRESTA Facebook FANPAGE module. I uploaded the module to one of my latest thread, feel free to use it. ( Working for 1.5.x version - with easy instruction ) Link to comment Share on other sites More sharing options...
Jorge Vargas Posted March 7, 2013 Share Posted March 7, 2013 I get this error message: error_log 07-Mar-2013 14:55:50] PHP Fatal error: Cannot redeclare class Customer in /home/espirome/public_html/classes/Customer.php on line 535 On 1.5.3.1 version. Link to comment Share on other sites More sharing options...
perusi Posted March 20, 2013 Share Posted March 20, 2013 anyone managed to make it work with PS 1.5.3.1 ??? Link to comment Share on other sites More sharing options...
SHEINLINE Posted April 19, 2013 Share Posted April 19, 2013 Hi @botmez, Do you have solution for 1.3.1 yet? After installing both 0.1 and 0.2 I got a blank page on admin panel "modules". Look forward to your solution! Thanks in advance. i have the same wrong! Link to comment Share on other sites More sharing options...
ladiesland Posted May 15, 2013 Share Posted May 15, 2013 hello everyone.. how can i get that facebook login modules for my new prestashop i just want to make login section for my client's ps for shop online throught login via facebook from my client's ps website... Thanks & Regards Link to comment Share on other sites More sharing options...
vekia Posted May 15, 2013 Share Posted May 15, 2013 free Module for prestashop 1.5 doesnt exist, only paid versions: Here is an official store link: http://addons.prestashop.com/en/search?search_query=login+facebook Link to comment Share on other sites More sharing options...
ladiesland Posted May 15, 2013 Share Posted May 15, 2013 i need to install free versions modules not paid versions... do you have any option ...? Link to comment Share on other sites More sharing options...
vekia Posted May 15, 2013 Share Posted May 15, 2013 unfortunately i don't know any free module which works in 1.5 Link to comment Share on other sites More sharing options...
Mr S Posted May 19, 2013 Share Posted May 19, 2013 i need to install free versions modules not paid versions... do you have any option ...? @ladiesland I been working on a free one, I should have it posted by the end of this coming week. I was looking for one too for long time. We need one for PS, hopefully It will became a core module included with PS. I am doing some test/code-cleanup this week when I get some time. If any one can help with coding PM me. I'll have it on https://github.com/Ha99y/ Soon Link to comment Share on other sites More sharing options...
Mr S Posted May 21, 2013 Share Posted May 21, 2013 Just uploaded the new Free Facebook Connect module for PrestaShop 1.5: http://www.prestashop.com/forums/topic/248739-free-module-facebook-connect-for-ps15/ Link to comment Share on other sites More sharing options...
Recommended Posts