Guest Posted January 3, 2021 Share Posted January 3, 2021 Site URL: https://wycombeastro.org Hi. I'm wondering if some one can help. I'm setting up a members area on my site, https://wycombeastro.org, and would like to just display the login pop-up form with no sign up (create) link to the Members area or to create a customer account. The reason why is that the site is for a society for paid members (paid for outside of Squarespace) and I 'm going to create their accounts manually for them to access this area from a password protected sign up page. When I use the Members Area block it always displays the sign up form in the pop-up form and has a "Sign in" link to at the bottom of the login pop-up form. I would like it to display the login form instead as below. I have worked out I can do this by visiting the link, https://www.wycombeastro.org/account/login This is the same link as Squarespace creates in the main navigation and you click the "Sign In" link. However, in this pop-up there is a "Create account" link and for some weird reason if you fill the form in it creates customers accounts not member area accounts like the Members Area Block. As I didn't want this or for visitors to sign up for members areas, I have manged to hide the navigation with this CSS #navigation-top nav ul> :nth-child(8) { display: none; } However, it would be good to have the official navigation link and login pop up minus the "create account" link on it. Any ideas how to do this? Note, if I set my custom CSS "display" value to "block" in it will show the normal "Sign In" link in the main menu. The other issue I have is if a site visitors enter a protected members page it gives them the option to Join so I need a way to hide this. See screen shot below. I just want to show the sign up pop-up again minus the Create Account link . I'm assuming perhaps both of these can be achieved by some custom code that can be added to the page or injected in the page or CCS. Ideally, I would like to be able to create my own custom login page that can be accessed from the main menu and displayed if a visitor tries to access a members area page when not logged on. But to do this I need know the form post url and fields names for username and password text boxes to re-create the Members login pop-up. Many thanks in advance. Mark Link to comment
paul2009 Posted January 3, 2021 Share Posted January 3, 2021 1 hour ago, markbpriv said: I..would like to just display the login pop-up form with no sign up (create) link. The other issue I have is if a site visitors enter a protected members page it gives them the option to Join so I need a way to hide this. I'm assuming perhaps both of these can be achieved by some custom code that can be added to the page or injected in the page. Unfortunately, the current implementation of 'Member Areas' does not support the configuration that you want. It was built to encourage signups and was not built to accommodate private sites with existing memberships. Hopefully further features will be added to allow this sort of customisation but, in the meantime, there are no options to change the behaviours or layouts that you describe, and code cannot be used to change them. This forum is not monitored for product feature requests so you may want to raise these requests with Squarespace Customer Care. They'll document your feedback and share it with the appropriate team. You can reach out to them here. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
MJCarp Posted February 7, 2021 Share Posted February 7, 2021 Site URL: https://valverdecommons.com In order to close sign-up to Members Area, I need to kill/remove/disable the "Join" button on the Access Denied page. Any help would be appreciated. Link to comment
MJCarp Posted February 8, 2021 Share Posted February 8, 2021 This bit: <button class="sqs-editable-button" style="margin: 33px 0 5px 0" onclick="joinMemberArea('5fe4c637917ad55772266131', window.location.pathname)" > Join </button> <br /> <button style=" display: inline-block; margin: 11px 0 5px 0; cursor: pointer; border: none; padding: 0; color: inherit; background-color: transparent; " onclick="joinMemberArea('5fe4c637917ad55772266131', window.location.pathname, true)" > Link to comment
MJCarp Posted February 8, 2021 Share Posted February 8, 2021 or another solution is a simple LogOut link in members area navigation menu. Link to comment
MJCarp Posted February 8, 2021 Share Posted February 8, 2021 I have the same issue. I posted here in the Forum and reported to SS. I now have members logged in but can't log out with out revealing Join option. Is there are way to log out of Members Area? or create a log-out link? I have resolved this issue. For this client there was a fixed membership. Once all member have signed up, we disabled all SS join/create functions. So the issue became having access to the Account Panel and Signing out. A simple text link URL /account/login does the trick. Link to comment
MJCarp Posted February 8, 2021 Share Posted February 8, 2021 I have resolved this issue. If you want to know how, please reply. The original issue is after ending membership sign up, how so members gain access to their Account Panel and Sign Out option. Link to comment
Guest Posted February 14, 2021 Share Posted February 14, 2021 @MJCarp how did you end up resolving this? Link to comment
MJCarp Posted February 18, 2021 Share Posted February 18, 2021 On 2/14/2021 at 5:02 AM, Aminoyo said: @MJCarp how did you end up resolving this? When you are ready to close membership sign-up, disable all buttons in the header and delete any member area sign up blocks. Create a new Page and put in the Members Area navigation. I titled mine "Account Panel/ Sign Out. Create a section/text block on this page. The text should explain that you are providing link to a member's account panel. Highlight text "Account Panel" and using the Link Editor choose Page and type: "/account/login". When a member navigates to their Account Panel, they can now sign out using the link under their name. Link to comment
heatvision Posted February 26, 2021 Share Posted February 26, 2021 I find it utterly disappointing that a simple feature like hiding the "Join" button is not supported for something like the members area feature that costs extra on top of an already premium price. Link to comment
GlynMusica Posted March 2, 2021 Share Posted March 2, 2021 Has anyone worked out if you can set a logout action via a URL parameter? I want to give people the option to logout from a menu item. Thanks We provide digital marketing services for businesses that need exposure/sales from search and social media networks. We also build incredibly fast and well optimised multi-language Square Space websites.Digital Marketing | Marketing Digitale Link to comment
PhilippineB Posted March 24, 2021 Share Posted March 24, 2021 @MJCarp Hi, Can you tell me exactly how did you do to kill/remove/disable the "Join" button on the Access Denied page ? I need to approve every member before signing up Link to comment
Bliss12 Posted May 25, 2021 Share Posted May 25, 2021 I have found a solution to hide the join button, which works! This is taken from https://www.squarestylist.com/blog/workarounds HIDE THE JOIN BUTTON If you're going to use the Squarespace Member Areas, it's best to set up a free membership space so that you won't have to use its native checkout feature. Still, we'd have to work on safeguarding your premium content by adjusting the settings. Whenever a person clicks on your member area without an account, they'll be redirected to an Access Denied screen, where they'd be prompted to join if they haven't yet. You'd have to hide this default member sign-up block using CSS and JavaScript so they can't bypass the payment gateway. All you have to do is add the snippet below to Settings> Code Injection > Footer. <!--Squarestylist Snippet to Hide Join Button--> <script> var sqelem= document.querySelector('#sqs-member-access-page-root .sqs-editable-button'); sqelem.remove(); </script> <!--END SQSTYLIST JOIN BUTTON--> Also, don't forget add this code snippet to Custom CSS. Press Cmd+Ctrl + ↓ to immediately get to the very end of your panel. #sqs-member-access-page-root .sqs-editable-button { display:none; } Link to comment
paul2009 Posted May 25, 2021 Share Posted May 25, 2021 4 hours ago, Bliss12 said: I have found a solution to hide the join button, which works! I think it's important to point out that this is a 'workaround' only, as the author states in their blog post. It's not a solution because it is still possible for visitors to join for free using the default links that are built into the platform. What we really need is for Squarespace to fix this, so that site owners can choose whether to prevent members of the public joining their Member Areas. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.