Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

2 часа назад, TemaMinsky сказал:

Добрый вечер подскажите плагин 

ссылка на форум не реклама https://vancerp.com/forum/topic/683-полиция/

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

Если репутация то это по дефолту не каких плагинов. 

А достижения это трофеи и медали. Собственно делал почти как у них

1.thumb.png.6b81f58288e22d1f0e64f1943b0994d0.png

  • Author
6 минут назад, wasder12 сказал:

Если репутация то это по дефолту не каких плагинов. 

А достижения это трофеи и медали. Собственно делал почти как у них

1.thumb.png.6b81f58288e22d1f0e64f1943b0994d0.png

 

 

а как этот вывод в углу сделать?  с достижениеми? 

2 часа назад, TemaMinsky сказал:

 

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

И что этот скрин даёт? Сформулируй свой вопрос правильнее что бы тебя понимали, а то углов много где хочешь можно разместить.

1.thumb.png.f3f9e6f12bcb586293fff584e88d0ce2.png

  • Author
Только что, wasder12 сказал:

И что этот скрин даёт? Сформулируй свой вопрос правильнее что бы тебя понимали, а то углов много где хочешь можно разместить

 

как под авкой сделать репутацию достижение и кол сообщений так понятней? 

с права 

2 часа назад, TemaMinsky сказал:

как под авкой сделать репутацию достижение и кол сообщений так понятней? 

Так и пиши что "Как вывести информацию под аватаркой" а не в углу.

Вставишь в нужном тебе месте

            <div class="wa_pContainer_b2">
			<div class="wa_pContainer_b2_1">
			<div>
             <span class="wa_pContainer_b2_m">Репутация</span>
			</div>
			<span style="font-size: 12px;">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span> 
			</div>
            <div class="wa_pContainer_b2_1">
			<div>
			<span class="wa_pContainer_b2_m">Публикации</span>
			</div>
			<span style="font-size: 12px;">{$comment->author()->member_posts}</span>
			</div>
			</div>

А так есть стиль откуда можно всё это вырезать и не задавать этих вопросов.

  • 4 недели спустя...
1 час назад, Yosif сказал:

У меня получается вот так.. Уже не знаю, что комментировать, что изменить..

Замени всё в 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 {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}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() OR $item->hidden() === -2}}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'>
      <ul class='cAuthorPane_info ipsList_reset'>
