If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Is there a way to have a "Members only" ez page?

Is there a way to have a "Members only" ez page?

Locked

Started by canemasters on 19 Jun 2007, 8:31 PM · Views: 1,147

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
19 Jun 2007, 8:31 PM
#1
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Is there a way to have a "Members only" ez page?

Our members get exclusive access to training tips and such. I need to make a page that only our members can access. Is this possible? Would be nice if it could work with the wholesale price module, because I am basically using this as member pricing. Works great! Maybe there is another solution though.

Thank you.

Canemasters
www.canemasters.com

24 Jul 2007, 8:44 PM
#2
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Is there a way to have a "Members only" ez page?

I hate to bump this, but I've gotta come up with a solution to have a password protected section that only selected members can view. Thank you.

Canemasters
www.canemasters.com

24 Jul 2007, 9:21 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Is there a way to have a "Members only" ez page?

If you look at other pages and how they force a login you can do this on any page ...

To control something like a single EZ-Page you will need to get a touch more technical but the idea is to add to the header_php.php of the /page directory ...

  if (!$_SESSION['customer_id']) {
    $_SESSION['navigation']->set_snapshot();
    zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
  }

First get that working then work on just for the given EZ-Page ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2007, 9:39 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Is there a way to have a "Members only" ez page?

Thanks misty ... thought there was one of those running around some place ... :smile:

So many days ... so many posts ... :smartalec:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2007, 9:43 PM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Is there a way to have a "Members only" ez page?

Ajeh:

Thanks misty ... thought there was one of those running around some place ... :smile:

So many days ... so many posts ... :smartalec:
No problem ajeh, after over 36,000 posts,
my head would be spinning too
:hug:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others