Skip to content
View in the app

A better way to browse. Learn more.

Дизайн и модификация 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.

Правка отображения инфо пользователя

В инфо пользователя слева от сообщений у меня отображается пустое пространство:

 

9cf6e78d5e88.jpg

 

Так выглядит код RenderRow в этом месте:

 

<td valign="top" class="{$post['post_css']} post_left">
       	<span class="postdetails">
			<center><if="$author['id'] AND $author['avatar']">
				<a href="{$this->ipsclass->base_url}showuser={$author['id']}" title="{$this->ipsclass->lang['dd_view_profile']}">{$author['avatar']}</a><br /><br />
			<else />
       			{$author['avatar']}<br /><br />
			</if>
       		{$author['title']}<br />
       		{$author['member_rank_img']}<br /><br />
       		{$author['member_group']}<br />
       		{$author['member_posts']}<br />
       		{$author['thanks_point']}<br /></center>

			<if="$author['custom_fields'] != """>
				{$author['custom_fields']}
			</if>
			<br />
       		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
       	</span><br />

Что надо исправить в коде, чтобы не было пустого места в инфо пользователя и сразу после надписи "Спасибо сказали" отображалась разделительная полоса?

Featured Replies

Можно убрать два последних

, а в остальном высота левой ячейки определяется высотой правой, там где сообщение.

  • Author

Спасибо. Два последних <br /> - это какие? Здесь:

 

			</if>
			<br />
       		{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}
       	</span><br />

  • Author

Благодарю. Всё получилось, как мне было нужно - пустого места в инфо больше нет.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

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.