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

Redneck

Актив
  • Постов

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

  • Посещение

  • Победитель дней

    61

Активность репутации

  1. Лайк
    Redneck получил реакцию от gudman1 в Как убрать отображение количества сообщений на главной форума возле разделов?   
    так пойдет?
    идем в шаблоны -> forums -> front -> index -> forumRow
    делаем бэкап и меняем на этот:
    {{if $forum->can('view')}} {{$lastPost = $forum->lastPost();}} <li class="ipsDataItem ipsDataItem_responsivePhoto {{if \IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsDataItem_unread{{endif}} ipsClearfix" data-forumID="{$forum->_id}"> <div class="ipsDataItem_icon ipsDataItem_category"> {{if !$forum->redirect_on}} {{if \IPS\forums\Topic::containerUnread( $forum ) AND \IPS\Member::loggedIn()->member_id}}<a href="{{if $isSubForum}}{$forum->url()->setQueryString( array( 'do' => 'markRead', 'return' => $forum->parent_id ) )->csrf()}{{else}}{$forum->url()->setQueryString( 'do', 'markRead' )->csrf()}{{endif}}" data-action='markAsRead' title='{lang="mark_forum_read"}' data-ipsTooltip>{{endif}} {{endif}} {{if $forum->icon}} <img src="{file="$forum->icon" extension="forums_Icons"}" class='ipsItemStatus ipsItemStatus_custom {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> {{else}} {{if $forum->redirect_on}} <span class='ipsItemStatus ipsItemStatus_large cForumIcon_redirect {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> <i class='fa fa-arrow-right'></i> </span> {{elseif $forum->forums_bitoptions['bw_enable_answers']}} <span class='ipsItemStatus ipsItemStatus_large cForumIcon_answers {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> <i class='fa fa-question'></i> </span> {{elseif $forum->password}} <span class='ipsItemStatus ipsItemStatus_large cForumIcon_password {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> {{if $forum->loggedInMemberHasPasswordAccess()}} <i class='fa fa-unlock'></i> {{else}} <i class='fa fa-lock'></i> {{endif}} </span> {{else}} <span class='ipsItemStatus ipsItemStatus_large cForumIcon_normal {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> <i class="fa fa-comments"></i> </span> {{endif}} {{endif}} {{if !$forum->redirect_on and \IPS\forums\Topic::containerUnread( $forum ) AND \IPS\Member::loggedIn()->member_id}} </a> {{endif}} </div> <div class="ipsDataItem_main"> <h4 class="ipsDataItem_title ipsType_large ipsType_break"> {{if $forum->password && !$forum->loggedInMemberHasPasswordAccess()}} <a href="{$forum->url()->setQueryString( 'passForm', '1' )}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="forum_requires_password"}'>{$forum->_title}</a> {{else}} <a href="{$forum->url()}">{$forum->_title}</a> {{endif}} {{if $forum->redirect_on}} &nbsp;&nbsp;<span class='ipsType_light ipsType_medium'>({lang="redirect_hits" pluralize="$forum->redirect_hits"})</span> {{endif}} </h4> {{if $forum->hasChildren()}} <ul class="ipsDataItem_subList ipsList_inline"> {{foreach $forum->children() as $subforum}} <li class="{{if \IPS\forums\Topic::containerUnread( $subforum )}}ipsDataItem_unread{{endif}}"> <a href="{$subforum->url()}">{{if \IPS\forums\Topic::containerUnread( $subforum )}}<span class='ipsItemStatus ipsItemStatus_tiny {{if !\IPS\forums\Topic::containerUnread( $subforum ) && !$subforum->redirect_on}}ipsItemStatus_read{{endif}}'><i class="fa fa-circle"></i></span>&nbsp;{{endif}}{$subforum->_title}</a> </li> {{endforeach}} </ul> {{endif}} {{if $forum->description}} <div class="ipsDataItem_meta ipsType_richText">{$forum->description|raw}</div> {{endif}} </div> {{if !$forum->redirect_on}} <div class="ipsDataItem_stats ipsDataItem_statsLarge"> <!--{{if $lastPost}} <dl> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_number">{number="$count"}</dt> <dd class="ipsDataItem_stats_type ipsType_light">{lang="posts_no_number" pluralize="$count"}</dd> </dl> {{endif}}--> {{if $forum->topics}} <span class='ipsType_light'>Тем:</span> {$forum->topics} {{endif}}<br> {{if $forum->posts}} <span class='ipsType_light'>Ответов:</span> {$forum->posts} {{endif}} {{if \IPS\forums\Topic::modPermission( 'unhide', NULL, $forum ) AND $unapprovedContent = $forum->unapprovedContentRecursive() and ( $unapprovedContent['topics'] OR $unapprovedContent['posts'] )}} <strong class='ipsType_warning ipsType_medium'> <i class='fa fa-warning'></i> {{if $unapprovedContent['topics']}} <a href='{$forum->url()->setQueryString( array( 'advanced_search_submitted' => 1, 'topic_type' => 'queued_topics' ) )->csrf()}' data-ipsTooltip title='{lang="queued_topics_badge" pluralize="$unapprovedContent['topics']"}' class='ipsType_blendLinks'>{$unapprovedContent['topics']}</a> {{else}} <span class='ipsType_light'>0</span> {{endif}} / {{if $unapprovedContent['posts']}} <a href='{$forum->url()->setQueryString( array( 'advanced_search_submitted' => 1, 'topic_type' => 'queued_posts' ) )->csrf()}' data-ipsTooltip title='{lang="queued_posts_badge" pluralize="$unapprovedContent['posts']"}' class='ipsType_blendLinks'>{$unapprovedContent['posts']}</a> {{else}} <span class='ipsType_light'>0</span> {{endif}} </strong> {{endif}} </div> <ul class="ipsDataItem_lastPoster ipsDataItem_withPhoto"> {{if $lastPost}} <li>{template="userPhoto" app="core" group="global" params="$lastPost['author'], 'tiny'"}</li> <li><a href="{$lastPost['topic_url']->setQueryString( 'do', 'getNewComment' )}" class='ipsType_break ipsContained' title='{$lastPost['topic_title']}'>{truncate="$lastPost['topic_title']" length="26"}</a></li> <li class='ipsType_blendLinks'>{lang="byline_nodate" htmlsprintf="$lastPost['author']->link()"}</li> <li class="ipsType_light"><a href='{$lastPost['topic_url']->setQueryString( 'do', 'getLastComment' )}' title='{lang="get_last_post"}' class='ipsType_blendLinks'>{datetime="$lastPost['date']"}</a></li> {{else}} <li class='ipsType_light ipsResponsive_showDesktop'>{{if $forum->password}}{lang="no_forum_posts_password"}{{else}}{lang="no_forum_posts"}{{endif}}</li> {{endif}} </ul> {{endif}} {{if $table and $table->canModerate()}} <div class='ipsDataItem_modCheck'> <span class='ipsCustomInput'> <input type='checkbox' data-role='moderation' name="moderate[{$forum->_id}]" data-actions="{expression="implode( ' ', $table->multimodActions( $forum ) )"}" data-state=''> <span></span> </span> </div> {{endif}} </li> {{endif}}  
  2. Лайк
    Redneck получил реакцию от Frank5 в Закругленные аватарки   
    добавить к тому коду
    border: 1px solid #d5d5d5;
     
    получится так:
    .col_c_post .ipsUserPhoto { border-radius: 0; border: 1px solid #d5d5d5; }  
  3. Лайк
    Redneck получил реакцию от Frank5 в Закругленные аватарки   
    .col_c_post .ipsUserPhoto { border-radius: 0; } Добавить в ipb_styles.css
  4. Лайк
    Redneck получил реакцию от stok в Blue Lagoon 1.1.3   
    в кастом добавить код:
    .ipsApp_front input { border: 0 !important; }  
  5. Лайк
    Redneck получил реакцию от rustav в Лог предупреждений для IPS   
    Есть платный плагин на IPS
    https://community.invisionpower.com/files/file/7619-warn-log/
  6. Лайк
    Redneck получил реакцию от Werifinger в Лог предупреждений для IPS   
    Есть платный плагин на IPS
    https://community.invisionpower.com/files/file/7619-warn-log/
  7. Лайк
    Redneck отреагировална пост kgb в Превью прикрепленный изображений   
    Вообще то стандартные настройки System -> Posting -> Maximum image dimensions to display
    А еще бесит, когда на изучают настройки а сразу бегут вопросы задавать
  8. Лайк
    Redneck получил реакцию от rustav в Blue Lagoon 1.1.3   
    там прописан 0, но что-то его забивает, а данным кодом ты обязал  
  9. Лайк
    Redneck отреагировална пост rustav в Blue Lagoon 1.1.3   
    В кастом пишем 
    .ipsApp .ipsField_autocomplete input[type="text"] {     border: 0 !important; } и все готово)
  10. Лайк
    Redneck получил реакцию от rustav в Blue Lagoon 1.1.3   
    есть тестовый аккаунт? интересно глянуть  
  11. Лайк
    Redneck получил реакцию от rustav в Blue Lagoon 1.1.3   
    да, вижу... сейчас еще посмотрю
  12. Лайк
    Redneck получил реакцию от rustav в Blue Lagoon 1.1.3   
    в кастом добавить код:
    .ipsApp_front input { border: 0 !important; }  
  13. Лайк
    Redneck получил реакцию от VladOr в Поделиться в Mail.ru (Share Mail.ru )   
    Должно работать... Вы содержимое папки upload загрузили или папку upload?
  14. Лайк
  15. Лайк
    Redneck получил реакцию от DenkA003 в Как убрать nbsp после вставки кода ?   
    @DenkA003 что-то такое нашел, но он платный... я так понял, что по функционалу то, что вам надо https://community.invisionpower.com/files/file/7963-remove-annoying-whitespace/
  16. Лайк
    Redneck получил реакцию от DenkA003 в Как убрать nbsp после вставки кода ?   
    на оф сайте IPS вроде был плагин для этого... сейчас попробую найти
  17. Лайк
    Redneck отреагировална пост rustav в Файлы из архива IPS (поможем скачать)   
    да потому что по третьему кругу пошли качать - это раз, можно залить было в файловый архив - это два и ощущение что-то кто-то использует мафию как перевалочный пункт и куда-то дальше массово идут файлы, т.к. столько не может понадобится одному человеку.
  18. Лайк
    Redneck получил реакцию от Quicksdk в Поисковые боты в отдельную группу   
    плагин появился https://community.invisionpower.com/files/file/7967-wa41-search-bots-in-the-users-online-list/ 
     
  19. Лайк
    Redneck получил реакцию от poreeff в Страница Администрация в 4.1.8   
    Не знаю почему у вас так, но у меня показываются все группы(админы, модераторы и редакторы), которые я внес в список администрации со всеми участниками независимо в сети они или нет
  20. Лайк
    Redneck получил реакцию от Andrew155 в (BD4) Group Legend   
    админка - внешний вид - локализация - языки - напротив русского "перевести" - поиск по ключу block_bdGroupLegend_title - переводите  
  21. Лайк
    Redneck получил реакцию от Andy в Как поставить картинку в хедере ?   
    можете еще попробовать так: <strong>{title}:</strong> {content} - возможно красивее будет выглядеть  
  22. Лайк
    Redneck получил реакцию от Andy в Как поставить картинку в хедере ?   
    В строку "Формат отображения" при создании/редактировании поля, вставьте {title}: {content} - это будет означать "Город: название города" или просто {content} - будет выведено просто название города
  23. Лайк
    Redneck получил реакцию от Andy в Как поставить картинку в хедере ?   
    в админке напротив своего стиля нажимаете на карандаш - вкладка "Другие"
    Вы можете вместо этого поля создать 2 нужных вам... одно с городом, другое с областью


  24. Лайк
    Redneck получил реакцию от rsergio в Как поставить картинку в хедере ?   
    в custom.css добавить:
    .cAuthorPane { background: #f5f5f5; }  
  25. Лайк
    Redneck получил реакцию от (Work of Art) в Модератор тем   
    Изначально выставлены все права, после сброса предлагается настроить все заново и поэтому появляется много вкладок
×
×
  • Создать...