Posted 6 сентябряSep 6 comment_210858 подскажите как можно сделать пометку новое Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/ Share on other sites Больше вариантов
7 сентябряSep 7 comment_210865 forums > front > index >forumRow найти: <h4 class="ipsDataItem_title 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" sprintf="$forum->_title"}'>{$forum->_title}</a> {{else}} <a href="{$forum->url()}">{{if $club}}{lang="club_node" sprintf="$club->name, $forum->_title"}{{else}}{$forum->_title}{{endif}}</a> {{endif}} {{if $forum->redirect_on}} <span class='ipsType_light ipsType_medium'>({lang="redirect_hits" pluralize="$forum->redirect_hits"})</span> {{endif}} </h4> сразу после этого вставьте этот код: <span class='ipsItemStatusRu ipsItemStatus_largeRu {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_readRu{{endif}}' {template="formattedInlineStyle" params="$forum" app="core" group="global" location="front"}>НОВОЕ</span> в custom.css вставьте этот код: .ipsItemStatusRu.ipsItemStatus_largeRu { background: #135bec; color: #fff; padding: 4px; border-radius: 4px; display: inline-flex; justify-content: center; align-items: center; font-size: 12px; transition: 0.15s all linear; } .ipsItemStatusRu.ipsItemStatus_readRu { display:none;; } Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210865 Share on other sites Больше вариантов
7 сентябряSep 7 Author comment_210868 спасибо 😇 у меня теперь почти все форумы новые, как то вручную выставлять можно это? Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210868 Share on other sites Больше вариантов
7 сентябряSep 7 comment_210870 12 минут назад, umbro32111 сказал: спасибо 😇 у меня теперь почти все форумы новые, как то вручную выставлять можно это? Это работает для любого форума Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210870 Share on other sites Больше вариантов
7 сентябряSep 7 Author comment_210871 1 минуту назад, Silence сказал: Это работает для любого форума ок Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210871 Share on other sites Больше вариантов
7 сентябряSep 7 comment_210913 В custom Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210913 Share on other sites Больше вариантов
7 сентябряSep 7 comment_210915 я у себя как то давно на старом стиле делал гифку все руки не доходят на основном стиле переделать))) Спойлер Link to comment https://ipbmafia.ru/topic/27893-status-novye-v-forumah/?&do=findComment&comment=210915 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.