Maiden8 отреагировал на пост
SlawkA в Advanced User Info Panel
25 сентября, 2017
это в custom.css пропиши в любое место, это разделяющие полоски.
hr.style5 {
background-color: #fff;
border-top: 2px dashed #8c8b8b;
}
не забудь сделать бэкап своего стиля или код в postContainer свой, чтобы потом вернуть сразу можно было.
сам код
{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if $comment->isIgnored()}}
<div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
{lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$comment->$idField}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
<ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
<li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
<li class='ipsMenu_sep ipsJS_show'><hr></li>
<li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
<li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
</ul>
</div>
{{endif}}
<a id='comment-{$comment->$idField}'></a>
<article itemscope {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}}{{if $item->isQuestion() && !$comment->new_topic}}itemprop="suggestedAnswer {{if $comment->post_bwoptions['best_answer']}}acceptedAnswer{{endif}}" itemtype="http://schema.org/Answer"{{else}}itemtype="http://schema.org/Comment"{{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if settings.reputation_highlight and $comment->reputation() >= settings.reputation_highlight and settings.reputation_enabled}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone {{if $comment->author()->hasHighlightedReplies()}}ipsComment_highlighted{{endif}}{{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->hidden()}}ipsModerated{{endif}}'>
{{if $item->isQuestion() and !$comment->new_topic}}
{template="postRating" group="topics" app="forums" params="$item, $comment, $votes"}
{{endif}}
<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium'>
<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person"><strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong></h3>
<ul class='cAuthorPane_info ipsList_reset'>
{{if $comment->author()->member_title && $comment->author()->member_id}}
{$comment->author()->member_title}
{{endif}}
<span class=\'aupContent\'>{{if $comment->author()->isOnline()}}
<span class=\'aupTitle\'><img src="/uploads/imgs/online.gif" alt='ETS2ATSMODS' /></span>
{{else}}
<span class=\'aupTitle\'><img src="/uploads/imgs/offline.gif" alt='ETS2ATSMODS' /></span>{{endif}}</span><br/>
<span class=\'aupTitle\'><i class="fa fa-star-half-o" aria-hidden="true"></i> {lang="Рейтинг"}</span>
{{if $comment->author()->rank['image'] && $comment->author()->member_id}}
{$comment->author()->rank['image']|raw}
{{endif}}
<div class='author_info'>
{{$coverPhoto = $comment->author()->coverPhoto();}}
{{if $coverPhoto->file}}
<div class="wa_userinfo_bg" style="background-image: url('{$coverPhoto->file->url}') !important;margin-bottom: -60px !important;
background-color: #FFFFFF !important;
background-position: 50% 50%;
background-repeat: no-repeat;
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
background-size: 100% 100% !important;
height: 120px;
width: 230px;
margin-left: -8px !important;
margin: -0px -9px 0 -9px;"></div>
{{else}}
<li class='cAuthorPane_photo'></li>
{{endif}}
<li class='cAuthorPane_photo'>
{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
</li>
</div>
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-optin-monster" aria-hidden="true"></i> {lang="Ранг на Форуме"}</span>
{{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }}<br>
<img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'>
{{endif}}
{{if $comment->author()->member_id}}
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-thumbs-o-up" aria-hidden="true"></i> {lang="Репутация"}</span><br/>
{template="reputationBadge" group="global" app="core" params="$comment->author()"}
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-pencil-square-o" aria-hidden="true"></i> {lang="Всего Постов"}</span><br/>
{{if $comment->author()->reputationImage()}}
<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
{{endif}}
<br/><span class=\'aupContent\'>{lang="member_post_count" pluralize="$comment->author()->member_posts"}</span>
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-id-card-o" aria-hidden="true"></i> {lang="ID Пользователя"}</span><br/>
{$comment->author()->member_id}
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-trophy" aria-hidden="true"></i> {lang="members_days_won_count"}</span><br/>
<span class=\'aupContent\'>{number="$comment->author()->getReputationDaysWonCount()"}</span>
<hr class="style5">
<span class=\'aupTitle\'><i class="fa fa-calendar-o" aria-hidden="true"></i> {lang="joined"}</span><br/>
<span class=\'aupContent\'>{datetime="$comment->author()->joined" dateonly="true"}</span>
<hr class="style5">
<span class=\'euip_Title\'><i class="fa fa-clock-o" aria-hidden="true"></i> {lang="Временная зона"}</span><br/>
<span class=\'euip_Content\'>{$comment->author()->timezone}</span>
<hr class="style5">
<span class=\'euip_Title\'><i class="fa fa-birthday-cake" aria-hidden="true"></i> {lang="День рожденья"}</span><br/>
<span class=\'euip_Content\'>{$comment->author()->birthday}</span>
{{endif}}
</ul>
<hr class="style5">
</aside>
<div class='ipsColumn ipsColumn_fluid'>
{template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
</div>
</article>
это тебе гифки онлайн оффлайн
если коверФото будет кривым, большим или маленьким? то оно регулируется в самом коде.
лишний или не рабочий код удалишь сам.
я вроде удалил что не будет точно работать у тебя.
и должно стать у тебя вот так на форуме.
блин забыл в спойлер убрать