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

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

Discussion in 'Styling and Customization Questions' started by Nudaii, Jan 24, 2013.

  1. Nudaii

    Nudaii Well-Known Member

    Basically i run a forum which by its very nature has alot of subforums (due to niche)

    what i would like to do is have 2 master forums which would pull all topics with a certain prefix

    master forum 1 all slave forum threads with prefix1

    master forum 2 all slave forum threads with prefix2

    how could i accomplish this?

    I would be using this as a base:)
  2. Nudaii

    Nudaii Well-Known Member

    //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';
    $sqlConditions[] = 'thread.node_id = ' $db->quote($conditions['node_id']);
    In case anyone was curious:)

Share This Page