Firefox PHP

Sorting Threads by Most recent post

Posted by fred 
Sorting Threads by Most recent post
December 01, 2000 05:23PM
I've been trying to sort the top level threads, so that those with the most recent post appear on top. Our first few attempts have failed.

Am I missing something obvious here? In other words, is the code already able to do this sort? If not, has anyone done this?

Any advice/ideas are appreciated.
Re: Sorting Threads by Most recent post
February 04, 2001 07:12PM
i cant get it to work also.
has nobody an idea how to do this?
thanks
tomse
M
Re: Sorting Threads by Most recent post
March 06, 2001 03:20PM
Come on people, this hack is out of my league but it can't be THAT hard? Does nobody know how to do this?
Re: Sorting Threads by Most recent post
March 06, 2001 07:39PM
You probobly can do it, and i'll look how to do it tonight. (if u wont be able to see anything tomorrow, i probobly messed up the board :))

vulpes
Re: Sorting Threads by Most recent post
March 07, 2001 06:10AM
[update]
sorry, didn't have time for it today.
vulpes
Re: Sorting Threads by Most recent post
March 15, 2001 04:07AM
How about today?
Re: Sorting Threads by Most recent post
March 15, 2001 05:20AM
i tried it couple of days ago, no luck.
Re: Sorting Threads by Most recent post
March 23, 2001 12:12AM
It would (in theory) be easy to do in collapsed view but not sure how the hell u would do it in expanded vew (@!#$ loads of nested queries!) -> I suppose u could not bother when expanded seeing as its only Phorum that does this type of thing.

I will have a go on my forums in collapsed view over the next few days

[www.brightonlife.com]

Matt
M
Re: Sorting Threads by Most recent post
April 03, 2001 10:57AM
Any luck on this one yet? When I posted the request, I meant of course to have this in collapsed view only. It would be close to meaningless in uncollapsed view. Please, someone?
Matt
Re: Sorting Threads by Most recent post
April 04, 2001 06:40AM
Next version of phorum is gona have it anyway so I didn't bother.......

see [www.phorum.org]
Re: Sorting Threads by Most recent post
April 04, 2001 10:17AM
true, my board is running on the latest beta alredy :happy:
Matt
Re: Sorting Threads by Most recent post
April 04, 2001 10:33AM
i noticed you were running 3.3.0-dev .... any problems with it?
do you have any inside info on when it will be released -


same for v4 too....

:)
Re: Sorting Threads by Most recent post
April 05, 2001 01:54AM
well, i don't know about 3.3 but People in dev team told me that they upload beta of piv while biran is gone to that conference.
Re: Sorting Threads by Most recent post
April 11, 2001 10:10AM
It is done. You have even three sorting options. See [budo.cz]
M
Re: Sorting Threads by Most recent post
April 25, 2001 10:54AM
Good for you. It seems that you intend to keep it for yourself, so it won't do the world much good...
Timothy
Re: Sorting Threads by Most recent post
May 30, 2001 02:27AM
I think the following should be done:

1. add a field to each thread called 'lastpost'
2. update 'lastpost' each time post.php is called to post a new reply
3. list.php should have ORDER BY lastpost DESC
Re: Sorting Threads by Most recent post
May 31, 2001 05:25AM
Seems that Kircirci's forum is broke!

Fatal error: Call to undefined function: myhtmlspecialchars() in /httpd/html/budo/forum/post.php on line 217

Has anyone sorted the float to top yet. I didn't bother as phorum 3.3 is gona have it .. but they seem to be taking an age to release it so i may well have to get cracking on hacking 3.2.11
Re: Sorting Threads by Most recent post
May 31, 2001 05:27AM
p.s. vulpes... i take it this forum is 3.3-dev? do you have a working standard copy you can email me .. i tried out some of the cvs dumps on phorum but they always seem to be error prone
Re: Sorting Threads by Most recent post
May 31, 2001 05:46PM
you need to add some stuff to the tables, also run update script. It should work after that. Mine runs on hacked 3.3-dev
Guy Redwood
Re: Sorting Threads by Most recent post
June 29, 2001 07:31AM
where do you get 3.3-dev from. I need to update our phorum to get the threads sorted by posts and I don't like the new layout of phorum 4. You only seem to be able to get 3.2 or 4 Alpha

I've been trialling other boards with the users to fix the sorting - but they just love the phorum layout - which is good - cos so do I.

thanks

Guy
Sorry, you do not have permission to post/reply in this forum.