Log in

View Full Version : Making one forums post, never "jump" back to the top after a reply?


Gutspiller
02-08-2002, 07:28 PM
I don't want them to go up to the top, I just want them to stay in the order that the first thread was posted in, BUT I only want it on one forum. Is this possible? Sorry if this is more of a request, but it doesn't sound too hard... I just wasn't sure.

Admin
02-09-2002, 08:03 AM
Sure... already posted this 7 times before I think. ;) :)

In forumdisplay.php, replace:
default:
$sortfield='lastpost';
with:
default:
if ($foruminfo['forumid']==XXX)
$sortfield='thread.dateline';
else
$sortfield='lastpost';
(change XXX to that forum id, of course)

OT: Anyone else here wondering what the heck this code does? :p
if (!isset($sortorder)) {
$sortorder = "";
}
if (!isset($sortfield)) {
$sortfield = "";
}

Admin
02-09-2002, 08:07 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&postid=219127#post219127" target="_blank">https://vborg.vbsupport.ru/showt...127#post219127</a>

Gutspiller
02-09-2002, 07:12 PM
Originally posted by FireFly
https://vborg.vbsupport.ru/showthread.php?s=&postid=219127#post219127

hmm, I take it that hack does the same thing right? Just so much they are talking about in there it's a little hard to understand what it does besides add more sorting features, but I take it, you can also turn off all sorting features as well. :confused: