Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello, I installed the control login contribution

http://www.oscommerce.com/community/contributions,1154

I were using autologin contribution too.

 

The control login contribution seems to work fine. The users cant login before the account is activated in admin panel.

 

I also have install this patch in the index and product_info so users cant see products unless ther are loged in.

 

// if the customer is not logged on, redirect them to the login page

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'NONSSL'));

}

 

 

The users cant see the catalog unless I activate the account, they cant login. But I discover that if they don't close the window when they are in create_account_success.php and if they click in CONTINUE or in HOME, they can see the catalog, it's like they were loged in without the activated account.

 

How can I resolve it? Can I paste some code to create_account_success.php so it works like logoff.php file and logoff the user ? Thanks a lot!

 

Hernán

Posted (edited)

Pleaseeee help

Shoul I copy this line: ?

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF);

Edited by her_unlimited

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...