Add-on Post Thread forum_list control

woody

Well-known member
Looking for options to control what forums appear when "Post Thread" is selected from the main forum page forum_list.

In my situation, my supporting Vendor q/a forums are listed at the top of the page (to help their promotion) and the main discussion forums are listed immediately below. When a user selects the global "Post Thread", these Vendor sections are listed first...i would like to have the option to hide these.

Ideally, controlled via:
AdminCP > Forums > Nodes > select the node > under Navigation section - add a checkbox to "hide this forum from the global Post Thread"

This would allow Admins to control what sections appear, and help focus questions to the main topics/subjects for their audience, and hide areas like "chat" where you want discussions, but not focused to the audience.
 
Looking for options to control what forums appear when "Post Thread" is selected from the main forum page forum_list.

In my situation, my supporting Vendor q/a forums are listed at the top of the page (to help their promotion) and the main discussion forums are listed immediately below. When a user selects the global "Post Thread", these Vendor sections are listed first...i would like to have the option to hide these.

Ideally, controlled via:
AdminCP > Forums > Nodes > select the node > under Navigation section - add a checkbox to "hide this forum from the global Post Thread"

This would allow Admins to control what sections appear, and help focus questions to the main topics/subjects for their audience, and hide areas like "chat" where you want discussions, but not focused to the audience.
@woody private conversation has been started..
 
@woody just so you know, you can also achieve this pretty easy via css with one edit and some leg work :D

Template: forum_post_thread_chooser

Find:
Code:
<div class="block block--treeEntryChooser">

Replace with:

Code:
<div class="block block--treeEntryChooser tree-{$node.node_id}">
Find:

Code:
<div class="block-row block-row--clickable block-row--separated fauxBlockLink">

Replace with:
Code:
<div class="block-row block-row--clickable block-row--separated fauxBlockLink treeNode-{$node.node_id}">

This loads CSS classes onto the chooser:
190576



Then you can use CSS to hide entire sections:

Code:
.tree-1 {
    display: none;
}

Or specific nodes:

Code:
.treeNode-1 {
    display: none;
}

Add-on would be easier of course but just giving the option :D
 
yes but it is static approach every time you need to write or change css code if you want to change anything on list . so if you want permanent solution then only can be achieved via addon
 
yes but it is static approach every time you need to write or change css code if you want to change anything on list . so if you want permanent solution then only can be achieved via addon

If he's wanting to hide his entire vendor category, that ID never changes, therefore, it would not be a "temporary fix". Anyways this was just a helping hand for anyone who wants to hide categories (for free).
 
If he's wanting to hide his entire vendor category, that ID never changes, therefore, it would not be a "temporary fix". Anyways this was just a helping hand for anyone who wants to hide categories (for free).
yes but if in future he want to show some forum from category not all, then he will need to change the code again forum by forum or if he will upgrade forum then everything will be vanished .
 
Back
Top Bottom