FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to change topic sorting?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to change topic sorting? [message #9555] Wed, 09 April 2003 15:04 Go to next message
d95mbo is currently offline  d95mbo   Sweden
Messages: 3
Registered: April 2003
Karma: 0
Junior Member
I want some of my forums to be sorted by startdate rather than last message date.

Guess I have to rewrite some php-pages. Where do you think I can find the code for this? I can do some hard-coded-patch saying something like:

if ($forum_name == "blabla") { 
   ... sort by startdate...
}
else
...



Re: How to change topic sorting? [message #9624 is a reply to message #9555] Sun, 13 April 2003 15:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Forums are sorted by their view order, not last post id or any other setting. If you want to change this, change the ORDER BY clause of the main SQL queryin index.php.t and then rebuild your theme.

FUDforum Core Developer
Re: How to change topic sorting? [message #9625 is a reply to message #9624] Sun, 13 April 2003 15:07 Go to previous message
d95mbo is currently offline  d95mbo   Sweden
Messages: 3
Registered: April 2003
Karma: 0
Junior Member
thanx!
Perfect information Smile
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Other languages
Next Topic: Modifying Templates
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 22:14:36 GMT 2024

Total time taken to generate the page: 0.02682 seconds