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

XF 1.4 hide hidden forums from destination list when moving threads

Discussion in 'XenForo Questions and Support' started by asma, Mar 30, 2016.

  1. asma

    asma Member

    when my moderators try to move threads, they still see the long list of all forums including hidden ones.. is there a way to hide these hidden forums from the destination list?
     
  2. Mike

    Mike XenForo Developer Staff Member

    Hidden as in ones that aren't normally displayed in the node list? No, as this would prevent them from moving threads to those forums, for example. If you don't want them to see specific forums at all, you should revoke their "view" permissions from those specific forums.
     
  3. asma

    asma Member

    done :cool:

    threads_fields_move template
    Code:
    <dl class="ctrlUnit">
        <dt><label for="ctrl_node_id">{xen:phrase destination_forum}:</label></dt>
        <dd>
            <select name="node_id" id="ctrl_node_id" class="textCtrl selectForum">
            <xen:foreach loop="$nodeOptions" value="$node">
                <xen:if is="{$node.display_in_list} != 0">
                <option value="{$node.node_id}" {xen:selected '{$node.node_id} == {$firstThread.node_id}'}
                    {xen:if "{$node.node_type_id} != 'Forum'", 'disabled="disabled"'}>{xen:string repeat, '&nbsp; ', $node.depth}{$node.title}</option>
                 </xen:if>
            </xen:foreach>
            </select>
        </dd>
    </dl>
     

Share This Page