PDA

View Full Version : No bump


shorty
08-20-2003, 05:01 PM
Im not sure how easy to this to do in VB 2.3 and my extensive search in here can't find my answer.

I have one forum that I would like to always display the forums in the order in which they were created in. Regardless of any posts that would 'bump' threads back to the top.

I _think_ it's a matter of telling VBulletin to not update the last post field but Im not really PHP savy enough to do it.

Does anyone have any ideas? :)

Thanks guys as always.

NTLDR
08-20-2003, 05:50 PM
You could try using one of the "Prevent Double Posting" hacks and make it apply to just that forum which would prevent the bump posts, or if you mean that you want to show the threads by thread date, regardless of real replys then a small hack to sort by threadid or dateline could be done.

shorty
08-20-2003, 05:57 PM
Today at 07:50 PM NTLDR said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=427394#post427394)
or if you mean that you want to show the threads by thread date, regardless of real replys then a small hack to sort by threadid or dateline could be done.

That would be the one. So they stay in the order in which they were created, regardless of any replies :)

I have had a good search and did try to write something but I got totally lost :cry: Im just getting started.

Issvar
08-24-2003, 03:17 PM
Open forumdisplay.php, and find
$sort = array();

And add before this line:
if ($forumid == 5) {
$sortfield = 'dateline';
$sqlsortorder = 'DESC';
}


And replace the 5 with the id number of the forum you wish to have sorted by start time. Now your threads will always be sorted with newest first. If you would prefer oldest first change DESC to ASC.

You can find the id number of your forum by simply opening that forum and looking in the address bar at what it says after &forumid=.

shorty
08-24-2003, 03:28 PM
That's awesome and did the job perfectly :D

Thanks very much!

Im starting to learn alot from these hacks and such. Looking forward to the day I can have a hack in here :classic: