Bandos Опубликовано 18 августа, 2017 Автор Поделиться Опубликовано 18 августа, 2017 Я заметим ещё один баг в изображениях, пробовал в разных браузерах всё тоже самое....в изображениях если прокручивать вниз прыгает обратно вверх на начало. Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 18 августа, 2017 Поделиться Опубликовано 18 августа, 2017 1 минуту назад, Sipsb сказал: Если полностью сдвинуть то всё норм, а если немного как на гиф то видно! Как-то странно, у многих есть в том числе и у IPS а у Вас нет. Да, ты прав есть такой баг, но он не всегда проявляется Bandos 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Bandos Опубликовано 18 августа, 2017 Автор Поделиться Опубликовано 18 августа, 2017 Ага...сейчас пропал...но делал недавно очистку кеш... Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 18 августа, 2017 Поделиться Опубликовано 18 августа, 2017 5 минут назад, Sipsb сказал: Если полностью сдвинуть то всё норм, а если немного как на гиф то видно! Как-то странно, у многих есть в том числе и у IPS а у Вас нет. Ну да ладно, не будем засирать тему. Забавно, но этот баг только в АЦ, на форуме сколько не пытался не получилось сделать Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Sipsb Опубликовано 18 августа, 2017 Поделиться Опубликовано 18 августа, 2017 2 минуты назад, Lafko сказал: но этот баг только в АЦ, на форуме сколько не пытался не получилось сделать На форуме можно получить при определённых обстоятельствах. Ну да ладно, не будем засирать тему. Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Nick2Drake Опубликовано 20 августа, 2017 Поделиться Опубликовано 20 августа, 2017 А ни у кого не повернется написать что тема сама собой неработоспособна? При установке на чистые 4.2.2 и 4.2.1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
WOLF Опубликовано 20 августа, 2017 Поделиться Опубликовано 20 августа, 2017 2 минуты назад, Nick2Drake сказал: А ни у кого не повернется написать что тема сама собой неработоспособна? При установке на чистые 4.2.2 и 4.2.1 у меня повернется написать что твои руки неработоспасобны Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 20 августа, 2017 Поделиться Опубликовано 20 августа, 2017 WOLF, Поздравляю Nick2Drake, тема работает, но могут проявиться баги если переходил с 4.x.x (У меня по крайне мере так) попробуй тему Titan мне очень понравилась, можешь посмотреть на моём форуме как она выглядит Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Ryo Опубликовано 20 августа, 2017 Поделиться Опубликовано 20 августа, 2017 Тема работает и косяков не было замечено. Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Nick2Drake Опубликовано 21 августа, 2017 Поделиться Опубликовано 21 августа, 2017 признаю мой косяк. Использую Nginx+PHP-FPM Вопрос не по теме но кто может подсказать в чем проблема. Вот директивы сервера server { listen 80; root /var/www/localhost; index index.php index.html index.htm; server_name localhost; location / { try_files $uri $uri/ /index.php; } location ~^(/page/).*(.php)$ { try_files $uri $uri/ /index.php; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.0-fpm.sock; } } Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 Sipsb, как ты лайки включил? у меня они отсутствуют на всех новых дизайнах Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Sipsb Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 11 минут назад, Lafko сказал: Sipsb, как ты лайки включил? Код подправлял. Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 1 минуту назад, Sipsb сказал: Код подправлял. Что именно правил? Вот эти две темы интересуют Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Sipsb Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 Только что, Lafko сказал: Что именно правил? Я же не помню, надо разбираться... Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 Только что, Sipsb сказал: Я же не помню, надо разбираться... Посмотришь? Странно, почему разработчики данных стилей не предусмотрели это Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Sipsb Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 3 часа назад, Lafko сказал: Посмотришь? Shift_4_2.xml Lafko 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 2 минуты назад, Sipsb сказал: Shift_4_2.xml А что именно ты поправил? У меня настройки собьются если я обновлю тему Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Sipsb Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 1 минуту назад, Lafko сказал: У меня настройки собьются если я обновлю тему Нет! Но сделайте копию стиля на всякий, как говорится! Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 22 августа, 2017 Поделиться Опубликовано 22 августа, 2017 18 минут назад, Sipsb сказал: Нет! Но сделайте копию стиля на всякий, как говорится! Спасибо. Инструкция для тех у кого не отображаются лайки (Ставим лайк за помощь http://ipbmafia.ru/profile/9792-sipsb/) Находим код <div data-role='commentContent' itemprop='text' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> Вот это {{if !( $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() ) )}} {{if $comment instanceof \IPS\Content\Reputation and settings.reputation_enabled}} {template="reputation" group="global" app="core" params="$comment, 'ipsResponsive_noFloat'"} {{endif}} {{endif}} {{if $comment->author()->signature}} {template="signature" group="global" app="core" params="$comment->author()"} {{endif}} <ul class='ipsComment_controls ipsClearfix' data-role="commentControls"> {{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}} {{if $comment->canUnhide()}} <li><a href='{$comment->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li> {{endif}} {{if $comment->canDelete()}} <li><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li> {{endif}} {{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{endif}} </ul> </li> {{endif}} {{else}} {{if $comment->hidden() === 0 and $item->canComment() and $editorName}} <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'><i class='fa fa-plus'></i></button> </li> <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <a href='#' data-action='quoteComment' data-ipsQuote-singleQuote>{lang="quote"}</a> </li> {{endif}} {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canDelete() || $comment->canHide() || $comment->canUnhide() || $comment->canSplit()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment instanceof \IPS\Content\Hideable}} {{if !$comment->hidden() and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{elseif $comment->hidden() and $comment->canUnhide()}} <li class='ipsMenu_item'><a href='{$comment->url('unhide')->csrf()}'>{lang="unhide"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment->canDelete()}} <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li> {{endif}} </ul> </li> {{endif}} {{endif}} <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> Поменять на это <div class='ipsItemControls'> {{if !( $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() ) )}} {{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} {template="reputation" group="global" app="core" params="$comment"} {{endif}} {{endif}} <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> {{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}} {{if $comment->canUnhide()}} <li><a href='{$comment->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li> {{endif}} {{if $comment->canDelete()}} <li><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li> {{endif}} {{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{endif}} </ul> </li> {{endif}} {{else}} {{if $comment->hidden() === 0 and $item->canComment() and $editorName}} <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'><i class='fa fa-plus'></i></button> </li> <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <a href='#' data-action='quoteComment' data-ipsQuote-singleQuote>{lang="quote"}</a> </li> {{endif}} {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if ( ! $comment->mapped('first') and $comment->canPromoteToSocialMedia() ) || $comment->canDelete() || $comment->canHide() || $comment->canUnhide() || $comment->canSplit() || ( $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') )}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}} <li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li> <li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()->setQueryString( 'restoreAsHidden', 1 )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li> <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString( 'immediately', 1 )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li> {{else}} {{if $comment instanceof \IPS\Content\Hideable}} {{if !$comment->hidden() and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{elseif $comment->hidden() and $comment->canUnhide()}} <li class='ipsMenu_item'><a href='{$comment->url('unhide')->csrf()}'>{lang="unhide"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment->canDelete()}} <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li> {{endif}} {{if $comment->isFeatured() AND $item->canUnfeatureComment()}} <li class='ipsMenu_item'><a href='{$comment->url('unfeature')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action="unrecommendComment">{lang="unrecommend_content"}</a></li> {{endif}} {{if !$comment->isFeatured() AND $item->canFeatureComment()}} <li class='ipsMenu_item'><a href='{$comment->url('feature')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-ipsDialog data-ipsDialog-title='{lang="recommend_post"}' data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-action="recommendComment">{lang="recommend_content"}</a></li> {{endif}} {{if ( ! $comment->mapped('first') and $comment->canPromoteToSocialMedia() )}} <li class='ipsMenu_item'>{template="promoteLink" app="core" group="global" params="$comment"}</li> {{endif}} {{endif}} </ul> </li> {{endif}} {{endif}} <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> {{if trim( $comment->author()->signature )}} {template="signature" group="global" app="core" params="$comment->author()"} {{endif}} </div> Упс, закиньте в спойлер, и сделайте возможность редактировать свои сообщения Incarnia и Rakot 2 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Алексей Зуев Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 В 22.08.2017 в 15:04, Lafko сказал: Спасибо. Инструкция для тех у кого не отображаются лайки (Ставим лайк за помощь http://ipbmafia.ru/profile/9792-sipsb/) Находим код <div data-role='commentContent' itemprop='text' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> Вот это {{if !( $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() ) )}} {{if $comment instanceof \IPS\Content\Reputation and settings.reputation_enabled}} {template="reputation" group="global" app="core" params="$comment, 'ipsResponsive_noFloat'"} {{endif}} {{endif}} {{if $comment->author()->signature}} {template="signature" group="global" app="core" params="$comment->author()"} {{endif}} <ul class='ipsComment_controls ipsClearfix' data-role="commentControls"> {{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}} {{if $comment->canUnhide()}} <li><a href='{$comment->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li> {{endif}} {{if $comment->canDelete()}} <li><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li> {{endif}} {{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{endif}} </ul> </li> {{endif}} {{else}} {{if $comment->hidden() === 0 and $item->canComment() and $editorName}} <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'><i class='fa fa-plus'></i></button> </li> <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <a href='#' data-action='quoteComment' data-ipsQuote-singleQuote>{lang="quote"}</a> </li> {{endif}} {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canDelete() || $comment->canHide() || $comment->canUnhide() || $comment->canSplit()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment instanceof \IPS\Content\Hideable}} {{if !$comment->hidden() and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{elseif $comment->hidden() and $comment->canUnhide()}} <li class='ipsMenu_item'><a href='{$comment->url('unhide')->csrf()}'>{lang="unhide"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment->canDelete()}} <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li> {{endif}} </ul> </li> {{endif}} {{endif}} <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> Поменять на это <div class='ipsItemControls'> {{if !( $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() ) )}} {{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} {template="reputation" group="global" app="core" params="$comment"} {{endif}} {{endif}} <ul class='ipsComment_controls ipsClearfix ipsItemControls_left' data-role="commentControls"> {{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}} {{if $comment->canUnhide()}} <li><a href='{$comment->url('unhide')->csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'><i class='fa fa-check'></i> {lang="approve"}</a></li> {{endif}} {{if $comment->canDelete()}} <li><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'><i class='fa fa-times'></i> {lang="delete"}</a></li> {{endif}} {{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li class='ipsMenu_item'><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li class='ipsMenu_item'><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{endif}} </ul> </li> {{endif}} {{else}} {{if $comment->hidden() === 0 and $item->canComment() and $editorName}} <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'><i class='fa fa-plus'></i></button> </li> <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <a href='#' data-action='quoteComment' data-ipsQuote-singleQuote>{lang="quote"}</a> </li> {{endif}} {{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}} <li><a href='{$comment->item()->url()->setQueryString( 'do', 'edit' )}'>{lang="edit"}</a></li> {{else}} <li><a href='{$comment->url('edit')}' data-action='editComment'>{lang="edit"}</a></li> {{endif}} {{endif}} {{if ( ! $comment->mapped('first') and $comment->canPromoteToSocialMedia() ) || $comment->canDelete() || $comment->canHide() || $comment->canUnhide() || $comment->canSplit() || ( $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') )}} <li> <a href='#elControls_{$comment->$idField}_menu' id='elControls_{$comment->$idField}' data-ipsMenu data-ipsMenu-appendTo='#comment-{$comment->$idField}_wrap'>{lang="options"} <i class='fa fa-caret-down'></i></a> <ul id='elControls_{$comment->$idField}_menu' class='ipsMenu ipsMenu_narrow ipsHide'> {{if $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}} <li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}</a></li> <li class='ipsMenu_item'><a href='{$comment->url('restore')->csrf()->setQueryString( 'restoreAsHidden', 1 )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}</a></li> <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString( 'immediately', 1 )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}</a></li> {{else}} {{if $comment instanceof \IPS\Content\Hideable}} {{if !$comment->hidden() and $comment->canHide()}} <li class='ipsMenu_item'><a href='{$comment->url('hide')->csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}">{lang="hide"}</a></li> {{elseif $comment->hidden() and $comment->canUnhide()}} <li class='ipsMenu_item'><a href='{$comment->url('unhide')->csrf()}'>{lang="unhide"}</a></li> {{endif}} {{endif}} {{if $comment->canSplit()}} <li class='ipsMenu_item'><a href='{$comment->url('split')}' data-action='splitComment' data-ipsDialog data-ipsDialog-title="{lang="split_to_new" sprintf="\IPS\Member::loggedIn()->language()->addToStack( $item::$title )"}">{lang="split"}</a></li> {{endif}} {{if $comment->canDelete()}} <li class='ipsMenu_item'><a href='{$comment->url('delete')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}</a></li> {{endif}} {{if $comment->isFeatured() AND $item->canUnfeatureComment()}} <li class='ipsMenu_item'><a href='{$comment->url('unfeature')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-action="unrecommendComment">{lang="unrecommend_content"}</a></li> {{endif}} {{if !$comment->isFeatured() AND $item->canFeatureComment()}} <li class='ipsMenu_item'><a href='{$comment->url('feature')->csrf()->setQueryString('page',\IPS\Request::i()->page)}' data-ipsDialog data-ipsDialog-title='{lang="recommend_post"}' data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-action="recommendComment">{lang="recommend_content"}</a></li> {{endif}} {{if ( ! $comment->mapped('first') and $comment->canPromoteToSocialMedia() )}} <li class='ipsMenu_item'>{template="promoteLink" app="core" group="global" params="$comment"}</li> {{endif}} {{endif}} </ul> </li> {{endif}} {{endif}} <li class='ipsHide' data-role='commentLoading'> <span class='ipsLoading ipsLoading_tiny ipsLoading_noAnim'></span> </li> </ul> </div> {{if trim( $comment->author()->signature )}} {template="signature" group="global" app="core" params="$comment->author()"} {{endif}} </div> Упс, закиньте в спойлер, и сделайте возможность редактировать свои сообщения Подскажите где найти этот код? Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 32 минуты назад, Алексей Зуев сказал: Подскажите где найти этот код? Кастомизация > Темы > Редактировать html и css > В поиск шаблонов вставляем <div data-role='commentContent' itemprop='text' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> Либо открываем в ручную forums > front > topocs > post жмем ctrl + f и находим строку кода Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Алексей Зуев Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 1 час назад, Lafko сказал: Кастомизация > Темы > Редактировать html и css > В поиск шаблонов вставляем <div data-role='commentContent' itemprop='text' class='ipsType_normal ipsType_richText ipsContained' data-controller='core.front.core.lightboxedImages'> Либо открываем в ручную forums > front > topocs > post жмем ctrl + f и находим строку кода Нашел, заменил, но этот код ломает моя стиль. Есть решение? Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 41 минуту назад, Алексей Зуев сказал: Нашел, заменил, но этот код ломает моя стиль. Есть решение? Какой стиль? Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Алексей Зуев Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 8 минут назад, Lafko сказал: Какой стиль? Matter Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Lafko Опубликовано 29 августа, 2017 Поделиться Опубликовано 29 августа, 2017 47 минут назад, Алексей Зуев сказал: Matter Спроси у https://ipbmafia.ru/profile/9792-sipsb/ он в этом хорошо разбирается Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.