<li class='cAuthorPane_photo'>
                {{if $comment->author()->pp_main_photo}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}"><span class='ipsUserPhoto ipsUserPhoto_variable eaAvatar'><img src="{setting="base_url"}uploads/{$comment->author()->pp_main_photo}" /></span></a>{{else}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$seoName"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}"><span class="ipsUserPhoto ipsUserPhoto_variable eaAvatar"><img src="{resource="default_photo.png" app="core" location="global"}" /></span></a>{{endif}}
          </li>
         <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break'><strong>{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'>&nbsp;&nbsp;{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
		
			{{if $comment->author()->member_title && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone eaRank' data-ipstooltip="" _title="Звание">{$comment->author()->member_title}</li>
			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone eaRank' data-ipstooltip="" _title="Звание">{$comment->author()->rank['title']}</li>
			{{endif}}
          <hr class="ipsHr ipsHr_small">
          <!--<li class="ipsGroup uip">
          {expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
        </li>-->
        {expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
          <hr class="ipsHr ipsHr_small">
			{{if $comment->author()->member_id}}
          <div class="wa_pContainer_b2">
			<div class="wa_pContainer_b2_1">
			<div>
             <span class="wa_pContainer_b2_m">Репутация</span>
			</div>
			<span style="font-size: 12px;">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span> 
			</div>
            <div class="wa_pContainer_b2_1">
			<div>
			<span class="wa_pContainer_b2_m">Публикации</span>
			</div>
			<span style="font-size: 12px;">{$comment->author()->member_posts}</span>
			</div>
			</div>
		    
          
				{{if $comment->author()->reputationImage()}}
					<li class='ipsPad_half ipsResponsive_hidePhone'>
						<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
					</li>
				{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}
		</ul>
	</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>

В custom.css

.cAuthorPane {
    padding: 0px !important;
    border-width: 1px;
    border-style: solid;
    border-color: #c3bfbf;
}

.ipsType_sectionHead {
    font-size: 17px;
}

.cAuthorPane_info {
    margin-top: -10px;
}

.cAuthorPane_author {
    display: block;
    line-height: 1.2;
    word-wrap: initial;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-hyphens: initial;
    margin-bottom: 3px;
}

.eaUpLinks {
  margin-left: 15px;
}

.cPost .ipsComment_meta {
    padding: 12px 10px 12px 10px;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #F2F2F2;
    margin-left: -15px;
}

.ipsColumn_fluid {
    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: #F2F2F2;
}

.cPost .cPost_contentWrap {
    padding: 10px 15px 10px 0;
}

.ipsUserPhoto_variable img, img.ipsUserPhoto_variable, .ipsUserPhoto_variable:after {
    width: 198px;
    height: 199px;
    border-radius: 0px;
	}
.ipsUserPhoto_xlarge img, img.ipsUserPhoto_xlarge, .ipsUserPhoto_xlarge:after {
		width: 170px;
		height: 170px;
		{{if theme.rounded_photos}}
			border-radius: 60px;
		{{endif}}
}
.uip {
    padding: 5px;
    display: inline-block;
    width: 100%;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #F2F2F2;
}

.wa_pContainer_b2 {
    background: #F8F8F8;
}

.wa_pContainer_b2_1 {
    width: 50%;
    float: left;
}

.wa_pContainer_b2_1 .ipsRepBadge {
    font-size: 12px;
    font-weight: normal;
}

.wa_pContainer_b2_m {
    color: #868686;
    text-transform: uppercase;
    font-size: 11px;
}

.cPost .cGroup4 {
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 45px;
    padding-right: 45px;
    background: linear-gradient(45deg, #afa3fe, #948bd4);
}
.cPost .cGroup3 {
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 70px;
    padding-right: 75px;
    background: linear-gradient(45deg, #bdbdbd, #a0a0a0);
}

 

Для postConteiner используйте этот шаблон

{{$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 {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}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() OR $item->hidden() === -2}}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'>
      <ul class='cAuthorPane_info ipsList_reset'>
<li class='cAuthorPane_photo'>
  {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
                
          </li>
         <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break'><strong>{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'>&nbsp;&nbsp;{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
		
			{{if $comment->author()->member_title && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone eaRank' data-ipstooltip="" _title="Звание">{$comment->author()->member_title}</li>
			{{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
				<li class='ipsResponsive_hidePhone eaRank' data-ipstooltip="" _title="Звание">{$comment->author()->rank['title']}</li>
			{{endif}}
          <hr class="ipsHr ipsHr_small">
          <!--<li class="ipsGroup uip">
          {expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
        </li>-->
        {expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}
          <hr class="ipsHr ipsHr_small">
			{{if $comment->author()->member_id}}
          <div class="wa_pContainer_b2">
			<div class="wa_pContainer_b2_1">
			<div>
             <span class="wa_pContainer_b2_m">Репутация</span>
			</div>
			<span style="font-size: 12px;">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span> 
			</div>
            <div class="wa_pContainer_b2_1">
			<div>
			<span class="wa_pContainer_b2_m">Публикации</span>
			</div>
			<span style="font-size: 12px;">{$comment->author()->member_posts}</span>
			</div>
			</div>
		    
          
				{{if $comment->author()->reputationImage()}}
					<li class='ipsPad_half ipsResponsive_hidePhone'>
						<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
					</li>
				{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}
		</ul>
	</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>

 

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.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.