PDA

View Full Version : Help - NEed to make it so "Reply" to thread doesn't UP thread in forum summary


VirtueTech
07-31-2001, 04:50 PM
Hello,

I want to make it so that when a user replies to a thread....it doesn't up the thread to the top of the forum summary...but the last post date needs to change.

The only way a thread will UP to the top of the forum summary is using Tubedoog's UP hack found here:
http://www.vbulletin.com/forum/showthread.php?threadid=12571

Any help or leading in the right direction would be greatly appreciated. :)

Freddie Bingham
07-31-2001, 04:59 PM
Change the references in the orderby section in forumdisplay.php from lastpost to dateline. This: switch ($sortfield) {
case 'title':
case 'lastpost':
case 'replycount':
case 'views':
case 'postusername':
case 'voteavg':
break;

default:
$sortfield='lastpost';
}
if ($sortfield=="voteavg" and !$foruminfo[allowratings]) {
$sortfield="lastpost";
}You should also edit the forumdisplay_threadslist template and change references from lastpost to dateline.

Something like that should work (or not) ;)

VirtueTech
07-31-2001, 05:51 PM
Freddie,

I forgot to mention that I only want this to work for some forums....how would I go about doing that?

Freddie Bingham
07-31-2001, 07:06 PM
With more hacking than I care to paste :) Time constraints you know..