The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This is the normal behaviour of vBulletin. You will have to alter the code in the forumdisplay.php file.
|
|
#3
|
|||
|
|||
|
But where and what should I change ...
|
|
#4
|
|||
|
|||
|
$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 ? |
|
#5
|
||||
|
||||
|
You will have to change the default value for $sortfield unless you want to remove all sorting capabilities from your members.
|
|
#6
|
|||
|
|||
|
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 ?
|
|
#7
|
|||
|
|||
|
I wouldn't use threadid. Use dateline instead:
You just have to change the default case to "dateline" instead of "lastpost" Code:
default:
$sortfield='lastpost';
|
|
#8
|
|||
|
|||
|
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
![]() Thanks ! |
![]() |
|
|