XF 1.3 how do I prevent guests from viewing sidebar?


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.




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.


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