Is there any setting that can be toggled or tweak that can be made to NodeBB so that users are able to block mods? I can envision a usecase where they may not want to see mod posts, but can still be reachable via DMs. Is this possible?
Unsolved <!-- statements
-
Is there an
<!-- IF topic
statement that can be used to determine if the current page being viewed is a topic or not ?Thanks
-
Seems I can use this which works. Essentially, if it's a topic then I want to use a specific font for the title. If it's not, use the default.
<!-- IF posts.length --> <h2 id="title" class="PageHero-title">{title}</h2> <!-- ENDIF posts.length --> <!-- IF !posts.length --> <h2 id="title" class="PageHero-title titlefont">{title}</h2> <!-- ENDIF !posts.length -->
-
<-- IF template.topic -->
should work -
@baris No, it doesn't. Seems it's not recognised.
EDIT - yes, it does - looks like @baris forgot the
!
in the tag<!-- IF template.topic --> <h2 id="title" class="PageHero-title">{title}</h2> <!-- ENDIF template.topic --> <!-- IF !template.topic --> <h2 id="title" class="PageHero-title titlefont">{title}</h2> <!-- ENDIF !template.topic -->
Suggested Topics
-
Unsolved Blocking Mods
Technical Support • • Tez -
Unsolved Upgrading to 2.0.0 crashed the forum
Technical Support • • א ש
Copyright © 2022 NodeBB | Contributors