Войти
Введите цифры и буквы
/home/u729480519/public_html
Порог рейтинга, при котором юзер может создать коллективный блог
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/u275177/cw.esnn.tv/www/plugins/clans/classes/actions/ActionClans.class.php on line 470
Deprecated: Function split() is deprecated in /home/u275177/cw.esnn.tv/www/plugins/clans/classes/actions/ActionClans.class.php on line 470
$aTmp = split(",", $aClan['people']);
// URL: clans/name protected function EventViewClan() { $this->sMenuSubItemSelect = 'view'; $clan = $this->GetParamEventMatch(1); if(!$aClan = $this->PluginClans_Clans_GetClanByNameUrl($clan)) { return parent::EventNotFound(); } if (preg_match("/^(\d+)$/i",$this->GetParamEventMatch(0,2),$aMatch)) { $iPage=$aMatch[1]; } else { $iPage=1; } $iCount=0; $warlist = $this->PluginClans_Clans_getWarsByIdOwnerClan($aClan['owner_id'],$iCount,$iPage,Config::Get('plugin.clans.per_page.wars')); $aWars = $warlist['collection']; $aPaging = $this->Viewer_MakePaging($warlist['count'],$iPage,Config::Get('plugin.clans.per_page.wars'),4,Router::getPath("clans").$clan); $this->Viewer_Assign('aPaging',$aPaging); $this->Viewer_Assign('aWars', $aWars); $aClan = $this->PluginClans_Clans_GetClanByNameUrl($clan); $aPeople = explode(',',$aClan['people']); $clanRating = number_format($aClan['rating'], 2, ',', ' '); $clanAdmin = $this->User_GetUserById($aClan['owner_id']); $currentUser = $this->User_GetUserCurrent(); $sLoginAdministrator = $clanAdmin->getLogin(); $aCurrentBan = $this->PluginClans_Clans_GetCurrentBanByClanId($aClan['id']); $this->Viewer_Assign('aCurrentBan', $aCurrentBan); $this->Viewer_Assign('aClan', $aClan); $this->Viewer_Assign('aClanPeople', $aPeople); $this->Viewer_Assign('aClanCountPeople', count($aPeople)); $this->Viewer_Assign('sClanAdministrator', $sLoginAdministrator); $this->Viewer_Assign('oClanAdmin',$clanAdmin); $this->Viewer_Assign('oCurrentUser',$currentUser); $this->Viewer_Assign('clanRating', $clanRating); $this->SetTemplateAction('view_clan'); //block $aBans = $this->PluginClans_Clans_GetClanBanByClanId($aClan['id'],3); $this->Viewer_Assign('aBans', $aBans); $this->Viewer_AddBlock('right',$this->getTemplatePathPlugin().'block.clans_ban.tpl'); $aPlayers = array(); $aTmp = split(",", $aClan['people']); foreach($aTmp as $sName) { $aPlayers[]['user'] = $this->User_GetUserByLogin($sName); } $this->Viewer_Assign('aPlayers', $aPlayers); $this->Viewer_AddBlock('right',$this->getTemplatePathPlugin().'block.clans_people.tpl'); }
и самая первая строка и там поставь 999999 и все админ не зависимо от рейтинга может создавать блоги =)
Я так понел ты ставиш плагин для потверждения Steam id?
Вот такая ошибка
Вот што на 470 строчке
Вот кусок побольше