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

Всем доброго вечера! ребят такая проблема как поставить (правила)текст когда заходишь в загрузки или в галерею что бы пользователь видел сначала правила, а потом только смог добавить файл или фото 

версия 4.4.10 

1 час назад, Corsaro сказал:

Всем доброго вечера! ребят такая проблема как поставить (правила)текст когда заходишь в загрузки или в галерею что бы пользователь видел сначала правила, а потом только смог добавить файл или фото 

версия 4.4.10 

Я себе сделал так) Когда чел нажимает добавить файл, у меня появляется модальное окно с помощью стандартных функций IPS. В окне правила и ссылка на общие правила, и в нем же кнопка уже добавить файл.
 

{{if $canSubmitFiles}}
<li class='ipsToolList_primaryAction'>
	<a class="ipsButton ipsButton_medium ipsButton_negative ipsButton_fullWidth" href="#" data-ipsdialog="" data-ipsdialog-size="narrow" data-ipsdialog-title='{lang="submit_a_file"}' data-ipsdialog-content="#elExtendedInfo" data-ipstooltip="" _title='{lang="submit_a_file"}' class="ipsType_blendLinks" id="ips_uid_5382_4"><i class="fa fa-question-circle"></i> {lang="submit_a_file"} / Правила</a>
</li>
{{endif}}
{{if $currentCategory AND $currentCategory->last_file_id AND \IPS\Member::loggedIn()->member_id}}
	<li>
		<a href="{$currentCategory->url()->setQueryString( array( 'do' => 'markRead' ) )->csrf()}" title='{lang="mark_category_read_title"}' class='ipsButton ipsButton_medium ipsButton_fullWidth ipsButton_link' data-action='markCategoryRead'><i class="fa fa-check"></i> {lang="mark_category_read"}</a>
	</li>
{{endif}}

<div class="ipsDialog  ipsDialog_narrow" style="z-index: 5200; top: 0px; display: none;" id="ips_uid_{$currentCategory->id}" role="dialog" aria-label="Основные правила" animating="false"> <div>     <h3 class="ipsDialog_title">Расширенный языковой пакет</h3>   <hr class="ipsHr">       <a href="#" class="ipsDialog_close" data-action="dialogClose">?</a>    <div class="ipsDialog_content"><div id="elExtendedInfo" class="ipsHide" style="display: block;">
	<div class="ipsPad">
      	<div class="cAnnouncementContentTop ipsMessage ipsMessage_error ipsType_center">
			<a href="cmsmafia.ru/rules/" data-ipsdialog="" data-ipsdialog-title="Общие правила форума">️ Общие правила форума </a>
		</div>
		<p>
			Краткие правила по добавлению файлов на наш форум:
			</p><ul>
      			<p><strong>Заголовок файла:</strong></p>
				<li>Версия CMS - [IPS 4.**]</li>
				<li>Название файла - How3skill Gaming Theme</li>
				<li>Год релиза файла - (2020)</li>
				<li>Версия файла - 1.3.1</li>
				<p><strong>Ключевые слова и префиксы:</strong></p>
				<li>Добавьте как можно больше ключевых слов!</li>
				<li>Выберите префикс (для шаблона - стили, для приложения - приложения, для плагинов - плагины)</li>
				<p><strong>Краткое описание:</strong></p>
				<li>Укажите краткое описание</li>
      			<li>Укажите автора</li>
				<li>Укажите ссылку и особенности (дополнительные сведения по установке)</li>
			</ul>
		<p></p>
      {{if $currentCategory OR $currentCategory = \IPS\downloads\Category::theOnlyNode()}}
      	{{if \IPS\Member::loggedIn()->group['idm_bulk_submit']}}
			<a href="{url="app=downloads&module=downloads&controller=submit&category={$currentCategory->id}&_new=1" seoTemplate="downloads_submit"}" class="ipsButton ipsButton_primary ipsButton_small" data-action="dialogClose" data-ipsDialog data-ipsDialog-title='{lang="submit_a_file"}' data-ipsDialog-size='narrow'>{lang="submit_a_file"}</a>
		{{else}}
			<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=downloads&module=downloads&controller=submit&category={$currentCategory->id}&_new=1&do=submit" seoTemplate="downloads_submit"}">
				{lang="submit_a_file"}
			</a>
		{{endif}}
      {{else}}
		<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=downloads&module=downloads&controller=submit&_new=1" seoTemplate="downloads_submit"}" data-ipsDialog data-ipsDialog-title='{lang="submit_a_file"}' data-ipsDialog-size='narrow'>
			{lang="submit_a_file"}
		</a>
	  {{endif}}
  	</div>
</div></div>  <div class="ipsDialog_loading ipsDialog_large ipsLoading" style="display: none"></div> </div></div>

screenshot-cmsmafia.ru-2020_05.24-21_48_54.png.9f5191a3b561cc4b8f2082fa2e40bd88.png

Вот такая кнопочка и окно в итоге вышло)

screenshot-cmsmafia.ru-2020_05.24-21_50_38.png.703a6cb31fd14f523c2d381c3f38a210.png

screenshot-cmsmafia.ru-2020_05.24-21_50_55.thumb.png.f87d1621439ad64e1da5a9d71361bc24.png

8 часов назад, Maiden8 сказал:

через выпадающее меню, не работает данная система.

поставь ограничения в выпадающем меню)Сделай добавление через это меню только для админов и все)Условия пропиши)А остальные пусть в самих файлах добавляют)) Хотя можно и тут это сделать)То же самое только в шаблоне профиля userBar

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.