How to have threads appear above forums and not below them?

Ruven

Well-known member
#1
Ok here's the deal.
I have set up my categories to also function as a forum.
So when you go to a category you not only see its list of forums, but after all the forums are listed you also see the forums threads.
I want to reverse that order.
I want the threads to appear at the top, and the forums to appear below the threads.

And as a bonus i want to be able to limit the amount of threads that show up to just 5 or 10 before a person has to move on to the next page of threads... but only for threads within a category.

So, how would i go about doing this without fouling stuff up?
 

Jake Bunce

XenForo moderator
Staff member
#2
Ok here's the deal.
I have set up my categories to also function as a forum.
So when you go to a category you not only see its list of forums, but after all the forums are listed you also see the forums threads.
I want to reverse that order.
I want the threads to appear at the top, and the forums to appear below the threads.
That is a template modification.

Admin CP -> Appearance -> Templates -> forum_view

Find and move this code to the bottom of the template:

Code:
<xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
And as a bonus i want to be able to limit the amount of threads that show up to just 5 or 10 before a person has to move on to the next page of threads... but only for threads within a category.
That can be done with an addon. Here is an example that is not far from what you want to do:

http://xenforo.com/community/threads/creating-a-simple-modification.3532/
 
Top