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

Lafko

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

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

  • Посещение

Сообщения, опубликованные Lafko

  1. Надо удалить все картинки которые подгружаются с http, особенно это касается чата.

    view-source:http://www.forum.astravod.ru/ - вот тут куча ссылок с http

    В браузере нажми Просмотреть код и справа сверху нажми на желтый восклицательный знак, там покажет что у тебя не через https идёт

    https://www.forum.astravod.ru/' was loaded over HTTPS, but requested an insecure image 'http://www.forum.astravod.ru/uploads/profile/photo-thumb-3.jpg'. This content should also be served over HTTPS.

     

  2. 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 и находим строку кода

  3. 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"} &nbsp;<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"} &nbsp;<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"} &nbsp;<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"} &nbsp;<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>

     

    Упс, закиньте в спойлер, и сделайте возможность редактировать свои сообщения

  4. В данном приложении мне надо обновить файл lang.xml а именно поменять ключи с quote на quote2 и delete на delete2 (чтобы не было конфликта с системным переводом, удивительно как разработчики данного приложения не предусмотрели это) подскажите как это сделать не удаляя приложения ибо собьются все формы и придется заново кучу работы делать.

    Или как тут поменять ключ?

    Спойлер

    Безымянный.png

    Из за того что ключи совподают нету русского перевода "Цитата"

  5. WOLF, Поздравляю

    Nick2Drake, тема работает, но могут проявиться баги если переходил с 4.x.x (У меня по крайне мере так) попробуй тему Titan мне очень понравилась, можешь посмотреть на моём форуме как она выглядит

  6. 5 минут назад, Sipsb сказал:

    Если полностью сдвинуть то всё норм, а если немного как на гиф то видно! Как-то странно, у многих есть  в том числе и у IPS а у Вас нет. :) Ну да ладно, не будем засирать тему.

    Забавно, но этот баг только в АЦ, на форуме сколько не пытался не получилось сделать

  7. 1 минуту назад, Sipsb сказал:

    Если полностью сдвинуть то всё норм, а если немного как на гиф то видно! Как-то странно, у многих есть  в том числе и у IPS а у Вас нет. :)

    Да, ты прав есть такой баг, но он не всегда проявляется

  8. 3 минуты назад, Sipsb сказал:

    Про это и говорю, что у всех так! Багет IPS o.O

    Так у меня нету такого бага, я двуигаю окно браузера с включенным cron и текст подстраивается под окно браузера

    Спойлер

    Безымянный.png

     

  9. 52 минуты назад, Sipsb сказал:

    Нет, это у IPS Багет... :) На чистом, при выборе Использовать Cron всё улетает.

      Показать контент

    Снимок экрана 2017-08-18 в 7.50.52.png

     

    У меня всё ок при использовании Cron на стандартной теме и на Shift

    1 час назад, Lafko сказал:

    У темы есть баг, когда публикуешь файл и включена функция создания темы поддержки то нижний блок дополнительных полей смещается в правую сторону

      Показать контент

    Безымянный.png

     

    И ещё не открывает страницы из магазина, выдаёт ошибку

×
×
  • Создать...