Order of posts in forum

Hello, I upgraded to 7.1.5 (from 7.0.9) and was unable to find a way to get forum posts from most recent as I managed to have.

Did anyone find a way to achieve it?

Quote · 10 Mar 2015

I've found the solution.

It's in file modules/boonex/forum/classes/DbForum.php at line 516 (for me)

Replace

function getPostsBy ($u, $sName, $sVal, $sOrder = 'ASC', $iLimit = 0)

with

function getPostsBy ($u, $sName, $sVal, $sOrder = 'DESC', $iLimit = 0)

Then remove all language specific folders in following directories and recompile languages.

modules/boonex/forum/classes

modules/boonex/forum/js

modules/boonex/forum/layout

Quote · 24 Mar 2015

For information, solution still valid in 7.2.1

Quote · 20 Oct 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.