guru wrote:you mean the end of the view? or the end end end??
for example...
25 threads on a page...2000 threads in forum
I want if i lockthread 5 5
it "becomes" thread 25 and not thread 2000
ie goes to the bottom of viewforum until it falls off the page "naturally"
Well the problem that I encountered is, that it first sorts topics by status and then by last post id. That means that all closed topics get placed at the end end end and are thereafter sorted by date. Then you get above that the open topics, which are also sorted by date.
In that way, in very active forums, you get first two pages of open topics and then two pages with closed topics for example. I tried to fool around a bit with the SORT BY statements in viewforum.php, but that didn't help.
Altering
- Code: Select all
ORDER BY t.topic_type DESC, t.topic_status ASC, t.topic_last_post_id DESC
into
- Code: Select all
ORDER BY t.topic_type DESC, t.topic_last_post_id DESC, t.topic_status ASC
...did not do the trick. That's quite a pity, for when I close a topic in the situation I just mentioned, it will appear on page three instead of at the bottom of page one.
Is there some way to solve this problem? So recently closed topics should not be sorted to the 'end of the end' but to the end of the first page in the viewforum (untill the get to old ofcourse).