stewart1champ
Cadet
I currently have 26 games installed.
Clicking on the "ALL" tab currently returns 25 at a time.
Clicking on the "ALL" tab currently returns 25 at a time.
class Arcade_Option
{
public static function get($key)
{
switch ($key) {
case 'doFraudCheck':
return false;
case 'gamesPerPage':
return 25;
}
return XenForo_Application::get('options')->get('arcade_' . $key);
}
}
$newGames = $gameModel->getGames(array(), $this->_getGameFetchOptions(array(
'order' => 'game_id',
'direction' => 'desc',
)));
..........
protected function _getGameFetchOptions(array $fetchOptions = array())
{
$default = array(
'join' => Arcade_Model_Game::FETCH_HIGHSCORE_USER + Arcade_Model_Game::FETCH_CATEGORY,
'limit' => Arcade_Option::get('gamesPerPage'),
'image' => array('l', 'm', 's'),
'playUserId' => XenForo_Visitor::getUserId(),
'voteUserId' => XenForo_Visitor::getUserId(),
);
return array_merge($default, $fetchOptions);
}
Anyone know the temp fix on this? Just increase the number?