![]() |
You know, the page where you see all the threads from the users are listed ?
Wel on that page when somebody replies to a thread, that thread automatically moves to the top, well I don't want that, I know you can disable this in the code somewhere so that they just stay in there place. I did it before but on a way older version, and honestly don't know anymore how to do it. please help me out thanks alot |
This is the normal behaviour of vBulletin. You will have to alter the code in the forumdisplay.php file.
|
But where and what should I change ...
|
$threads=$DB_site->query("
SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')." thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid, lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votet otal,attach FROM thread ".iif($foruminfo[allowicons],'LEFT JOIN icon ON (icon.iconid = thread.iconid)','')." $dotjoin WHERE $threadids ORDER BY sticky DESC, $sortfield $sqlsortorder "); It's something in ORDER (last line) that has to be changed, anybody knows what exactly ? |
You will have to change the default value for $sortfield unless you want to remove all sorting capabilities from your members.
|
christ, could you say that in non-expert language ? In vb 1.13 I had simply to channge "laspost" to "threadID", so what you think I should do here ?
|
I wouldn't use threadid. Use dateline instead:
You just have to change the default case to "dateline" instead of "lastpost" Code:
default: |
Could you perhaps the code the way it should be , because I can't quiet understand what I have to change , sorry but I'm a newbie :D
Thanks ! |
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|