Log in

View Full Version : How can I define my own criteria for displaying threads in a forum ?


mihai11
07-14-2007, 03:36 AM
Hi,

Right now the threads in a forum may be sorted using "last post time", "thread title", "thread start time" aso. We also have the sort order "Ascending" and "Descending" and the time "begginig", "last day", "last 2 days", "last week" aso.

How can I define new criteria for displaying threads ? Any suggestions is appreciated.

Regards,
Razvan M.

SCRIPT3R
07-14-2007, 04:08 AM
what else would you want to sort them by?

mihai11
07-14-2007, 04:10 AM
Actually, I want to define some filters according to some criteria. For example: I might put threads into categories and display only some categories of threads.

I was thinking that the sorting algorithm would be a good place to start.

SCRIPT3R
07-14-2007, 04:32 AM
i'm not aware of anything written where such an action could be done on the "fly" as you suggest. you're probably looking at some major php overhauling and/or a lot of injecting.

mihai11
07-14-2007, 04:58 AM
This is what I was thinking too .... that I need to modify some PHP files.