How can I hide the sign in button from my help center?

Return to top

18 Comments

  • Calla

    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!

    0
  • Brett Bowser
    Zendesk Community Manager

    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!

    1
  • Calla

    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.

    0
  • Brett Bowser
    Zendesk Community Manager

    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!

    0
  • Frédéric

    works great, thanks for sharing

    0
  • Tomer Duvshan

    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

    2
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    @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?

    0
  • Tomer Duvshan

    Yes, that's correct. Can I send it to you in private somehow?

    0
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    okay, ifrasaqlain@gmail.com, it's my mail ID so you can send to this ID.

    0
  • Kristian Kho

    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?

    0
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    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.

    0
  • Marina

    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!

    0
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hey Marina,

    You need to remove the code:

     {{#unless signed_in}}
              <li>
                {{#link "sign_in" class="sign-in"}}
                  {{t 'sign_in'}}
                {{/link}}
              </li>
            {{/unless}}


    Line no. 18 to 24, you can see in the below image





    And, remove from mobile

    Line no. 77 to 82, you can see in the below image



     

    When you have done, test well your header :)

    If any query, let me know.

    Thanks

    Click on my site link:  http://ifrasaqlain.com/introduction/

     

    1
  • Team RSH

    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!!

    1
  • Bill Brooks

    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? 

    0
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    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

     

    0
  • Bill Brooks

    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. 

    0
  • Ifra Saqlain
    Community Moderator
    Zendesk Luminary
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    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:

    I need to remove the "sign up" and "Get a password" links from the log in screen. 

     

    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. 

    0

Please sign in to leave a comment.

Powered by Zendesk