• 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

dehness

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

Cheers!
 
Last edited:

Brogan

XenForo moderator
Staff member
#2
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.
 

dehness

Active member
#3
Why are you using a conditional statement?
You can use user group permissions to prevent guests viewing content.
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. :)
To allow the first post only to be viewed would require custom development.
No problem. I found this add-on.