PDA

View Full Version : Active Topics Search Results


08-18-2000, 03:42 PM
One of the biggest complaints I'm getting since I cut over is that the Active Topics list is grouped by "newness" of the latest topics, instead of by Forum order. With 400 active topics a day, my users feel lost in the sea of topics.

Is there a quick fix that can make this group by forum instead of by last posted?

08-18-2000, 04:00 PM
yes i would love to have this too... is it possible to have a drop down option on the search results so to order by date or order by forum ?

08-19-2000, 06:12 AM
Just open up search.php, and look for:
$searchresults=$DB_site->query("SELECT DISTINCT
threadid,
lastpost
FROM thread
WHERE visible=1 $checkforum $subjectonly $checkuser $checkdate $combinedwords
ORDER BY lastpost DESC");
Add a forumid to the last line, and you're good to go:
$searchresults=$DB_site->query("SELECT DISTINCT
threadid,
lastpost
FROM thread
WHERE visible=1 $checkforum $subjectonly $checkuser $checkdate $combinedwords
ORDER BY forumid, lastpost DESC");
Try that with UBB!

eva, its possible -- but at bit too much for my concentration level at 3 AM. ;-)

08-19-2000, 06:40 AM
well it works thanks :D ... but i reverted back to the origal method as it seems to be better for me...

how do i increase the number of threads displayed on the search results ?

08-19-2000, 07:04 AM
It looks like its a CP-selectable option, which defaults to 20 if its not set. Look for something along the lines of "perpage"...

08-19-2000, 07:35 AM
thanks i have v1.1.3 beta 3 and it ain't in the Control panel... so i did a search for "20" in the search.php and changed it to 30 and it works :D