Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 8 of 8

Thread: Assign topic to customer level

  1. #1
    jdudley is offline Member
    Join Date
    Oct 2007
    Posts
    54

    Default Assign topic to customer level

    Is it possible without source to assign a customer level to a topic so if you are logged in with that customer lever you can view it otherwise you cant?

    Thanks,
    Jason

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You can't restrict topics by customer levels, but you can do that with subscriptions.

  3. #3
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Subscriptions don't restrict customer level "A" from seeing content meant for customer level "B" does it? Is there a way to make this happen?
    MSX

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Subscriptions are separate from customer levels, so no. There's not really a way to restrict content pages by customer level, just product pages.

  5. #5
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    If you password protect a topic, then no-one can see it without the password...

    ...Unless that topic is called from an xmlpackage...

    ...& that topic can have logic based on customer level to determine whether or not to show it...



    TTFN

    BFG

  6. #6
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Right I understand the XML Package way. quite simple, I also made a way by modifying the driver.cs file so that the admin for example can create a customer level called gold and a topic named mytopic-gold and it will display mytopic-gold.aspx if the use user level is gold. or mytopic-silver.aspx if the customer is silver.

    however in both cases XML or my driver.cs mod someone that is a silver level could type t-mytopic-gold.aspx in the url and see it. That it what I want to prevent.

    Hope that makes sense.
    MSX

  7. #7
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    Quote Originally Posted by virtualtap View Post

    someone that is a silver level could type t-mytopic-gold.aspx in the url and see it. That it what i want to prevent.

    Hope that makes sense.

    If you password protect a topic, then no-one can see it without the password...

    ...unless that topic is called from an xmlpackage...


    TTFN

    BFG

  8. #8
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Oh I see Thanks BFG 9000 that is perfect.
    (((...unless that topic is called from an xmlpackage...)) is the key!!!

    Now I just have to revert my driver.cs. and figure the logic I had there into the xml package instead. Many Thanks!
    MSX