Jump to content

About locked topics and how they are ordered.


iozay

Recommended Posts

Posted

At the current time topics are split up between "Pinned" and open/locked. That is alright however I have been thinking.

Locked topics are most of the cases (unless being pinned) not extremely important to be useful to the community as locked topics simply do exist for either archiving purposes or to show the reason why the topic has been locked.

My request is to place locked (non-pinned) topics at the bottom of the current page so the space could be used for current active discussions.

  • 4 weeks later...
Posted

I'd like to have my closed topics underneath all open topics, how can we achieve this? I had it on 3.0.5 but I don't remember how, on 3.1.2 it doesn't do a thing.
It's very ugly having locked topics in between open ones.

Posted

I've found it, this is it:

Open admin/applications/forums/modules_public/forums/forums.php

Look for:


  //-----------------------------------------

  // Get main topics

  //-----------------------------------------

Add below:


  $sort_key = 'state DESC, '.$sort_key;



That's it. Thanks to I30 (~Im4eversmart) for this code.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...