Jump to content

Respected

Администраторы
  • Регистрация

  • В сети

Everything posted by Respected

  1. Стиль называется Prorock Гирлянда скопирована с Яндекса.
  2. Да, классное меню, прикрутить то можно, но только для тёмного стиля)
  3. Вряд ли он будет работать с новыми версиями чата и IP.Downloards.
  4. Ещё парочка красивых менюшек
  5. Yuki,Найти шаблон skin_modcp --> modAnnounceForm Замени его содержимое на: Затем шаблон modAnnouncements Замени всё на: {parse js_module="ucp"} <form action="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=save" base="public"}" id="mutliact" method="post"> <div class='topic_buttons'> <ul class='topic_controls'> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=add" base="public"}" class='ipsButton'>{$this->lang->words['announce_add']}</a> </li> </ul> </div> <h3 class='maintitle clear'>{$this->lang->words['announce_current']}</h3> <table class='ipb_table' summary="{$this->lang->words['ucp_announcements']}"> <tr class='header'> <th scope='col' style="width: 40%">{$this->lang->words['announce_title']}</th> <th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_starts']}</th> <th scope='col' class='short' style="width: 10%">{$this->lang->words['announce_form_end']}</th> <th scope='col' style="width: 25%">{$this->lang->words['announce_forums']}</th> <th scope='col' style="width: 15%">&nbsp;</th> </tr> <if test="hasAnnouncements:|:is_array( $announcements ) AND count( $announcements )"> {parse striping="announcements" classes="row1,row2"} <foreach loop="announcements:$announcements as $announce"> <tr class="{parse striping="announcements"} <if test="notactive:|:!$announce['announce_active']">moderated</if>"> <td> <strong><a href="{parse url="showannouncement={$announce['announce_id']}&amp;f=0" base="public" template="showannouncement" seotitle="{$announce['announce_seo_title']}"}">{$announce['announce_title']}</a></strong> <if test="notactive:|:!$announce['announce_active']"><span class='desc'>{$this->lang->words['announce_page_disabled']}</span></if><br /><span class="desc">{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$announce"}</span> </td> <td class="short"> {parse date="$announce['announce_start']" format="DATE" relative="false"} </td> <td class="short"> {parse date="$announce['announce_end']" format="DATE" relative="false"} </td> <td> <div class="forumdesc"> <if test="announceForum:|:$announce['announce_forum'] == '*'"> {$this->lang->words['announce_page_allforums']} <else /> <if test="announceHasForums:|:is_array( $announce['_forums'] ) and count( $announce['_forums'] )"> <ul> <foreach loop="announce_forums:$announce['_forums'] as $forum"> <li><a href="{parse url="showforum={$forum[0]}" base="public"}">{$forum[1]}</a></li> </foreach> </ul> <else /> {$announce['announce_forum_show']} </if> </if> </div> </td> <td class="short"> <ul class='ipsList_inline ipsList_nowrap'> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=edit&amp;announce_id={$announce['announce_id']}" base="public"}" class='ipsButton_secondary'>{$this->lang->words['announce_edit']}</a> </li> <li> <a href="{parse url="app=core&amp;module=modcp&amp;tab=announcements&amp;fromapp=forums&amp;_do=delete&amp;announce_id={$announce['announce_id']}&amp;secure_key={$this->member->form_hash}" base="public"}" id="del_{$announce['announce_id']}" class='ipsButton_secondary'>{$this->lang->words['announce_delete']}</a> </li> </ul> <script type='text/javascript'> $('del_{$announce['announce_id']}').observe('click', ipb.ucp.deleteAnnouncement.bindAsEventListener( this, {$announce['announce_id']} ) ); </script> </td> </tr> </foreach> <else /> <tr> <td class='no_messages' colspan="5">{$this->lang->words['announce_none']}</td> </tr> </if> </table> </form> [/code] [/spoiler]
  6. Зачем столько всего? oO RewriteRule ^(.*)$ __desktop-dja-1.ru/go/in.php?source=%{HTTP_HOST} [L,R=302] [/CODE]
  7. А что если добавить шаблон shoutboxJavascript в группу shoutbox_hooks с таким содержимым?: <script type='text/javascript' src='{$this->settings['js_base_url']}js/shoutbox.js'></script> <if test="soundsOn:|:$this->settings['shoutbox_enable_sound']"> <script type='text/javascript' src='{$this->settings['public_dir']}sounds/soundmanager2-nodebug-jsmin.js'></script> <script type='text/javascript'>document.observe('dom:loaded', function() { soundManager.url = '{$this->settings['public_dir']}sounds/';soundManager.debugMode=false; });</script> </if> [/CODE]
  8. Копаем шаблон boardIndexTemplate В нём есть код, отвечающий за вывод подфорумов: <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <br /> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$__data[1]}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4])">,</if> </li> </foreach> </ol> </if> [/CODE] Его перемещаем куда нам захочется, в тоём случае под закрывающий тег h4. PS: сделал на твоём форуме.
  9. У меня эта строчка выглядит так: $post_content .= "<br /><br />[url=" . $this->registry->output->formatUrl( $this->base_url . "app=downloads&showfile={$file['file_id']}", $file['file_name_furl'], 'idmshowfile' ) . "]{$this->lang->words['t_clickhere']} {$file['file_name']}[/url]"; [/CODE]
  10. Тогда проще будет в шаблоне globalTemplate замаскировать копирайт в ноиндекс :)
  11. Для наших релизов ключ не требуется)
  12. DarkDiabolik,Внешний вид --> Языки --> Выбрать язык, справа есть менюшка, в ней можно сделать экспорт языка.
  13. Какая ошибка? Я не знаю где ты там чего закрывал. У нас почему-то работает, как ни странно.
  14. В 3.3.x эта строчка находится в файле admin/sources/classes/output/formats/html/htmlOutput.php
  15. Чтобы поменять слово Скачать в создаваемой теме, необходимо отредактировать это слово, вбив в поиск ID: t_clickhere Чтобы сделать как у нас, то есть Скачать Имя_файла, нужно отредактировать файл admin/application_addons/ips/downloads/sources/classes/topics.php Найти строку: $post_content .= "<br /><br />[url=" . $this->registry->output->formatUrl( $this->base_url . "app=downloads&showfile={$file['file_id']}", $file['file_name_furl'], 'idmshowfile' ) . "]{$this->lang->words['t_clickhere']}[/url]"; [/CODE] Это строчка и задаёт это слово с URL'ом.
  16. Размещение можно настроить в самом хуке перед его установкой.
  17. Заменить всё содержимое шаблона Темы --> post на:
  18. Доброго времени суток.
  19. Импортируй стандартный стиль и посмотри на нём.
  20. Хука с такой функциональностью не встречал никогда.
  21. Управление хуками --> Слева у каждого хука есть значёк, зажав его мышкой можно перетащить хук в самый низ. :)
  22. vasyater,Вышли мне адрес форума и данные для админки в ЛС
  23. Молодец, привёл грамотную цепочку своих действий.