public function getTotalGuestUsers() { if (!$this->config->regonly) { $count = KunenaUser::getOnlineCount(); return $count['guest']; } return 0; }