public function actionTopRecentlyPlayedGames()
 {
     $sHelper = new Steam_Helper_Steam();
     $visitor = XenForo_Visitor::getInstance();
     $visitorPerms = $visitor->getPermissions();
     //Make the following a XenForo Option
     $queryLimit = 25;
     if (!$visitorPerms['SteamAuth']['viewStats']) {
         return $this->responseError(new XenForo_Phrase('steam_do_not_have_permission'));
     } else {
         $viewParams = array('gameStats' => $sHelper->getGamePlayedRecentStatistics($queryLimit));
         return $this->responseView('Steam_ViewPublic_Recent', 'steam_public_recent', $viewParams);
     }
 }
 /**
  * Section that lists all top recently played games (in hours)
  */
 public function actionTopPlayedRecent()
 {
     $sHelper = new Steam_Helper_Steam();
     //Make the following a XenForo Option
     $queryLimit = 25;
     $viewParams = array('gameStats' => $sHelper->getGamePlayedRecentStatistics($queryLimit));
     return $this->responseView('XenForo_ViewAdmin_Steam_TopPlayedRecent', 'steam_stats_topPlayedRecent', $viewParams);
 }