ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Multi Site Manager - Different Permissions for Each Site

August 10, 2007 10:30pm

Subscribe [1]
  • #1 / Aug 10, 2007 10:30pm

    Jeri Letman

    23 posts

    Hi,

    Here’s what I’d like to do:

    Site A, B and C each have 3 different membership levels. Free, Basic and Deluxe.

    I’d like to use a common member login but only give access to the other sites, when they’ve paid for that site.

    Example:

    John joins Site A as Deluxe Member. Later he purchases a Basic membership for Site C. Still later, he purchases a Deluxe Membership for Site B.

    My Questions:

    * can this be done with MultiSite Manager?
    * if it requires custom programming, are there any hooks available for MSM that would help in achieving this?

    Thanks,

    Jer

  • #2 / Aug 12, 2007 1:48pm

    Robin Sowell

    13255 posts

    Hm.  Well- you could do a membership level for each possible combination- which is rather a lot.  But it’s the main way I can think of.  But I think it’s doable- just rather confusing.  But does the approach make sense?  The register only once- and then any additional sites/levels they want to add result in a change in membership level.  Working out all of the permutations, though…  It would take some thought.

  • #3 / Aug 12, 2007 10:57pm

    Jeri Letman

    23 posts

    Hm.  Well- you could do a membership level for each possible combination- which is rather a lot.  But it’s the main way I can think of.  But I think it’s doable- just rather confusing.  But does the approach make sense?  The register only once- and then any additional sites/levels they want to add result in a change in membership level.  Working out all of the permutations, though…  It would take some thought.

    HI Robin,

    It’s not really a change in membership level that’s important, it’s the ability to have one login among multiple sites AND allow the person to only access the product/services that they have paid for.

    I have thought of a fairly simple way to do so.

    * set up an Access Control List table. Fields: member_id, site_id, product_id,status,date

    When I person purchases a product, info like: “2007,2,6,1,2007-08-02” is added.

    * On the pages that are protected, use a plugin or custom query to determine if they have access.

    * Do a check “if (MemberGroup == 6 and AccessFlag == Y ) then allow access (through an embeded file), otherwise load the Join embed file.

    So, in theory it looks relatively easy, just not doable out of the box.

    Jer

  • #4 / Aug 13, 2007 11:43am

    Robin Sowell

    13255 posts

    Ah- my bad.  I was thinking it was a site access thing- if it’s an entry access thing- with products being entries- then yep, that’s how I’d do it.  And it wouldn’t be difficult at all- just need an interface for record keeping- how that happens would depend on how they’ll be paying.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases