Book a session only for members Answered
Hi guys, I am trying to connect memberstack to my current marketplace ( RFLKT.com) and I have a question. Currently you don’t have to be logged in to book a session but I want to change that so you cant book a session without being member. In the example of gated content it always shows the pages in webflow are separate from the website. But being a marketplace I want to use the same page BUT with but links to the button only accessible when someone is logged in. How would I do this ? Thanks in advance.
Comments
4 comments
Hi Praveer,
You can gate content using two ways:
In your case, if you want to show buttons to logged-in members while all the page remains public, you will have to add an attribute to the button or each button that you want to hide
In this documentation are more examples, you could hide it by auth status, by plan, by paid plan, free plan and so
https://docs.memberstack.com/hc/en-us/articles/7403036765339-Show-and-Hide-Individual-Elements-data-ms-content
Hey Praveer Srivastava -- RFLKT looks super interesting. I'm actually building a similar kind of "Expert Network" in another industry. I love this model.
To uplevel customization of permissions based on user type, I've relied on the REST Admin API, which I've found useful and easy to integrate.
https://docs.memberstack.com/hc/en-us/articles/17385829931419-Memberstack-Admin-Package-REST
Let me know if you ever want to connect
The admin package and REST API should be used within a protected environment like a Backend or Wized. Always keep in mind to never expose your secret keys in the frontend, or you could get hacked 💀
Thanks guys, this is very helpful !
yeah I think the first solution is what I need for the moment as its just to hide + show buttons when logged in. But then I will move to wized in the future for the REST API part.
Please sign in to leave a comment.