ningu 9 Posted February 25, 2010 Posted February 25, 2010 Try to modify the file customerregistration.php, line 46-47 to add your own langage before installing the module $tab->name = array(Language::getIdByIso('en') =>'Pending', Language::getIdByIso('fi') =>'YourText'); Uninstall the module, Replace fr by fi in this file, then reinstall Share this post Link to post Share on other sites
Ansku 0 Posted February 25, 2010 Posted February 25, 2010 Try to modify the file customerregistration.php, line 46-47 to add your own langage before installing the module$tab->name = array(Language::getIdByIso('en') =>'Pending', Language::getIdByIso('fi') =>'YourText'); Uninstall the module, Replace fr by fi in this file, then reinstall ok, I will do it again and will contact here if it wont work!Thankys for your help! Share this post Link to post Share on other sites
ShowYou 17 Posted March 1, 2010 Posted March 1, 2010 Hello, I have PS 1.2.5 and customerregistration 2.0I have install completely this module and i have an error :Warning: Missing argument 1 for ApprovedCustomer::__construct(), called in /admin/toolbar.php on line 41 and defined in /modules/customerregistration/ApprovedCustomer.php on line 29Fatal error: Call to undefined method ApprovedCustomer::viewAccess() in /admin/toolbar.php on line 42What is the problem ? Share this post Link to post Share on other sites
jdeadw1054 0 Posted March 6, 2010 Posted March 6, 2010 Part of the Registration Management allow you to automatically put a NEW member is a specified group by having them use a Registration Code during the registration process.How can I automatically put an EXISTING member in a specified group by using a registration code?Is there a way I can add the “Privilege Section” of the code to “Your personal information” section in “My Account”? Share this post Link to post Share on other sites
ShowYou 17 Posted March 8, 2010 Posted March 8, 2010 Hello,Someone can give me a response for my problem ?In first page, for version 2.0 : "The uninstallation of the module will destroy all pending registration and related customer"Actived customers registration will destroy too??? Share this post Link to post Share on other sites
ningu 9 Posted March 9, 2010 Posted March 9, 2010 @monvidedressingOn uninstall, only customer pending for approval are destroyedAll registered and approved custoemrs are keeped and not destroyed.Concerning your issue, I've retested an install of module 2.0 on presta1.2.5 : I have not issues....Did you change some code on your installation ? Share this post Link to post Share on other sites
ningu 9 Posted March 9, 2010 Posted March 9, 2010 @jdeadw1054Why don't you directly put your existing customer in the appropriate group from the BackOffice : it's easier. Share this post Link to post Share on other sites
ShowYou 17 Posted March 9, 2010 Posted March 9, 2010 Hello ningu,After uninstall this module and install again, i have the same problem.I didn't have changed toolbar.php. I have modified my theme for no display price and i have added links trackers on order.php, that's all.When i want to configure this module, i choose activate create account, send me email and validate, i have :Warning: in_array() [function.in-array]: Wrong datatype for second argument in /homepages/modules/customerregistration/customerregistration.php on line 295I have only 2 groups: default and customers. I don't choose code for specials groupsHave you an idea ? Share this post Link to post Share on other sites
gluca 0 Posted March 9, 2010 Posted March 9, 2010 Hello,I have do the upgrade to prestashop 1.2.5 from 1.1.0.5, I have modified the file customerregistration.php with it, but the module doesn't install Could you help me?kind regards Share this post Link to post Share on other sites
ningu 9 Posted March 9, 2010 Posted March 9, 2010 @gluca,Put the module version 1.5 in the modules directoryThen uninstall the module : this will cleanup everything (you have to deal with pending registration before uninstall because pending registration will be deleted)Then copy module version 2.0See the first post of this thread to modify the array about your langageand install the moduleThis should be OK, you will have a new tab in BO Share this post Link to post Share on other sites
gluca 0 Posted March 9, 2010 Posted March 9, 2010 @ningu I have do all but the module doesn't install In the attachments there are the screens of the error. mod.zip Share this post Link to post Share on other sites
ningu 9 Posted March 9, 2010 Posted March 9, 2010 @glucaDo you have the new tab in the back office, under 'Customer' tab ? Share this post Link to post Share on other sites
gluca 0 Posted March 9, 2010 Posted March 9, 2010 There isn't new tab Share this post Link to post Share on other sites
ningu 9 Posted March 9, 2010 Posted March 9, 2010 In ps_configuration table in database, do you have the 4 entries :CUSTREG_IS_REGISTERED_BY_DEFAULT, CUSTREG_SEND_ADMIN_MAIL, CUSTREG_MAILS,CUSTREG_GROUPS ?IF YES,There is troubles installing the tab.Check youhave the following code in customerreistration.php file, arround line 50 $tab->name = array(Language::getIdByIso('en') =>'Pending', Language::getIdByIso('it') =>'Pending', Language::getIdByIso('fr') =>'En attente'); (I suppose 'it' is your langage)Do you manage other langage ?IF NO,In BO, go to modules/Positions, selection this module and not positionnable hookand remove the 5 anchor point of this moduleThen try to reinstall Share this post Link to post Share on other sites
gluca 0 Posted March 9, 2010 Posted March 9, 2010 In ps_configuration table in database, I have only :CUSTREG_SEND_ADMIN_MAIL, CUSTREG_MAILS,It is italian, I have only italian and english.IF NO,In BO, go to modules/Positions, selection this module and not positionnable hookand remove the 5 anchor point of this moduleThen try to reinstallThe module isn't in position module because it isn't installed. I have only:Registered Customer Info v1.0Customer accounts v1.0Which is 5 anchor point?kind regards, thank you for help Share this post Link to post Share on other sites
ningu 9 Posted March 10, 2010 Posted March 10, 2010 "anchor points" : I was meaning hooksYou will have to uninstall everything manually:-- in BO, tab Modules/positions, remove all hooks to which the module is associated (up to 5 : authentication, createAccountForm, createAccount, backOfficeHome, adminCustomers)-- in database, table Configuration, remove all entries named CUSTREG_ (list in previous posts)-- in BO, in tab Tools/Tabs, remove the entries associated to this module if any-- in Database, delete the table ps_approvedcustomerIf you have PS 1.2.5, module 2.0 with modification in array for 'it' langage, install should be OK.If not, to detect where is the issue during install, can you chech (in this order) :-- to which hooks the module is associated to-- which CUSTREG_* you have in configuration table-- if you see the tab in Tools/tabs-- if you have the ps_approvedcustomer in database Share this post Link to post Share on other sites
ShowYou 17 Posted March 23, 2010 Posted March 23, 2010 Bonjour, Pourriez-vous m'éclairer sur mon problème ?J'ai une erreur : Warning: in_array() [function.in-array]: Wrong datatype for second argument in .../modules/customerregistration/customerregistration.php on line 295 qui correspond à : '.($group['id_group'] != 1 ? '<input type="checkbox" name="groupBox[]" class="groupBox" id="groupBox_'.$group['id_group'].'" value="'.$group['id_group'].'" '.(in_array($group['id_group'], $this->_defaultGroups) ? 'checked="checked" ' : '').'/>' : '').' Merci de m'aider à résoudre cette erreur ou de m'expliquer d'où elle peut provenir. Share this post Link to post Share on other sites
ningu 9 Posted March 23, 2010 Posted March 23, 2010 This means parmeter $this->_defaultGroups is not an array in function in_array()On a normal installation, you should not have this issue.If you've upgraded from 1.5, unstall then reinstall Share this post Link to post Share on other sites
ShowYou 17 Posted March 23, 2010 Posted March 23, 2010 Sorry in english !I have 2.0 and PS 1.2.5 I have uninstall then reinstall. I have change nothing on customerregistration.phpUpload again this module but I have the same error ! Share this post Link to post Share on other sites
ningu 9 Posted March 23, 2010 Posted March 23, 2010 In table 'ps_configuration', which value do you have for entry CUSTREG_GROUPS ? Share this post Link to post Share on other sites
ShowYou 17 Posted March 23, 2010 Posted March 23, 2010 My value is 1 Share this post Link to post Share on other sites
Ciscowrig 3 Posted March 24, 2010 Posted March 24, 2010 Question - I read this thread and couldn't find the answer, but it might be there so I apologize if I'm duplicating.This works great - the only feature I'm not seeing is a confirmation to the guest when they are switched to validated. Is this there and I just haven't activated it or is it not built in? I will try and add it in if not, but I wanted to double check before I did all the work on that.Thank You! Share this post Link to post Share on other sites
olea 75 Posted March 24, 2010 Posted March 24, 2010 @CiscowrigWhich feature are you looking for ?On registration, the Front page displays a message indicating the registration is pendingYou can replace the default email with emails provided in the module to notify the customer that registration is pending (see first post)When registration is approved, an email is sent to the customer (check the appropriated option in BO) Share this post Link to post Share on other sites
Ciscowrig 3 Posted March 24, 2010 Posted March 24, 2010 I thought it would send an email to customers, but I can't find anything to indicate that and no email is sent upon my validating them in BO.Here are the only configurations I'm allowed in the module configuration. Share this post Link to post Share on other sites
paolop 0 Posted March 26, 2010 Posted March 26, 2010 Goodmornig.I have installed this module on Prestashop V1.2.5.0.When a new customer makes a registration, he receives the notification trat his account need to be activated by an administrator.When he trys to login, a message appears to signalize that the account has not still been activated.But the system sets the variable $logged to true!I check this variable in order to show/hide prices, and so a not activated account can see prices.Is there any way to block this ? Thanks en advance and sorry for the bad english Share this post Link to post Share on other sites
ningu 9 Posted March 26, 2010 Posted March 26, 2010 But the system sets the variable $logged to true! Where do you see that ?It's strange, because :-- in the hook authentication, the cookie->logged is correctly set to false-- user is not connected as it can not see his account Share this post Link to post Share on other sites
paolop 0 Posted March 26, 2010 Posted March 26, 2010 GoodmorningI check $logged value in product.tpl....{if $logged} <!-- add to cart form--> <form id="buy_block" action="{$base_dir}cart.php" method="post">...{else} Login for Prices & Ordering Options{/if} in order to not display prices for not registered and activated user.The customer that has pending registration can see prices anyway....Thank en advance Share this post Link to post Share on other sites
ningu 9 Posted March 26, 2010 Posted March 26, 2010 For pending customer, do they have their 'My account' block (the pink one) ? Share this post Link to post Share on other sites
paolop 0 Posted March 26, 2010 Posted March 26, 2010 no.When a pending customer tryes to login, he receives a failed authentication message.No "My account" is showed.In category view (...category.php?id_category...) the {if $logged} works correctly, no price is shown.The problem is in Product view (..product.php?id_product...). Share this post Link to post Share on other sites
ningu 9 Posted March 26, 2010 Posted March 26, 2010 Are you sure about your if $logged syntax in the product.tpl? Share this post Link to post Share on other sites
paolop 0 Posted March 26, 2010 Posted March 26, 2010 I'm a newbie into Prestashop and php.In doubt, I have attached the file product.tpl.I also checked {$logged} value outside the {$if logged} into product.tpl, and it returns a value of 15 - it corresponds to the customer id.At the sama time, into product-list.tpl this value is correctly set to 0.Thanks en advance product.zip Share this post Link to post Share on other sites
robertjohn 1 Posted March 28, 2010 Posted March 28, 2010 HelloThis is a great mod - much better than a paid mod i have just purchased and been disappointed with! However during testing when I hit the register button after filling all details on at front reg form I get an Internal Server Error. Perhaps strangely enough the registration is recorded ok and appears in back end plus customer gets the email to say registration needs to be validated. So it all works fine except for this error page.How would I fix that please?CheersRJ Share this post Link to post Share on other sites
robertjohn 1 Posted March 28, 2010 Posted March 28, 2010 I worked it out. It was to do with permissions.RJ Share this post Link to post Share on other sites
Ciscowrig 3 Posted March 30, 2010 Posted March 30, 2010 Maybe I missed it, but I was the one wondering about an email to the customer when i approve them.Nothing get's sent out. I have screen shots posted on March 24th.Any suggestions are appreciated. Share this post Link to post Share on other sites
robertjohn 1 Posted March 30, 2010 Posted March 30, 2010 @Club MemberSorry if I am being too obvious but did you remember to copy the mails folder to your installation? As far as I can tell there are no configurable options for these emails to be sent your customers - it just happens.CheersRJ Share this post Link to post Share on other sites
Ciscowrig 3 Posted March 30, 2010 Posted March 30, 2010 I had, but I just copied the classes and mails folders into the regular area and it's working now.FYI - there are emails that need to be in both the registration module and in the top-level mails/classes. I just copied everything into the top level folder. Share this post Link to post Share on other sites
eschmidt 0 Posted April 1, 2010 Posted April 1, 2010 I had a few questions on this module. I am trying to accomplish setting up a store with two different user groups with two different product sets. Is it possible to automatically register a user to a specific group without a registration code, so all new users are placed in a group other than default? Or, is it possible to set multiple registration codes? So a user could enter any one of a number of codes and be placed into a group? Share this post Link to post Share on other sites
ningu 9 Posted April 1, 2010 Posted April 1, 2010 Multicode is not implemented in this module neither than placing customers in groups different that default one without the code.But looking at the code, you can do this quiet easily Share this post Link to post Share on other sites
eschmidt 0 Posted April 1, 2010 Posted April 1, 2010 I'm not sure I fully understand. Using multiple codes, or registering a user to a group by default would be easy? Would there need to be adjustments made to the module files or the core files of Prestashop? Share this post Link to post Share on other sites
ningu 9 Posted April 1, 2010 Posted April 1, 2010 some code modification in the module itself Share this post Link to post Share on other sites
eschmidt 0 Posted April 1, 2010 Posted April 1, 2010 I think I have it set so I can automatically place a user in a group by passing the registration code as a hidden input but I was wondering what the code modifications would be to allow for numerous registration codes to be used and if there would be a limit to the number of codes used? Share this post Link to post Share on other sites
eschmidt 0 Posted April 12, 2010 Posted April 12, 2010 Where is the registration code stored, in the database? I am trying to determine the best way to allow for multiple codes to place a user in a group. I can do it through the customerregistration.php file but I don't want to edit that file each time a new code is added. Is there a way I can create a form on the backoffice to add additional codes? Share this post Link to post Share on other sites
Arnaud Drieux 33 Posted April 16, 2010 Posted April 16, 2010 Tout d'abord merci à Ningu pour son module car il m'a aidé à suivre une bonne piste pour un de mes problèmes.Ceci dit, je poste ici une demande d'aide car je n'arrive toujours pas à obtenir LE résultat final avec ce modulehttp://www.prestashop.com/forums/viewthread/49108/developpement/comment_creer_un_champ_code_secret_pour_valider_linscriptionVoici le post que j'ai ouvert. Ningu à commencé à m'aider mais je n'arrive toujours pas à trouver. Est-ce que quelqu'un pourrait m'aider?? Mercii Mercii et encore Merci d'avance Share this post Link to post Share on other sites
oscarenzo 0 Posted April 16, 2010 Posted April 16, 2010 Hi i'm using the V2.0 on prestashop cartium, i add a spanish language o edited the line 46 - 47, i have this:$tab = new Tab(); $tab->id_parent = 2; $tab->name = array(Language::getIdByIso('en') =>'Pending', Language::getIdByIso('fr') =>'En attente', Language::getIdByIso('es') =>'Pendientes');then i create a directory on Mails directory.'es'i translated to spanish the same template that there are on en directory, but, to the customer arrive mails on spanish and the admin arrive mails on english language, can someone help me? Share this post Link to post Share on other sites
Alicatador 1 Posted April 19, 2010 Posted April 19, 2010 To paolop and others, who have problem with showing pricess without logging.(Sorry my english)To hide pricess you need add some extra code into:function hookAuthentication()...if (! $approved) { $cookie->logged = 0; ... you need add here $cookie->id_customer = 0;and add code into:function hookCreateAccount($params)....if (! $approval->is_approved) $back = 'modules/'.basename(__FILE__, '.php').'/messages.php?msg=noconnect&back=my-account.php';...change into this:if (! $approval->is_approved) { $back = 'modules/'.basename(__FILE__, '.php').'/messages.php?msg=noconnect&back=my-account.php'; $cookie->logged = 0; $cookie->id_customer = 0; }This solution works fine. 1 Share this post Link to post Share on other sites
ShowYou 17 Posted April 29, 2010 Posted April 29, 2010 Hello, PS1.2.5 et module 2This module is running on my website. When i want to access on tools to traduce some name of fiels, i have an error :DO NOT INCLUDE THIS APPROVEDCUSTOMER FILEIf i uninstall this module, i have the same thing.Could you explain how i can uninstall this module ?Thank you Share this post Link to post Share on other sites
minh 0 Posted June 8, 2010 Posted June 8, 2010 Nice!Anyone tested it in PS 1.3.1? Share this post Link to post Share on other sites
dahuegon 3 Posted June 10, 2010 Posted June 10, 2010 Nice!Anyone tested it in PS 1.3.1? I'm gonna do it, I'll post here a feedback when I'm done it. Share this post Link to post Share on other sites
dahuegon 3 Posted June 11, 2010 Posted June 11, 2010 It works perfectly, so many thanks for this module... Share this post Link to post Share on other sites
pedrodonkey 1 Posted June 17, 2010 Posted June 17, 2010 Hi, great module. I'm using the latest version of PS 1.3.1.1Installed perfectly, tested it once and everything worked. Trying it a second time brings up some errors though. Registration emails are all sent after registering but there is no re-direct happening to see the message: Thanks for your registration.Your identiers has been sent but you can not log in for now.You will receive an email when your account will be activated. And if the user tries to log in before being approved again there is no messages being show, just a blank page without the right sidebar being loaded The URL being shown after pressing register is: /modules/customerregistration/messages.php?msg=noconnect&back=my-account.php And the URL being shown trying to log in before being approved is" /modules/customerregistration/messages.php?msg=wait&back=my-account.php Could it be a permissions issue? it's wierd though because it worked the very first time but not anymore. I've also tried uninstalling and re-installing multiple times.EDITI just noticed an error log file in the module directory. This is the error: [17-Jun-2010 14:24:22] PHP Fatal error: Smarty error: [in /home/neontech/public_html/modules/customerregistration/messages.tpl line 3]: syntax error: expecting '=' after attribute name 'be' (Smarty_Compiler.class.php, line 1558) in /home/neontech/public_html/tools/smarty/Smarty.class.php on line 1095 Share this post Link to post Share on other sites
pedrodonkey 1 Posted June 17, 2010 Posted June 17, 2010 SOLVED - See below for explanation Hi, great module. I'm using the latest version of PS 1.3.1.1Installed perfectly, tested it once and everything worked. Trying it a second time brings up some errors though. Registration emails are all sent after registering but there is no re-direct happening to see the message:Thanks for your registration.Your identiers has been sent but you can not log in for now.You will receive an email when your account will be activated. And if the user tries to log in before being approved again there is no messages being show, just a blank page without the right sidebar being loaded The URL being shown after pressing register is: /modules/customerregistration/messages.php?msg=noconnect&back=my-account.php And the URL being shown trying to log in before being approved is" /modules/customerregistration/messages.php?msg=wait&back=my-account.php Could it be a permissions issue? it's wierd though because it worked the very first time but not anymore. I've also tried uninstalling and re-installing multiple times.EDITI just noticed an error log file in the module directory. This is the error: [17-Jun-2010 14:24:22] PHP Fatal error: Smarty error: [in /home/neontech/public_html/modules/customerregistration/messages.tpl line 3]: syntax error: expecting '=' after attribute name 'be' (Smarty_Compiler.class.php, line 1558) in /home/neontech/public_html/tools/smarty/Smarty.class.php on line 1095 I managed to sort it out. I googled that smarty error message and found another forum post with the same error. Solution was to remove this {l s=' and this ' mod='customerregistration'} from the text in the messages.tpl file.From this:{l s='Thanks for your registration.' mod='customerregistration'} {l s='Your identiers has been sent but you can not log in for now.' mod='customerregistration'} {l s='You will receive an email when your account will be activated.' mod='customerregistration'} To this: Thanks for your registration. Your identiers has been sent but you can not log in for now. You will receive an email when your account will be activated. Share this post Link to post Share on other sites
tibo33 0 Posted September 10, 2010 Posted September 10, 2010 Hello, I have installed the latest version of the module. I’m using the latest version of PS 1.3.1.1And now I have a problem with the function of block ajax cartYou have any Idea ? Share this post Link to post Share on other sites
olea 75 Posted September 10, 2010 Posted September 10, 2010 Issue when you are logged in as a customer or not logged ? Share this post Link to post Share on other sites
tibo33 0 Posted September 10, 2010 Posted September 10, 2010 Issue when you are logged in as a customer or not logged ? it does not work when, I am logged and not logged Share this post Link to post Share on other sites
olea 75 Posted September 10, 2010 Posted September 10, 2010 There is not link between this module and the cart management.Can you unistall it and check if you still have the cart issue ?what kind of issue is this ? Share this post Link to post Share on other sites
tibo33 0 Posted September 10, 2010 Posted September 10, 2010 There is not link between this module and the cart management.Can you unistall it and check if you still have the cart issue ?what kind of issue is this ? I have unistall the module ... and my ajax cart still not working. But now I don't now why it does not work .... but It's a new subject.. Thanks. Thibault Share this post Link to post Share on other sites
JohnsonZA 1 Posted October 13, 2010 Posted October 13, 2010 I have an issue with this module where it randomly fails to save the entry in the ps_approvedcustomers table when a customer creates an account.As a result, the customer is automatically approved by virtue of the fact that they are not in the ps_approvedcustomers table. And I don't receive an email with the new registration.This happened with 3 customers of mine now, but it works most of the time. The problem seems to stem from this piece of code: $cust = $params['newCustomer']; $approval = new ApprovedCustomer($cust->id); $approval->is_approved = $this->_isCustomerRegistredByDefault; $approval->privilege_request = intval(Tools::getValue('privilege_request'),0); $approval->privilege_message = pSQL(Tools::getValue('privilege_message'), '');; if (! $approval->save()) Tools:('Unable to save approval information'); if ($this->_sendAdminMail) $this->sendMail('pending_registration', array('customer' => $cust, 'approval'=>$approval)); It appears to die on the save() function. It doesn't reach the sendMail function as a result.I'm running PS 1.3.2 and version 2.0 of customerRegistration management module. Share this post Link to post Share on other sites
matdollars 1 Posted October 21, 2010 Posted October 21, 2010 Le module ne fonctionne pas avec la version 1.3.2.1. Share this post Link to post Share on other sites
arnaud81 0 Posted November 9, 2010 Posted November 9, 2010 Bonjour,je viens de découvrir ce module, et je tiens à remercier Ningu car c'est exactement ce dont j'avais besoin. J'ai cependant une interrogation : Après avoir installé le module, je me suis aperçu que tous mes clients se retrouvaient dans l'onglet "En Attente" dans la partie Admin Clients, ce qui est génant pour retrouver les clients à valider (il faut trier sur l'id client, car on ne peut pas trier sur le statut "Approval")Est-ce que j'aurais loupé un truc ou fait un erreur d'installation ?_________________________________Hello,I just found this module and I want to thank Ningu because that is exactly what I needed.I have one question:After installing the module, I realized that all my customers were in the "Pending" tab in the Customers Admin Tab, which is annoying to find customers to validate (you must sort on the client id, because it can not be sorted on the "Approval" status)Do I missed something or made an installation error? Share this post Link to post Share on other sites
belisar 0 Posted December 15, 2010 Posted December 15, 2010 Hi,Thanks for the very useful module. If any user has issues with an Error 500 showing up when a customer submits a registration or tries to log in before being approved, it might work if you change permissions on the modules folder recursively to CHMOD 755. During install Prestashop indicates to change CHMOD to 777, which on many hosts causes problems with some modules and also leaving it at 777 is a security risk. Share this post Link to post Share on other sites
Crisp 0 Posted January 9, 2011 Posted January 9, 2011 I have one issue with this module. Instead of approving a new account I had to decline one and the problem I have is that in my administration home page it still says: Customers waiting for approvel: 1. But there is none to approve.A)How can I get rid of this. Any ideas why this isnt updated to 0 after declining an account.Using v2 on prestashop 1.2.5 Share this post Link to post Share on other sites
pasko 8 Posted January 20, 2011 Posted January 20, 2011 Thank you for your module :-P Working on 1.3.xRegards. Share this post Link to post Share on other sites
hkahil 0 Posted January 20, 2011 Posted January 20, 2011 bonjoury a t il une solution pour choisir le groupe que je voudrais mettre en attentemon probleme est que mon client choisi le groupe auquel il veut appartenir a l inscriptions il choisi particulier il va dans le groupe particuliers il choisi pro il faut que sa demande soi mise en attenteavec le module customer registration quand je coche inscrit par defaut les deux type de client ont acces directement a la boutiqueet quand je ne met pas inscrit par defaut mes particulier son en attentecomment faire pour que juste les pros soit en attente merci de bien vouloir m aider Share this post Link to post Share on other sites
olea 75 Posted January 20, 2011 Posted January 20, 2011 @hkahilDe mémoire, il me semble que j'avais mis une option dans le back-office qui permet d'afficher dans le front une case à cocher par laquelle le client demande un accès privilégié.S'il ne coche pas, il est client standardS'il coche, je ne sais plus : soit il est bloqué soit il est standard, jusqu'à validation dans le backOffice Share this post Link to post Share on other sites
hkahil 0 Posted January 20, 2011 Posted January 20, 2011 salut @oleaje ne comprends pas l interet de ce modulesi je m inscrit normalement je suis mis en attentesi je m inscrit en voulant etre un membre privilegier je suis mis en attentedans les deux casje ne peut pas cocher la case ''inscrit par defaut'' vu que je voudrais mettre juste les pros en attentemerci de bien vouloir m aider cela fait plusieurs semaine que je n ai toujours pas résolu mon souci Share this post Link to post Share on other sites
ben17 0 Posted January 20, 2011 Posted January 20, 2011 BonjourJe suis exactement dans la même situation.Le client particulier landa ne peut pas se connecter tan que le compte n'est pas valider. Autan dire qu'un client qui doit attendre 24h00 avant de pouvoir valider sa commande est un client perdu!Ceci dit, pensez-vous que les pros ou les gens qui désir un accès privilégié soient plus patient? Je vais continuer de suivre ce fil pour voir si quelqu'un trouve la solution mais en attendant je pense que le mieux, c'est de ne pas demander de confirmation pour pouvoir ouvrir le compte, donc passer commande, mais vérifier le numéro de tva que je demande dans le formulaire d'inscription.Si c'est un numéro "bidon" je n'envoie pas la marchandise.l'inconvénient avec cette solution, c'est que tout le monde peut voir les remise faite à chaque groupe en créant un compte "bidon"Si quelqu'un a mieux je suis preneur. message translated by a translator.HelloI am in exactly the same situation.Landa particular client can not connect tan that the account is not validated. Autan say that a client must wait before 24h00 validate the order is a customer lost!That said, do you think the pros or people who desire a privileged access are more patient?I will continue to follow this thread to see if someone finds a solution, but in the meantime I think the best is not to seek confirmation in order to open the account, then place an order, but check the number of VAT I request the registration form.If it is a "phony" I do not send the merchandise.The drawback with this solution is that everyone can see the discount given to each group by creating an account "bogus"If anyone has more I'm interested. Share this post Link to post Share on other sites
hkahil 0 Posted January 20, 2011 Posted January 20, 2011 salut bennon tu peux creer deux groupeet deux categorieschaque categorie a son groupedans ce cas le premier groupe ne verras les prix du secondcest ce que jai fait jai creer groupe particuliergroupe proune categorie particulier avec prix particulierune categorie pro avec prix proce sont les meme produits mais les pros ont des prix differentschaque client qui s inscrit est mis dans le groupe qu il a choisidans mon cas le pros ne voit pas la categorie particulierle particulier ne vois pas la categorie prosje pense faire une categorie public pour tout le mondeet une categorie pro privedans ce cas les particulier ne verront pas les prix des prosmon seule soucis cest que je n arrive pas a mettre en attente les pros afin que je verifie leurs infos Share this post Link to post Share on other sites
tonbonrem 0 Posted January 30, 2011 Posted January 30, 2011 helloje viens d'installer le module customer registration 2.0 sur une version de prestashop 1.3.6, tout marche nickel, sauf que je trouve pas comment solutionner un problème mail. en effet qd le client est validé en BOil reçoit un mail de confirmation dans la langue du back office, pas dans la langue du client. je pense que le problème se situe sur cette zone de code du fichier customeregistration.php si qqun avait une piste ca fait deux jours que je rame public function sendMail ($mailName, $params) { require_once (dirname(__FILE__).'/ApprovedCustomer.php'); switch ($mailName) { case 'customer_registration_ok': $id_customer = intval($params['id_customer']); if ($id_customer <> 0) { $user = new Customer ($id_customer); Mail::Send(intval(Configuration::get('PS_LANG_DEFAULT')), 'customer_registration_ok', $this->l('Your account is activated'), array('{firstname}' => $user->firstname, '{lastname}' => $user->lastname, '{email}' => $user->email, '{passwd}' => $this->l('Already sent')), $user->email, NULL, strval(Configuration::get('PS_SHOP_EMAIL')), strval(Configuration::get('PS_SHOP_NAME')), NULL, NULL, dirname(__FILE__).'/mails/'); } break; Share this post Link to post Share on other sites
daftfunk 1 Posted February 5, 2011 Posted February 5, 2011 Salut a tous ...Alors moi, ma question va etre simple et ridicule.Quand un client crée son compte il recoit un mail de validation de demande de compte - ca okpour moi le tpl de ce mail est sous module/customerregistration/mails/fr/account.html et naturellement il m'arrive comme d'origine ... j'ai beau chercher je ne vois ou ne trouve pas l'origine de la mise en page de ce mail.Auriez vous l'amabilité de me sortir de mon ignorance crasse parceque ca commence a devenir penible Share this post Link to post Share on other sites
tonbonrem 0 Posted February 5, 2011 Posted February 5, 2011 pour repondre a daftfunk, le mail "account" dans le dossier mail du module est la en plus au cas ou tu souhaiterais le personnaliser, c'est bien le mail "account" du dossier mail à la racine de ton installation prestashop qui est envoyési qqun a une piste pour mon prob Share this post Link to post Share on other sites
daftfunk 1 Posted February 8, 2011 Posted February 8, 2011 ha oui effectivement... c'etait assez simple pourtant Merci a toi! Mais je ne peux pas te rendre la pareil tu m'en vois désolé Share this post Link to post Share on other sites
Arieswe 3 Posted February 10, 2011 Posted February 10, 2011 Als iedereen nou eens in het Engels een reactie neer zet dan kunnen anderen het ook volgen. Vooral jullie Fransen. Share this post Link to post Share on other sites
Aers 0 Posted February 20, 2011 Posted February 20, 2011 Where can I download this 4 files?(I have added some php code to 4 tpl files.) ????Themesproduct_list.tplproduct.tplModulesBlock special ?. blockspecial.tplhomefeatured ?. homefeatured.tpl Share this post Link to post Share on other sites
fertigo321 0 Posted February 21, 2011 Posted February 21, 2011 Thank's Mingu It's work for me Share this post Link to post Share on other sites
Meromanche 1 Posted March 23, 2011 Posted March 23, 2011 HI,Installed the module and it seemed to work but have found a floor.If you go on my site www.shop.asobi.co.uk and click on one of the featured products, add it to the cart.... It will show you the price in the cart without being logged in.How do I block this? Share this post Link to post Share on other sites
Meromanche 1 Posted March 24, 2011 Posted March 24, 2011 HI,Installed the module and it seemed to work but have found a floor.If you go on my site www.shop.asobi.co.uk and click on one of the featured products, add it to the cart.... It will show you the price in the cart without being logged in.How do I block this? Anybody has tried it? Do you have the same issue? Share this post Link to post Share on other sites
korku 1 Posted March 24, 2011 Posted March 24, 2011 Hello! Is it compatible with version 1.4?Thanks! Share this post Link to post Share on other sites
axi 3 Posted March 30, 2011 Posted March 30, 2011 Hello! Is it compatible with version 1.4?Thanks! +1 Share this post Link to post Share on other sites
bsmooth 5 Posted April 1, 2011 Posted April 1, 2011 Thierry,You forgot to edit the "modules\homefeatured\homefeatured.tpl" file as well. {if $logged} XXXXX {else} XXXXX {/if} Share this post Link to post Share on other sites
jpdean 0 Posted April 5, 2011 Posted April 5, 2011 Hello! Is it compatible with version 1.4?Thanks! +1 Up Thanks. Share this post Link to post Share on other sites
wizkaa 0 Posted April 18, 2011 Posted April 18, 2011 Many thanks for this module.But when I deny a customer its will notcomfirm with a mail to the customer.Who tell them they cant login to our shop.Can any one help me out with this issu.How to send a mail when I deny a customer.Please help. Share this post Link to post Share on other sites
kyls 0 Posted April 18, 2011 Posted April 18, 2011 best module ever, good work Share this post Link to post Share on other sites
newcommer 15 Posted May 1, 2011 Posted May 1, 2011 hi I have the module a bit modified for 1.4 but I have a little problem.I have added span class {l s='Login for Prices & Ordering Options'} but the translation funktion doesn´t works in Homefeatured and blockspecials.In product.tpl and product-list.tpl works fine. Share this post Link to post Share on other sites
ts2k 0 Posted May 2, 2011 Posted May 2, 2011 Need this module for prestashop 1.4Thanks Share this post Link to post Share on other sites
newcommer 15 Posted May 2, 2011 Posted May 2, 2011 the modul is here http://www.prestashop.com/forums/viewthread/12258/P60/third_party_modules/whole_sale_shop_with_no_add_to_cart_or_prices_until_login__the_easy_way Share this post Link to post Share on other sites
nwcic 0 Posted May 24, 2011 Posted May 24, 2011 Doesn't seem to work with PS v.1.4.1.0.Put the modeule in the modules folder.added if else to product.tpl and blockcategories.tpl.Back office shows the modeule, but prices still show on all the products on the home page, categories, and individual products.Anyone have a suggestion? Share this post Link to post Share on other sites
nwcic 0 Posted May 25, 2011 Posted May 25, 2011 Good suggestion. Did that though. Thanks for the reply. Share this post Link to post Share on other sites
kpince 0 Posted June 10, 2011 Posted June 10, 2011 Hi;Installed the module on 1.4 and when I try to register a new customer I get the following message:Unable to save approval informationENDIs this a setting problem or something else ?ThanksKP Share this post Link to post Share on other sites
stefanoste 2 Posted June 13, 2011 Posted June 13, 2011 Hi ,I install the module on 1.4.2 after been reading million of post :-) Seems to be working quite good, the only problem I get is when the registration is finish doesnt redirect to the Thank you Page but redirect to the authentication page so looks like you never register :-( Any one Please can help me sort this problem out ...thank you in advance :-) Share this post Link to post Share on other sites
Recommended Posts