osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

login or create account as the home page with hiden catalog

This is a discussion on login or create account as the home page with hiden catalog within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, Looking to have the login as the home page with out the customer being able to view catalog or ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-16-2003, 03:12 AM
New Member
 
Join Date: Nov 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kamel
Default login or create account as the home page with hiden catalog

Hello,
Looking to have the login as the home page with out the customer being able to view catalog or other listings before logging in or creating an account.
I am using IIS server and I can not get htaccess to work with this server.
can the login.php be coded to handle this?
Thank you
K
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-17-2003, 07:01 AM
New Member
 
Join Date: Nov 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kamel
Default

Hello,
Think I got it.
I included:

CODE
// if the customer is not logged on, redirect them to the login page
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}

in the top of index.php after "reqires aplication top" and
at the top of each page to reqire a registered login.
Found it by looking at the account.php page.
Wonder if I can limit this code to only the Index.php page and remove the links to other site listings on the login.php page.
Anyway this does work.
Thank you
K
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
login and create account[oscommerce 2.2] newbie needs help! syaiful_bahri osCommerce 2.2 Installation Help 0 03-19-2005 01:33 AM
OScommerce : can't create or login to an account digitalmelody osCommerce 2.2 Installation Help 0 10-18-2004 01:00 AM
State list missing on Create Account Page zTech osCMax v1.7 Discussion 1 09-13-2004 09:15 AM
how 2 change text in create new account box next to login karmakat osCMax v1.7 Installation 1 04-14-2004 06:20 PM
bypass SSL login/myaccount/create account thesauce98 osCMax v1.7 Discussion 4 03-16-2004 01:56 PM


All times are GMT -8. The time now is 05:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax