X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Limiting access to pages by memberships (https://forum.x-cart.com/showthread.php?t=48964)

gman 08-02-2009 05:54 PM

Limiting access to pages by memberships
 
How can I limit access to certian pages by memebrship? Say if I only wanted the wholesale members to see a static page and display a message that they must be a wholesale member to view the page.

cflsystems 08-02-2009 06:10 PM

Re: Limiting access to pages by memberships
 
how about an if statement based on membership?

gman 08-02-2009 06:43 PM

Re: Limiting access to pages by memberships
 
Steve,
I am a little bit behind in reworking pages in xcart. Can you hook a brother up, so to speak with the right code and where to put it?

Thanks for your time.

Also I see you have CFL. Do they make a USB to S-video or composit video adapter?

cflsystems 08-02-2009 07:40 PM

Re: Limiting access to pages by memberships
 
I will have to look into this
CFL Systems has nothing to do with CFL (I suppose you mean cfl bulbs) :)

gman 08-02-2009 07:46 PM

Re: Limiting access to pages by memberships
 
No I went to the link on your sig and saw you were a cable store. I was looking for a usb to composite adapter cable. LOL

gman 08-02-2009 07:54 PM

Re: Limiting access to pages by memberships
 
Here is some code I found but I don't believe the "level 1" part is correct.

Code:

{if $user_membership ne "Level 1"}
I'm sorry, you don't have a membership, so this content is not accessible.  Please click here to become a member and get the goodies.
{else}
Your real html content
{/if}


gman 08-02-2009 08:27 PM

Re: Limiting access to pages by memberships
 
Yeah the data variable label or Level1 is off and does not work. Any idea what the data variable and the correct "level" for dealer would be?

Shamun 08-02-2009 08:32 PM

Re: Limiting access to pages by memberships
 
Wholesale I believe is "W"

cflsystems 08-03-2009 04:16 AM

Re: Limiting access to pages by memberships
 
Quote:

Originally Posted by gman
No I went to the link on your sig and saw you were a cable store. I was looking for a usb to composite adapter cable. LOL

:) Yes cables adapter... all of that
Also custom computer systems and xcart support


All times are GMT -8. The time now is 12:40 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.