XF 1.5 Hide Thread List

Playmate

New member
Hello,

I'm trying to hide the thread list on specific nodes (nodes where people can't post).
Adding in EXTRA.CSS the following hide the thread list on every nodes:
Code:
.discussionList.section.sectionMain{display:none; !important;}
However, I'm trying to hide the thread list just on a couple of nodes. I tried the following but it doesn't seem to work:
Code:
.node.node_2 .discussionList.section.sectionMain{display:none; !important;}
 
Not quite the same thing, but I just wondered if you are aware that you can do this with node permissions. (If I'm understanding correctly)

Allow a group to view the node (so it is in the forum list) but revoke permission to view threads.
 
Here's what I've tried with node permissions:
24c38056293c40d9bb9cd6bc2d2e1c95.png

And the thread list is still displayed:
6e6b12f6e7094accb7b805fe97a57cbb.png



This is the result I'm looking for, but just for this node and not for every single nodes:
5831026beaa04cfcb28e4459837ee502.png
 
Last edited:
Hi @Optic ,
It hides the thread list on every nodes on the forum. Looks like the .node parameter is not taken into consideration. It's weird because I use it for node icons and it works perfectly.

EDIT: Nevermind, it hides the thread list on sub forums only. That's progress, thanks!

EDIT: To reactivate the thread list in sub forums, I do the following:
Code:
.node3 .discussionList.section.sectionMain {display: inherit;}
 
Last edited:
Back
Top Bottom