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

XF 1.2 How to make a forum private

#1
Hi, I was thinking of making one of the forums on my site private so the content can only be viewed by members of the whole forum. Everything is free, it's just that the info in this forum is mostly videos and somewhat valuable and it doesn't feel right letting guests access it without becoming a member.

How do I make a forum private ? Not the whole forum website - just one particular category and forum.

Does anyone else do this ?

Thanks in advance.
 

EQnoble

Well-known member
#2
In the ACP click on: Applications, then click on ' Display Node Tree'

In that list find the node you would like to make private...then click on the permissions button immediately after the node title in that list
1.png



Check 'private node' then click update
2.png
Then you will need to update the the groups which you want to see the node...

For administrative check 'allow' for all 'Forum Permissions' and 'Forum Moderator Permissions' and for moderators (pending what permissions you normally give your moderators) it is pretty much the same...

For registered members you check allow for all regular ' Forum Permissions'

3.png
 

Jeremy

Well-known member
#4
Inherit gains it's value from the parent node / user / user group permissions. Allow explicitly states it should be possible.
 
#5
Thanks for the info everyone. Not sure why my site was set to inherit in most places, but I'll figure it out. Tough being a beginner with forum technology.
 
#6
But I guess there is no way for people to see the name of the forum on the main index page with all the other forums, and then if they click on it, it says it is for members only etc. ?
 

Amaury

Well-known member
#7
But I guess there is no way for people to see the name of the forum on the main index page with all the other forums, and then if they click on it, it says it is for members only etc. ?
Restrict access to the category containing the forums.
 

EQnoble

Well-known member
#8
But I guess there is no way for people to see the name of the forum on the main index page with all the other forums, and then if they click on it, it says it is for members only etc. ?
For that private forum you can set the permissions like this...

fdhgfhfgfgh.png


If you do it right it will show like this on the forum list fddffff.png
 
#9
Not sure why you would restrict access to the category containing the forums instead of the forum itself, but I'll think about it and try and do this. Thanks Amaury and EQnoble for your help.
 

Jeremy

Well-known member
#12
I believe they are hard coded to false and ignore any values you set. The code to "hide" them would be unnecessary.
 
#13
Just noticed when you log out as admin and click on the private forum it displays :

There are no threads to display.

It would be better if it showed the names of the threads, thereby encouraging them to join.

But, it's not a big deal - they should understand the point.
 
Last edited: