XenForo 2.0 Problem with [tl] Ignore Content

UeCrew

New member
Registered
Joined
Feb 21, 2020
Messages
3
Points
13

Reputation:

Does anyone have any ideas on how to implement this? I have installed the following addon: [tl] Ignore Content 3.1.2 and I would like that when a complete node category is hidden from the user, the widget with the id "porn_latest_posts" is also hidden in the live statistics.

With CSS I can hide it but not link it with the condition that it checks if the forum category is hidden:

CSS:
.tabGroup-content ul.content.tab--porn_latest_posts,
.tab.tab--porn_latest_posts {
  display: none;
  visibility: hidden;
}

only how can I check whether the node-id contains "is-ignored"

HTML:
<div class="node node--id252 node--depth2 node--forum is-ignored node--read">

or is there a better solution?
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
595
Points
103

Reputation:

Maybe try dumping some vars to check if that addon comes with some.
For example $node.is_ignored == nodeid

Never tried this addon, so you might dump.

{{dump($node)}}

try that
 
Top