<?php
if ( ! $this->registry->isClassLoaded( 'portalBlocks' ) )
{
$classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir( 'portal' ) . "/sources/blocks.php", 'portalBlockGateway' );
$this->registry->setClass( 'portalBlocks', new $classToLoad( ipsRegistry::instance() ) );
}
print $this->registry->getClass('portalBlocks')->latest_topics_main();
?>
обратил внимание на latest_topics_main();
открываем файл директория портала/sources/blocks.php
район 192 строки
$unpinned[ $row['last_post'] ] = $row['tid'];
$all[ $row['last_post'] ] = $row['tid'];
на
$unpinned[ $row['start_date'] ] = $row['tid'];
$all[ $row['start_date'] ] = $row['tid'];