I don’t think you can actually block users from the whole page, but you can display different content on the page for logged in members vs non-members using data attributes.
I use data-ms-content=!members to hide login/signup forms from logged in members on my login page. You can show a different message to members on these pages by using data-ms-content=members.
There might be a more clever way to achieve this goal, but this works 🙂
Comments
2 comments
I don’t think you can actually block users from the whole page, but you can display different content on the page for logged in members vs non-members using data attributes.
https://docs.memberstack.com/hc/en-us/articles/7403036765339-Show-and-Hide-Individual-Elements-data-ms-content
I use data-ms-content=!members to hide login/signup forms from logged in members on my login page. You can show a different message to members on these pages by using data-ms-content=members.
There might be a more clever way to achieve this goal, but this works 🙂
There is a script that can do this! I just need to find it. But natively in memberstack no, you can do the opposite though
Please sign in to leave a comment.