Question
How can I completely hide the sign up button from my help center?
Answer
You can remove the option for customers to sign up, but still let anyone contact you through your help center. This requires that you customize the theme of your help center. This varies whether you use templating api v1, or either templating api v2 or v3. If you are not sure which version you are using, see the article: About Guide templating versions.
To remove the sign up button
- Edit the code of your help center theme.
- Remove the Sign in link from all help center templates. For Templating API v1 of our Copenhagen theme, delete the user_info helper from the Header template.
For Templating API v2 and v3, delete all references or code blocks that rely on thesigned_in
helper that include the{{link "sign_in"}}
helper. For example, the following block:
<nav class="user-nav" id="user-nav"> <ul class="user-nav-list"> <li>{{link 'community'}}</li> <li>{{link 'new_request' class='submit-a-request'}}</li> {{#unless signed_in}} <li> {{#link "sign_in" class="sign-in"}} {{t 'sign_in'}} {{/link}} </li> {{/unless}} </ul> </nav>
Would become:
<nav class="user-nav" id="user-nav"> <ul class="user-nav-list"> <li>{{link 'community'}}</li> <li>{{link 'new_request' class='submit-a-request'}}</li> </ul> </nav>
Warning: The Copenhagen theme is constantly being updated and the locations of this helper are subject to change. We recommend reviewing the repository zendesk/copenhagen_theme. - Instruct your agents to bookmark the
yoursubdomain.zendesk.com/access/normal
path to use to sign in and access Zendesk. - Enable SSO for end users and set the remote URL to some page within your domain. This way, if an end user finds the user registration page somehow, for example, direct URL, they are redirected away from the Zendesk login page that includes the Sign up button.
Additionally, remove any Zendesk branding from the welcome email and outbound email notifications in general by modifying the email template and specifically removing the two placeholders highlighted below, footer
and footer_link
.
For information about how to remove the sign-up button and disable the ability for anyone to create tickets, see the article: How do I remove the ability for customers to sign up to our account?
18 Comments
Hi ZD Team!
We are trying to create a public guide with no sign in option since our customers sign in on our own website. I followed Step 1 above to delete the code, but did not do steps 2 and 3. A user somehow still received the sign-up link and was confused. Is there a link sent in ZD email notifications that might lead them back to a sign-in page if our Guide is enabled? We've never had complaints about this before I started creating the guide, so I believe it's related. Our Guide is also not advertised anywhere on our website so I don't know how they got there in the first place.
Thanks so much in advance!
Hey Calla,
You may want to check your settings under Admin>Settings>Customers as you can disable the Welcome Email from there as. If you end up manually creating users in your account you can also disable the Anyone can submit tickets option which should prevent them from being able to sign up.
Let me know if that's not what you're looking for!
Thank you for your help Brett! I unchecked the box in the screenshot below - just wanted to confirm that this would mean no one gets the welcome email simply by viewing our help desk? I'm not sure if this qualifies as a case where the user is "created by an agent/administrator" since the person is just viewing the site on their own.
Hey Calla,
If a user is only viewing your site then they wouldn't receive a welcome email regardless of if that option was toggled on or off. They should only receive the email if they sign-up by entering in their information.
Hope that clears up any confusion!
works great, thanks for sharing
Hi, I removed the code block from the template, and the sign up option is still there. According to what I understand from this article, steps 2&3 are only required if you want to prevent end users from creating accounts if they have a direct link and allow my agents to login using another link, which I'm fine with and I'm not worried about that.
I tried talking to your support but they kept instructing me to disable "the ability for anyone to contact" which is not what want and according to the 1st sentence in this article, not really required
@Tom, you want to hide the sign-in button only from the end-users, not agents, right?
Can you share the public URL of your Help Centre?
Yes, that's correct. Can I send it to you in private somehow?
okay, ifrasaqlain@gmail.com, it's my mail ID so you can send to this ID.
Hey Zendesk team,
Amazing Walkthrough, thank you for the guide. I have 1 follow up question though. I've completed the steps shown above but found out that you can still see a "Sign in" button when the page is in mobile view.
which code snippet is responsible for this and does commenting it out works too?
Hey Kristian Kho,
'{{sign_in}}' helper exists two times , did your remove both?
Copenhagen: Theme version 2.15.0
One for Desktop:
And, second for mobile.
Hi Ifra Saqlain, wondering if you can help? My team is using Copenhagen Theme version 2.13.2, Templating API v2. However my code doesn't exactly match what's shown in the example. I'm not a developer and don't want to break our HC. If I remove only lines 19-23 and 79-81 as you've shown (those do match my code), will that remove the sign in button?
Thank you for you help!
Hey Marina,
You need to remove the code:
When you have done, test well your header :)
If any query, let me know.
Thanks
Click on my site link: http://ifrasaqlain.com/introduction/
Hello all,
The title of this article is about "sign-up" button, not "sign-in" right ?
My end-users need the login button on HC to see their own tickets. So far, every solution entirely removes the login button from the header...? (i tried it)
We create our end-users through API, and we don't want unknown users to create their own account without permission.
And we also need to keep the form public, to anonymous users.
Can someone help me find a solution or understand this point please ?
Thank you!!
Hello,
We need to keep the ability for anyone to submit tickets via email, but we want to prevent people from creating their own accounts to access the help center. I'd like to control who has access to the help center.
We have Copenhagen theme v2.19.4, API v2. Following the steps in the article above removes the user drop down in the header, but does not affect the sign up link.
I need to remove the "sign up" and "Get a password" links from the log in screen.
Can you please advise how to proceed?
Hi Bill,
Please go through this article and I hope you will get your answer here:
https://support.zendesk.com/hc/en-us/articles/4408888513434-Can-I-customize-my-Help-Center-s-login-page-and-popup-
Thanks
What I mean to say is that, the body this article is describing how to remove the SIGN IN link, but the title and Q&A say this is how to remove the SIGN UP link, which is very different. The article Ifra referenced above shows editing the sign up link is not possible.
I would recommend changing the title and description of "How can I completely hide the SIGN UP button from my help center", as it is very misleading. It should be titled "How can I completely hide the SIGN IN button from my help center".
This article says we can keep the ability for everyone to submit tickets and remove the sign up link. That is not at all what removing this code block does. This removes the sign in link, but people still have the ability to sign up and create their own accounts.
Bill Brooks, I shared an article and the title is
'Can I customize my Help Center's login page and popup?'
as per your query which you shared above:
If you describe clearly about your query I can better understand and sometimes we don't understand the query due to lack of clarity.
I know the title of this article.
Please sign in to leave a comment.