See if this works for you ...
Set both of those settings back to 0 ...
Then change the code in these files with the code in RED ...
/includes/init_includes/init_customer_auth.php
Around line 39:
[B]// bof: block customers
[/B]if ([B]true || [/B]$_SESSION['customer_id'] != '') {
[B]// eof: block customers
[/B]
around line 113:
case (STORE_STATUS != 0):
break;
[B]// bof: block customers
case ($_SESSION['customers_authorization'] > '0'):
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_LOGOFF, FILENAME_CONTACT_US, FILENAME_PRIVACY))) {
if ($_GET['main_page'] != CUSTOMERS_AUTHORIZATION_FILENAME) {
zen_session_destroy();
zen_redirect(zen_href_link(FILENAME_LOGOFF, $logoff_lang));
}
}
break;
// eof: block customers
[/B] case (CUSTOMERS_APPROVAL_AUTHORIZATION == '1' and $_SESSION['customer_id'] == ''):
/includes/functions/functions_prices.php
around line 159:
switch (true) {
[B]// bof: block customers
case ($_SESSION['customers_authorization'] > '0'):
// customer must be logged in to browse
return TEXT_AUTHORIZATION_PENDING_PRICE;
break;
// eof: block customers
[/B] case (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == ''):
/includes/functions/functions_general.php
around line 1087:
switch (true) {
[B]// bof: block customers
case ($_SESSION['customers_authorization'] > '0'):
// customer must be logged in to browse
return TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE;
break;
// eof: block customers
[/B] case (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == ''):
See if this works better for you ...