Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Control Login by DIMSUMGIRL

Recommended Posts



I installed this contribution since it is a feature I need, however, there seem to be a bug or at least not functioning properly at my site.


The problem is that the first time users sign-up they are able to shop and sign-out without Admin intervention, but the next time they come they are stopped without prior approval from the Admin.


It's not supposed to be like that, is it?


Further more, when the Admin has approved a customer, he's not able to remove the approval from the Admin control panel, but must manually modify the Mysql DB to set the status to "0".



(Or are you here DIMSUMGIRL? ;))

Link to comment
Share on other sites

Sure Do!!


File To Edit:


add the follow lines before ?>


// Customers Status

 function tep_set_customers_status($customers_id, $customers_status) {

   if ($customers_status == '1') {

     return tep_db_query("update " . TABLE_CUSTOMERS . " set customers_status = '1'");

   } elseif ($customers_status == '0') {

     return tep_db_query("update " . TABLE_CUSTOMERS . " set customers_status = '0'");

   } else {

     return -1;





Link to comment
Share on other sites

Thanks mate,


But the problem is still there. I added the missing function in the first place.


I guess I'll have to do it all over and see if I can find where I missed out! :wink:


BTW, are you using this feature? I mean you are 100% sure it works?

Link to comment
Share on other sites

  • 2 weeks later...

:cry: I have exactly the same problems as _icon:HEAD. I tested the installation of the contrib already 3 x, but it doesnt work. Did anybody find already a solution? Thanx in advance for help.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...