Modify "all topics master forums global topics" to pull threads by prefix

PHP:
//All topic mod manual edit by BOP5
            if ($conditions['node_id'] == 2)
              $sqlConditions[] = 'thread.node_id IN (2,3,4) AND thread.prefix_id = 1';
          elseif ($conditions['node_id'] == 5)
              $sqlConditions[] = 'thread.node_id IN (3,4,5) AND thread.prefix_id = 2';
            else
                $sqlConditions[] = 'thread.node_id = ' . $db->quote($conditions['node_id']);
            }
        }

In case anyone was curious:)
 
Back
Top Bottom