Перейти к содержанию

ToRN™

Пользователи
  • Постов

    17
  • Зарегистрирован

  • Посещение

Информация

  • Версия IPS
    3.1.x

Посетители профиля

597 просмотров профиля

Достижения ToRN™

  1. Ваша правда. Первый раз вижу шаблон, с таким кол-вом багов, обычно попадаются готовый, которые и править не нужно. А тут уже значительно багов поправил Пути к js, в globalTemplate правильные
  2. Соглашался, признаю, про картинки не углядел..
  3. Собственно юзаю один шаблон, не знаю в чём проблема. Дело в том, что не открывается форма поиска, сначала думал, что не правильный код вызова панели, а тут нет, всё правильно: <li><a href="#" title="Поиск по сайту" id="search"><font><font>Поиск</font></font></a></li> Как я понял, панель сама находится в quickSearch, содержимое его такое: <div id='search' class='right'> <form action="{parse url="app=core&amp;module=search&amp;do=search&amp;fromMainBar=1" base="public"}" method="post" id='search-box' > <fieldset> <label for='main_search' class='hide'>{$this->lang->words['sj_search']}</label> <a href='{parse url="app=core&amp;module=search&amp;search_in=<if test="hasSearchApp:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$this->registry->getCurrentApplication()}</if>" base="public"}' title='{$this->lang->words['advanced_search']}' accesskey='4' rel="search" id='adv_search' class='right'>{$this->lang->words['advanced']}</a> <span id='search_wrap' class='right'> <input type='text' id='main_search' name='search_term' class='inactive' size='17' tabindex='100' /> <span class='choice ipbmenu clickable' id='search_options' style='display: none'></span> <ul id='search_options_menucontent' class='ipbmenu_content ipsPad' style='display: none'> <li class='title'><strong>{$this->lang->words['context_search_title']}</strong></li> <if test="inTopic:|:$this->request['showtopic'] or ( isset( $this->request['search_app'] ) and substr( $_POST['search_app'], 0, 13 ) == 'forums:topic:' )"> <li class='special'> <label for='s_topic' title='{$this->lang->words['context_search_topic']}'> <if test="$this->request['showtopic']"> <input type='radio' name='search_app' value="forums:topic:{$this->request['showtopic']}" class='input_radio' id='s_topic' checked="checked" /> <else /> <input type='radio' name='search_app' value="forums:topic:{parse expression="substr( $_POST['search_app'], 13 )"}" class='input_radio' id='s_topic' checked="checked" /> </if> <strong>{$this->lang->words['context_search_topic']}</strong> </label> </li> </if> <if test="inForum:| $this->request['showforum'] AND $this->registry->getClass('class_forums')->forum_by_id[ $this->request['showforum'] ]['sub_can_post'] ) or ( isset( $this->request['search_app'] ) and substr( $_POST['search_app'], 0, 13 ) == 'forums:forum:' )"> <li class='special'> <label for='s_forum' title='{$this->lang->words['context_search_forum']}'> <if test="$this->request['showforum']"> <input type='radio' name='search_app' value="forums:forum:{$this->request['f']}" class='input_radio' id='s_forum' <if test="!$this->request['showtopic']">checked="checked"</if> /> <else /> <input type='radio' name='search_app' value="forums:forum:{parse expression="substr( $_POST['search_app'], 13 )"}" class='input_radio' id='s_forum' checked="checked" /> </if> <strong>{$this->lang->words['context_search_forum']}</strong> </label> </li> </if> <if test="lookElsewhere:|:$this->request['app'] == 'core' and $this->request['module'] == 'search'"> {parse template="contextSearch" group="{search_app}_global" params=""} <else /> <if test="!in_array( $this->registry->getCurrentApplication(), array( 'forums', 'members', 'core' ) )"> <if test="appContextSearch:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'contextSearch' )"> {parse template="contextSearch" group="{current_app}_global" params=""} </if> </if> </if> <if test="IPSLib::appIsSearchable( 'forums', 'search' )"> <li class='app'><label for='s_forums' title='{IPSLib::getAppTitle('forums')}'><input type='radio' name='search_app' class='input_radio' id='s_forums' value="forums" <if test="inThisAppForums:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'forums' ) ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) ) || ( ( $this->registry->getCurrentApplication() == 'forums' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']"><if test="substr( $_POST['search_app'], 0, 13 ) != 'forums:topic:' and substr( $_POST['search_app'], 0, 13 ) != 'forums:forum:'">checked="checked"</if></if> />{IPSLib::getAppTitle( 'forums' )}</label></li> </if> <if test="IPSLib::appIsSearchable( 'members', 'search' )"> <li class='app'><label for='s_members' title='{IPSLib::getAppTitle('members')}'><input type='radio' name='search_app' class='input_radio' id='s_members' value="members" <if test="inThisAppMembers:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'members' ) ) || ( ( $this->registry->getCurrentApplication() == 'members' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']">checked="checked"</if> />{IPSLib::getAppTitle( 'members' )}</label></li> </if> <if test="IPSLib::appIsSearchable( 'core', 'search' )"> <li class='app'><label for='s_core' title='{IPSLib::getAppTitle('core')}'><input type='radio' name='search_app' class='input_radio' id='s_core' value="core" <if test="inThisAppCore:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'core' ) ) || ( ( $this->registry->getCurrentApplication() == 'core' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']">checked="checked"</if> />{IPSLib::getAppTitle( 'core' )}</label></li> </if> <foreach loop="appLoop:$this->registry->getApplications() as $app => $data"> <if test="IPSLib::appIsSearchable( $app, 'search' ) AND !in_array( $app, array( 'forums', 'members', 'core' ) )"> <li class='app'> <label for='s_{$app}' title='{IPSLib::getAppTitle( $app )}'> <if test="$this->request['app'] == 'core' and $this->request['module'] == 'search'"> <input type='radio' name='search_app' class='input_radio' id='s_{$app}' value="{$app}" <if test="inThisAppSearch:| ( isset($this->request['search_app']) AND $this->request['search_app'] == $app ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) AND $app == 'core' ) || ( ( $this->registry->getCurrentApplication() == $app ) && ( !isset($this->request['search_app']) OR !$this->request['search_app'] ) ) ) && !$this->request['showtopic'] && !$this->request['showforum'] && ( !method_exists( $this->registry->output->getTemplate( $this->request['search_app'] . '_global' ), 'contextSearch' ) or ipsRegistry::$appSearch )">checked="checked"</if> /> <else /> <input type='radio' name='search_app' class='input_radio' id='s_{$app}' value="{$app}" <if test="inThisAppNotSearch:| ( isset($this->request['search_app']) AND $this->request['search_app'] == $app ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) AND $app == 'core' ) || ( ( $this->registry->getCurrentApplication() == $app ) && ( !isset($this->request['search_app']) OR !$this->request['search_app'] ) ) ) && !$this->request['showtopic'] && !$this->request['showforum'] && ( !method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'contextSearch' ) or ipsRegistry::$appSearch )">checked="checked"</if> /> </if> {IPSLib::getAppTitle( $app )} </label> </li> </if> </foreach> </ul> <if test="canSearch:|:$this->memberData['g_use_search']">{parse template="quickSearch" group="global" params=""}</if> </span> </fieldset> </form> </div> Собственно как сейчас: А по нажатию на "Поиск", панель должна появляться:
  4. Смотрел, ничего подозрительного. Настроил SMTP через почту своего сервера - заработало. Странно конечно, что не работает php_mail
  5. Собственно не знаю в чём дело - не отправляются email с форума. Сначала подумал, что это хостер мне отключил php_mail, но на другом сайте отправка стабильно работает. Далее думаю, ладно, бог с ним, с php_mail, настрою через SMTP, но и тут не работает. В чём может быть дело? Проверял через диагностику - "невозможно отправить сообщение"
  6. Нашёл js, но результата для меня это не поменяло
  7. Гуру IPB, подскажите как установить другую цветовую гамму данного стиля на стандарт. Сейчас стоит светло-синяя (slate), хочу marble. как я понимаю это другой стиль записывается в куки, но не смог догнать, как сделать на стандарт и откуда вытянуть
  8. Да, был поддомен, стоял основной домен, что-то типо такого : ".soon.by"
  9. Дело не в отключении форума, а в том, что сбрасывается авторизация. То есть длительность сессии равна до первой перезагрузки страницы
  10. В общем-то перенёс форум с поддомена на отдельный домен, столкнулся с проблемой: так как форум отключён, то все неавторизованные пользователи видят такую картину: Ну я авторизовываюсь, Далее меня опять перебрасывает сюда: Авторизовываюсь через панель выше: Появляется форум, но после обновления страницы опять же нужно авторизовываться методом, которой описан выше. Логи молчат. В чём может быть дело?
  11. Спасибо, в принципе так и думал. Буду пробовать приводить в божеский вид, а то при установке своего стиля блока, там что-то выпирает и т.д..
  12. Так я не понял, как сделать так, чтобы все хуки и компоненты брали именно названия моих классов
  13. В общем есть стиль сайта, хотелось бы сделать дизайн форума в похожем стиле. В общем-то первая проблема в этой не простой задаче: на странице форума выводятся хуки : статусы, топ репутации и т.д, я понял только как заменить код для каждого хука в отдельности, а как сделать так, чтобы хук брал уже классы нового дизайна? Ещё проблема в том, что если ставлю стили нового дизайна под хук, то хук кривится, как сделать это всё более менее красиво и правильно?
×
×
  • Создать...