Is It Possible to Have All the Posts Show Up in One Place?

With our current forum set up, all the posts show up on one main index page.

There are categories and then subcategories underneath the main index page. For the categories, all of the posts for the category and subcategories show up.

Is this possible with Xen foro? Are there even subcategories?
 

Shelley

Well-known member
With our current forum set up, all the posts show up on one main index page.

There are categories and then subcategories underneath the main index page. For the categories, all of the posts for the category and subcategories show up.

Is this possible with Xen foro? Are there even subcategories?

It is possible to display the subforums on forum_list (index) though you will need to install an add-on to get the grid layout. http://xenforo.com/community/resources/sub-nodes-in-columns.580/
 

Nudaii

Well-known member
Well there is the ability to have posts show up in master forums

aka master forum 1, shows content from sub forums 1,10,43,27 etc
master forum 2 shows content from x y z etc

Or you can have it by prefix(which i do)

all threads with prefix x show up in y forum
 
Richard,
Can you explain the master and sub-forum? That is what I'm trying to do. I could have one forum and then every forum under that could be sub forum? Can you have sub-forums under subforums (ie 3 levels).

The Digital Doctor seems to say it is not possible to do the sub forum thing and you are saying it is.

Also can you explain the prefix thing further.

Sorry for being a bit lost.
 

Nudaii

Well-known member
first you need this
http://xenforo.com/community/resources/all-topics-master-forums-global-topics.773/


However to change to search by prefix do like below :)

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

So in english what above did was

In node ID 6 show all show all threads in 2,3,4,5 that had the prefix ID 1
In node ID 7 show all show all threads in 2,3,4,5 that had the prefix ID 2
:)
 

Nudaii

Well-known member
If you want to scan whole forum for prefix you can use just this

Code:
//All topic mod manual edit by BOP5
            if ($conditions['node_id'] == 6)
              $sqlConditions[] = 'thread.prefix_id = 1';
          elseif ($conditions['node_id'] == 7)
              $sqlConditions[] = 'thread.prefix_id = 2';
            else
                $sqlConditions[] = 'thread.node_id = ' . $db->quote($conditions['node_id']);
            }
        }
 
Top