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

Posted

1. Можно ли как то настроить что если в теме 50 страниц - то тему закрыть и создать новую автоматом?

2. Как убрать с каждой страницы у гостя в подвале блок с регистрацией - такие 2 кнопки большие - Создайте аккаунт или войдите в него для комментирования?

21 минуту назад, Сергей3321 сказал:

1. Можно ли как то настроить что если в теме 50 страниц - то тему закрыть и создать новую автоматом?

2. Как убрать с каждой страницы у гостя в подвале блок с регистрацией - такие 2 кнопки большие - Создайте аккаунт или войдите в него для комментирования?

1. Писать плагин

2. В коды вырезать, если никто не ответит, скину позже, с тел не могу

Этот блок находится в core/front/global/guestCommentTeaser

Способ 1. Можешь закомментировать

Спойлер

<!--hidecode
{{$ref = base64_encode( $item->url() . '#replyForm' );}}
{{if \IPS\Settings::i()->allow_reg}}
	<div class='ipsType_center ipsPad cGuestTeaser'>
		{{if $isReview}}
			<h2 class='ipsType_pageTitle'>{lang="teaser_review_title_reg"}</h2>
			<p class='ipsType_light ipsType_normal ipsType_reset'>{lang="teaser_review_desc_reg"}</p>
		{{else}}
			<h2 class='ipsType_pageTitle'>{lang="teaser_title_reg"}</h2>
			<p class='ipsType_light ipsType_normal ipsType_reset'>{lang="teaser_desc_reg"}</p>
		{{endif}}

		<div class='ipsBox ipsPad ipsSpacer_top'>
			<div class='ipsGrid ipsGrid_collapsePhone'>
				<div class='ipsGrid_span6 cGuestTeaser_left'>
					<h2 class='ipsType_sectionHead'>{lang="teaser_account"}</h2>
					<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_account_desc"}</p>
					<a href='{url="app=core&module=system&controller=register" seoTemplate="register" protocol="\IPS\Settings::i()->logins_over_https"}' class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_account_button"}</a>
				</div>
				<div class='ipsGrid_span6 cGuestTeaser_right'>
					<h2 class='ipsType_sectionHead'>{lang="teaser_signin"}</h2>
					<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_signin_desc"}</p>
					<a href='{url="app=core&module=system&controller=login&ref={$ref}" seoTemplate="login" protocol="\IPS\Settings::i()->logins_over_https"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_signin_button"}</a>
				</div>
			</div>
			{{if count ( $login->forms( FALSE, TRUE ) ) > 1}}
				<hr class='ipsHr'>
				<ul class='ipsList_inline ipsList_noSpacing'>
					{{foreach $login->forms( FALSE, TRUE ) as $k => $form}}
					{{if $k !== '_standard'}}
					<li class='ipsType_center ipsPos_center cGuestTeaser_social'>
						{$form|raw}
					</li>
					{{endif}}
					{{endforeach}}
				</ul>
			{{endif}}
		</div>
	</div>
{{else}}
	<div class='ipsType_center ipsPad'>
		<h2 class='ipsType_pageTitle'>{lang="teaser_title_noreg"}</h2>
		<p class='ipsType_light ipsType_normal ipsType_reset'>{lang="teaser_desc_noreg"}</p>
		<br>
		<br>
		<a href='{url="app=core&module=system&controller=login&ref={$ref}" seoTemplate="login"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_alternate ipsButton_large'>{lang="teaser_signin_button"}</a>
	</div>
{{endif}}
-->

 

Способ 2. Можешь в класс добавить

Спойлер

в начале кода, что выше добавить style
<div class='ipsType_center ipsPad cGuestTeaser' style="display: none;">

 

Но в обоих случаях останется серая полоска от div data-role="replyArea", думаю можно этот блок убрать вообще и сделать свой с классом, либо стереть все классы...
В любом случае более опытный пользователь вам ответит.

2 часа назад, Сергей3321 сказал:

1. Можно ли как то настроить что если в теме 50 страниц - то тему закрыть и создать новую автоматом?

2. Как убрать с каждой страницы у гостя в подвале блок с регистрацией - такие 2 кнопки большие - Создайте аккаунт или войдите в него для комментирования?

ссылку на форум в профиле укажи

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.