1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 how do I prevent guests from viewing sidebar?

Discussion in 'Styling and Customization Questions' started by zoldos, Apr 3, 2014.

  1. zoldos

    zoldos Well-Known Member

    I restrict guests from viewing my forum except for two sub-categories. My question is, how do I hide the entire sidebar from visitors except for the login/sign up links? I've included a screenshot and I want to make it so the sidebar is hidden which I'm hoping will also eliminate the huge gap, as shown.


    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the forum_list template and wrap everything except the log in in a guest conditional statement.

    See the link in my signature.
  3. zoldos

    zoldos Well-Known Member

    I figured that's what I need to do, but I don't know which templates. I tried it in various "sidebar" templates but it appeared to have no effect...
  4. Brogan

    Brogan XenForo Moderator Staff Member

    For any custom blocks, you will need to ask in the add-on threads as it depends how they have been added.
    zoldos likes this.
  5. zoldos

    zoldos Well-Known Member

    Great, thank you very much!! :)
  6. zoldos

    zoldos Well-Known Member

    It worked, thanks!!

Share This Page