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

XF 1.4 Hide/allow viewing forum using guest conditional statements

Discussion in 'Styling and Customization Questions' started by dehness, Aug 15, 2015.

  1. dehness

    dehness Active Member

    Hi guys,

    I have hidden our forum to guests using a guest conditional statement in forum_list, but would like to allow guest viewing of a single forum that we use as a public blog.

    Last edited: Aug 15, 2015
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Why are you using a conditional statement?
    You can use user group permissions to prevent guests viewing content.

    To allow the first post only to be viewed would require custom development.
  3. dehness

    dehness Active Member

    Hmm, not sure. I guess because that's how we used to do it on XF1.1. I'm a little out of the loop.

    Instead I used a guest conditional statement to hide the sidebar in forum_list, and set never permissions for viewing most of the category nodes, allowing the one forum I wanted. Works a treat.

    Thanks @Brogan. :)
    No problem. I found this add-on.

Share This Page