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

Home » FUDforum » How To » Changing the order of topics
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Changing the order of topics [message #38959 is a reply to message #38956] Mon, 10 September 2007 23:35 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
In order for the topic order to be changed the forum's code inside th_adm.inc.t needs to be modified. Instead of sorting topics based on the time of the last posted message, but rather based on topic creation the following functions need to be modified:

th_reply_rebuild() this function can be made into NOOP

rebuild_forum_view_ttl() this needs to use the post_stamp of the root topic message to sort topics rather then the last message as it does now.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Create New Users
Next Topic: need to get 6 latest post
Goto Forum:
  

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

Current Time: Fri Nov 22 21:34:07 GMT 2024

Total time taken to generate the page: 0.04326 seconds