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

zoldos

Well-known member
#1
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.

Thanks!
 

Attachments

Brogan

XenForo moderator
Staff member
#2
Edit the forum_list template and wrap everything except the log in in a guest conditional statement.

See the link in my signature.
 

zoldos

Well-known member
#3
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...