MrNickRegan Posted October 3, 2014 Share Posted October 3, 2014 Hi Guys, I am in need of a little assistance again, I have added the contribute 'Approve Members' to one of my stores however it is not letting approved customers login. I have checked the database to ensure that the customers are given either a 0 or 1 depending on their active status (1 = approved), all looks correct to me ....? In my login.php I have this code, which I think translates as "if Member is not equal to 0, approve"? I have tried to change the logic to "if Member = 0, approve" or "if Member = 1, approve" however both just approve every customer regardless to the Member_level status. //+Member Approval v1.5.1 if ($check_customer['member_level'] == 0 ) { $HTTP_GET_VARS['login'] = 'invalid'; $messageStack->add('login', TEXT_NOT_APPROVED); } else { //-Member Approval v1.5.1 Am I missing something simple here? Or have I missed a setting when creating the new field in the customers table? Any advice would be hugely appreciated! :) Nick Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.