dafoc Posted November 4, 2002 Posted November 4, 2002 We want to make our complete catalog open to our customers only, because we don't want our competitors to see all our products. Therefore, this would be how it works ... there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list. We also need to have something in place in the admin to approve membership when they sign up. Is is possible? Are there any contributions out there yet? Thanks, David Quote
dafoc Posted November 7, 2002 Author Posted November 7, 2002 Anyone knows if there is a contribution for this? Or have any idea about how to modify the code? Thanks a lot!! Quote
kappaluppa Posted July 11, 2003 Posted July 11, 2003 We want to make our complete catalog open to our customers only, because we don't want our competitors to see all our products. Therefore, this would be how it works ... there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list. We also need to have something in place in the admin to approve membership when they sign up. Is is possible? Are there any contributions out there yet? Thanks, David I am searching for the same thing. I don't need this part, really (it wouldn't hurt: there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list. But i do need to approve all users and then make them login each time before even browsing. Thanks Quote
Guest Posted July 11, 2003 Posted July 11, 2003 customer side: 1) add a new field to the customers table called "approved" as a char(1) 2) add a check to login.php to see if it is set true before logging in Admin side: 1) copy customers.php to approvecust.php 2) change the sql to only select those that have non-approved status 3) steal the code for turning the products on/off and use the "lights" and the ability to switch them on/off from the page without having to edit the entire record 4) keep the ability to edit the record, and add the approved flag to the edit screen 5) modify customers.php to allow you to edit the new field 6) add the acces to approvecust.php to the left hand side navigation under customers That should just about do it. Quote
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.
Note: Your post will require moderator approval before it will be visible.