Ciscowrig Posted January 26, 2010 Share Posted January 26, 2010 I know this subject has been discussed, but I haven't found a solution that has worked yet. We have a site that we do not wish anyone to access unless they've logged in. I would like it to redirect them to the authentication screen. At that point they can create an account but issue 2 would be making sure that the account gets validated by myself before they are allowed to access the site (I've found some solutions for this part I may be able to implement if no one has any ideas on making it easy).So to simplify:Issue 1: Redirect to authentication.php unless logged in. Maybe using something similar to the order.php (line 39-41) script below, I tried editing it into some pages, but just get errors. if (!$cookie->isLogged() AND in_array($step, array(1, 2, 3))) Tools::redirect('authentication.php?back=order.php?step='.$step); Issue 2: require new account validation. I've heard this is part of 1.2.5, which is what I'm using, but can't find it.Thanks for any assistance. Link to comment Share on other sites More sharing options...
D-fox Posted January 27, 2010 Share Posted January 27, 2010 how about setting up groups like this :ALLAPPROVEDand assign all products to APPROVED group onlyOn each new customer you may give access rights to APPROVED group.In this maanner only screened customers will be able to see the products.Otherwise check modules for this private check-in into www.prestatools.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now