Своя 404 страница
	
	
			Редактировать в файле
/templates/skin/synio/actions/ActionError/index.tpl
 
				
	
/templates/skin/synio/actions/ActionError/index.tpl
public function GetBlogsRating(&$iCount,$iCurrPage,$iPerPage) {         
                $sql = "SELECT 
                                        b.blog_id                                                                                                       
                                FROM 
                                        ".Config::Get('db.table.blog')." as b                                                                    
                                WHERE                                                                   
                                        b.blog_type<>'personal'                                                                 
                                ORDER by b.blog_rating desc
                                LIMIT ?d, ?d    ";              
                $aReturn=array();
                if ($aRows=$this->oDb->selectPage($iCount,$sql,($iCurrPage-1)*$iPerPage, $iPerPage)) {
                        foreach ($aRows as $aRow) {
                                $aReturn[]=$aRow['blog_id'];
                        }
                }
                return $aReturn;
        }WHERE                                                                   
                                        b.blog_type<>'personal'WHERE                                                                   
                                        b.blog_type<>'personal'
                                        and
                                        b.blog_type<>'close'public function GetBlogsRating(&$iCount,$iCurrPage,$iPerPage) {         
                $sql = "SELECT 
                                        b.blog_id                                                                                                       
                                FROM 
                                        ".Config::Get('db.table.blog')." as b                                                                    
                                WHERE                                                                   
                                        b.blog_type<>'personal'
                                        and
                                        b.blog_type<>'close'                                                                    
                                ORDER by b.blog_rating desc
                                LIMIT ?d, ?d    ";              
                $aReturn=array();
                if ($aRows=$this->oDb->selectPage($iCount,$sql,($iCurrPage-1)*$iPerPage, $iPerPage)) {
                        foreach ($aRows as $aRow) {
                                $aReturn[]=$aRow['blog_id'];
                        }
                }
                return $aReturn;
        }$this->aValidateRules[]=array('topic_text_source','string','max'=>500,'min'=>10,'allowEmpty'=>false,'label'=>$this->Lang_Get('topic_create_text'),'on'=>array('link'));
$this->aValidateRules[]=array('topic_text_source','string','max'=>500,'allowEmpty'=>true,'label'=>$this->Lang_Get('topic_create_text'),'on'=>array('question'));Во вкладке Люди, ведется учёт Активных и Заблудившихся пользователей.
В api не нашел, как для конкретного юзера узнать его статус Активный или Заблудившийся, а хотелось бы знать :)
$config['module']['user']['time_active'] = 60*60*24*7; // Число секунд с момента последнего посещения пользователем сайта, в течение которых он считается активным{*
        <ul class="footer-list">
                <li class="footer-list-header">{$aLang.footer_menu_project_title}</li>
                <li><a href="#">{$aLang.footer_menu_project_about}</a></li>
                <li><a href="#">{$aLang.footer_menu_project_contact}</a></li>
                <li><a href="#">{$aLang.footer_menu_project_advert}</a></li>
                <li><a href="#">{$aLang.footer_menu_project_help}</a></li>
                                {hook run='footer_menu_project_item'}
        </ul>
*}$this->Viewer_AssignAjax('sUrlRedirect',$sUrl ? $sUrl : Config::Get('path.root.web'));$this->Viewer_AssignAjax('sUrlRedirect',$sUrl ? $sUrl : Config::Get('module.user.redirect_after_registration'));<input type="hidden" name="return-path" value="{$PATH_WEB_CURRENT|escape:'html'}"><input type="hidden" name="return-path" value="{cfg name='module.user.redirect_after_registration'}">$config['module']['user']['redirect_after_registration'] = '___path.root.web___/page/rules';                      // переадресация после регистрации/**
 * Установка локали
 */
setlocale(LC_ALL, "ru_RU.UTF-8");
date_default_timezone_set('Europe/Moscow'); // See http://php.net/manual/en/timezones.phpподскажите где прикрутить чтоб блог можно было создать с 1 символом
а то не дает
минимум два хочет :)
if (!func_check(getRequest('blog_url'),'login',1,50)) {Все привет! Возникла необходимость убрать капчу и подтверждение пароля в окне регистрации пользователя. LS 1.0.1 Synio

