Gating cms items (individually) Answered

Post author
Marko Guzvic

Guys is there a way to gate cms pages separately? So when a user buys a cms item he gets access to just that item. Only thing I can think of is making a separate plan for every single item(25 to be exact and more to be added).

Comments

8 comments

  • Comment author
    Shadi null

    Would be awesome to have a feature similar to the user specific redirect URL field in the dashboard. But to gate that specific URL to that specific member ID

    0
  • Comment author
    Marko Guzvic

    Shadi null So I’m left with making a separate plan for every item? 🥲

    0
  • Comment author
    Shadi null

    You could do the same with some JS on your page, but that would be less secure.

    I did something similar with dashboards so that the JS checks the logged in users memberID and references the CMS item owner MemberID, if they do not match it sends them to their own URL (via a custom field that holds their dashboard URL). If it does match then they can use their dashboard

    0
  • Comment author
    Marko Guzvic

    The thing is I have pages(CMS Items) that are accessible to any user, but once you buy the item some content on the page should appear. So I’m looking to use data-ms-content… I really have no idea on what to do

    0
  • Comment author
    Shadi null

    Julian Galluzzo Actually just a few days ago taught me about this really cool Hosted Content feature!

    Unfortunately you will need to break it down into separate plans, but you can make it so the button/content thats sensitive literally doesnt exist on the page (can be replaced with a placeholder when the user does not have the right plan).

    https://docs.memberstack.com/hc/en-us/articles/15074205669403

    I think this might help your use case

    0
  • Comment author
    Marko Guzvic

    That’s really cool, thank you!

    0
  • Comment author
    Shadi null

    It’s MUCH more secure than data-ms-Content (technically it takes a few frames for the Content filter to kick in, so JS scraping bots can scalp all your gated data/Content it they put some serious effort into it.)

    Whereas with hosted Content the data is not rendered on their local device until they pass some Server side checks (like if they have the Right plan; member Account, etc)

    0
  • Comment author
    Duncan Hamra

    I’m afraid you’ll need a plan/gated content for each piece of content 🤔 This sort of situation is the most compelling case for allowing admin to create gated content or plans via the API. Tyler Bell is this something I could add to the longer term roadmap? Could enable some new and interesting use cases.

    0

Please sign in to leave a comment.