Логин или эл. почта:
Пароль:
RewriteCond %{HTTP_HOST} ^www.site\.ru$ [NC] RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]
$config['module']['image']['default']['watermark_position'] = '-0,-0';
Config::Set('config.adunits.permit.user', 'admin');
$config['ausers'] = array('ololo','alala');
$a1 = Config::Get('block.rule_index_blog.blocks.right'); $a2 = array('adunits'=>array('params'=>array('plugin'=>'adunits'), 'priority'=>10)); Config::Set('block.rule_index_blog.blocks.right', array_merge ($a1, $a2));
$this->AddHook('template_body_begin', 'HeaderAdunits', __CLASS__);
А как бы ещё растянуть, в этом случае, поле поиска в одну ширину с боковой колонкой?
#header .search-form .search { width: 260px; }
#header { overflow: visible; position: relative; } #header .pages.profile { position: absolute; right: 0; top: -35px; background: none; } #header .pages.profile li a { color: #5F6691; } #header .pages.profile li a.username { color: #9197BC; } #header .pages.profile .messages.new { color: #9197BC; }
ALTER TABLE `prefix_comment` CHANGE `target_type` `target_type` ENUM( 'topic', 'talk', 'qa_topic' 'place', 'event', 'company') DEFAULT 'topic'; ALTER TABLE `prefix_comment_online` CHANGE `target_type` `target_type` ENUM( 'topic', 'talk', 'qa_topic' 'place', 'event', 'company') DEFAULT 'topic';
а добавить пользователей которым разрешено добавление рекламы
в шапке — в хуке \plugins\adunits\classes\hooks\HookAdunits.class.php закоментировать
там еще надо для #header .pages.profile прописать border: none;
в том же файле:
i.min.us/ieyXmI.png
уж слишком ммного вопросов мне задают =)
надо выполгнить следующий код в phpMyAdmin