Rileygld Posted January 26, 2021 Share Posted January 26, 2021 Site URL: https://ar-go.live/events Dear Squarespace forum, I use memberstack to manage my memberships via my squarespace site (ar-go.live) and zoom to host live calls for my members. That said, I was having issues with members accessing hidden links eg: "zoomlink/#/ms/conent/members" It worked fine in desktop and now on mobile. So, the lovely people at memberstack wrote me this code to deal with it and it worked like a charm (i interseted it on site-wide footer) <script> MemberStack.onReady.then(function(member) { setTimeout(function() { var btns = document.querySelectorAll("[href$='#/ms/content/member']") btns.forEach(function(btn) { btn.href = btn.href.split("#")[0] }) },1500) }) </script> The problem is that now I have another hidden content: "members-only" in addition to "members" Would anyone know how to modify the code above to include the "#/ms/content/members-only" part as well? Thank you so much for your help, Riley Link to comment
tuanphan Posted February 2, 2021 Share Posted February 2, 2021 Hi. Have you found the solution yet? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment