HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Reverse Comment Sorting
-
Re: Reverse Comment Sorting
-
Reverse Comment Sorting
Hi, I've installed Vanilla Forum for first time, I have the latest version and I'm trying to reverse the comments order to sort ascending.. From default this is setted to desc, why? Where I go to reverse the sorting? I've tryied from Admin Panel, from themes php files, discussion.php (in applications/vanilla), but I… -
Re: Reverse Comment Sorting
Sorry, if I misunderstood. Comments are listed with oldest ones first and newer underneath by default. So you should not need a plugin for that. In conf/config-defaults.php under embedding forum & comments you can find this $Configuration['Garden']['Embed']['SortComments'] = 'desc'; Add it to your conf/config.php Changing… -
Re: Reverse Comment Sorting
Auto answer: In applications/vanilla/models/class.commentmodel.php This code: 359 $sql2->select('CommentID') 360 ->from('Comment c') 361 ->where($where, null, true, false) 362 ->limit($limit, $offset); 363 $this->orderBy($sql2); 364 $select = $sql2->getSelect(); 365 366 $px = $this->SQL->Database->DatabasePrefix; 367…
5 results