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

Может кто поможет..

Сделал я у себя значит возможность постить гостям в темах. Но проблема в том, что в мобильной именно версии, данная кнопка не отображается (именно для гостей), в десктопе все ок и, даже если перевернуть телефон (по горизонтали), то кнопка появляется 🤨.. Менял шаблоны.. ерунда на всех шаблонах такая.. версия ips 4.3. Для гостей открыты форумы (некоторые), настроена капча и модерация контента от гостей..

Ковырял шаблоны и css .. нашел только кнопку для десктопа.. 

Заранее спасибо.

3A279748-50AE-46E7-849E-48D65AC38AD6.thumb.jpeg.0e4c0406dfea15466957bac2f8c980ba.jpeg

Edited by aLEX49566

  • Author
Спойлер

{{if $showFilterButton}}
    <li class='ipsToolList_primaryAction ipsResponsive_hideDesktop ipsResponsive_block'>
        <a class="ipsButton ipsButton_medium ipsButton_link ipsButton_fullWidth" href="#" data-ipsDialog data-ipsDialog-title='{lang="forums_simple_dialog_title"}' data-ipsDialog-content='#elFluidFormFilters'>
            <span data-role='fluidForumMobileDesc'>{lang="forums_simple_filter_by"}</span> <i class='fa fa-angle-down'></i></a>
    </li>
{{endif}}
{{if \IPS\forums\Forum::canOnAny('add')}}
<li class='ipsToolList_primaryAction ipsResponsive_hideTablet'>
    <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=forums&module=forums&controller=forums&do=add"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>
</li>
{{endif}}

{{if $showViewButtons}}
    {template="viewChange" group="global" app="forums" params=""}
{{endif}}

🤧

34 минуты назад, aLEX49566 сказал:
  Скрыть контент

{{if $showFilterButton}}
    <li class='ipsToolList_primaryAction ipsResponsive_hideDesktop ipsResponsive_block'>
        <a class="ipsButton ipsButton_medium ipsButton_link ipsButton_fullWidth" href="#" data-ipsDialog data-ipsDialog-title='{lang="forums_simple_dialog_title"}' data-ipsDialog-content='#elFluidFormFilters'>
            <span data-role='fluidForumMobileDesc'>{lang="forums_simple_filter_by"}</span> <i class='fa fa-angle-down'></i></a>
    </li>
{{endif}}
{{if \IPS\forums\Forum::canOnAny('add')}}
<li class='ipsToolList_primaryAction ipsResponsive_hideTablet'>
    <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=forums&module=forums&controller=forums&do=add"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>
</li>
{{endif}}

{{if $showViewButtons}}
    {template="viewChange" group="global" app="forums" params=""}
{{endif}}

🤧

 <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=forums&module=forums&controller=forums&do=add"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>

  • Author
11 минут назад, SlawkA сказал:

 <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=forums&module=forums&controller=forums&do=add"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>

без изменений(

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

  • Author
1 минуту назад, by_ix сказал:

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

не думаю.. не я один с данной проблемой.

  • Author
5 минут назад, by_ix сказал:

много у кого 4.3 сейчас?

В моем круге-да) . Игра старая, форум простой годится) 

Спасибо, попробую)

Есть еще ниже 4.3 версии форумы у ребят)

  • Author
18 минут назад, by_ix сказал:

@aLEX49566 а для гостей? 

Это для гостей. Иными  словами и для юзеров и для гостей-одно и тоже. Удалось нормально сделать, не ломая правила

Edited by aLEX49566

  • Author

@by_ix скину вечером, просто не уверен, что подойдёт.. не уверен, что под другой шаблон ляжет нормально.. да и делал я под свои интересы), многие скорее всего скажут-что за ерунда?.. зачем оно вообще надо 🤭

  • Author

Вот мой шаблон:

Спойлер

<div class='ipsPageHeader ipsClearfix ipsSpacer_bottom cForumHeader'>
    {{if \IPS\forums\Forum::canOnAny( 'add' ) }}
        <ul class='ipsToolList ipsToolList_horizontal ipsClearfix ipsPos_right'>
            <li class='ipsToolList_primaryAction ipsResponsive_hidePhone'>
                <a class="ipsButton ipsButton_medium ipsButton_important" href="{url="app=forums&module=forums&controller=forums&do=add" seoTemplate="topic_non_forum_add_button"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>
            </li>
            {template="viewChange" group="global" app="forums" params=""}
        </ul>
    {{endif}}
    <h1 class='ipsType_pageTitle'>
        {lang="forums"}
    </h1>
</div>
{{if \IPS\Member::loggedIn()->member_id}}
    <ul class="ipsToolList ipsToolList_horizontal ipsResponsive_hideDesktop ipsResponsive_hideTablet ipsResponsive_block ipsClearfix">
        {template="indexButtons" group="index" app="forums" params="FALSE"}
    </ul>
{{endif}}

<section>
    <ol class='ipsList_reset cForumList' data-controller='core.global.core.table, forums.front.forum.forumList' data-baseURL=''>
        {{foreach \IPS\forums\Forum::roots() as $category}}
            {{if $category->can('view') && $category->hasChildren()}}
            <li data-categoryID='{$category->_id}' class='cForumRow ipsBox ipsSpacer_bottom'>
                <h2 class="ipsType_sectionTitle ipsType_reset cForumTitle">
                    <a href='#' class='ipsPos_right ipsJS_show ipsType_noUnderline cForumToggle' data-action='toggleCategory' data-ipsTooltip title='{lang="toggle_this_category"}'></a>
                    <a href='{$category->url()}'>{$category->_title}</a>
                </h2>
                {{if \IPS\forums\Forum::getMemberView() === 'grid'}}
                    <div class='ipsAreaBackground ipsPad' data-role="forums">
                        <div class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='250' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
                            {{foreach $category->children() as $forum}}
                                {template="forumGridItem" group="index" app="forums" params="$forum"}
                            {{endforeach}}
                        </div>
                    </div>
                {{else}}
                    <ol class="ipsDataList ipsDataList_large ipsDataList_zebra ipsAreaBackground_reset" data-role="forums">
                        {{foreach $category->children() as $forum}}
                            {template="forumRow" group="index" app="forums" params="$forum"}
                        {{endforeach}}
                    </ol>
                {{endif}}
            </li>
            {{endif}}
        {{endforeach}}
        {{if settings.club_nodes_in_apps and $clubForums = \IPS\forums\Forum::clubNodes()}}
            <li data-categoryID='clubs' class='cForumRow ipsBox ipsSpacer_bottom'>
                <h2 class="ipsType_sectionTitle ipsType_reset cForumTitle">
                    <a href='#' class='ipsPos_right ipsJS_show ipsType_noUnderline cForumToggle' data-action='toggleCategory' data-ipsTooltip title='{lang="toggle_this_category"}'></a>
                    <a href='{url="app=forums&module=forums&controller=forums&do=clubs" seoTemplate="forums_clubs"}'>{lang="club_node_forums"}</a>
                </h2>
                {{if \IPS\forums\Forum::getMemberView() === 'grid'}}
                    <div class='ipsAreaBackground ipsPad' data-role="forums">
                        <div class='ipsGrid ipsGrid_collapsePhone' data-ipsGrid data-ipsGrid-minItemSize='250' data-ipsGrid-maxItemSize='500' data-ipsGrid-equalHeights='row'>
                            {{foreach $clubForums as $forum}}
                                {template="forumGridItem" group="index" app="forums" params="$forum"}
                            {{endforeach}}
                        </div>
                    </div>
                {{else}}
                    <ol class="ipsDataList ipsDataList_large ipsDataList_zebra ipsAreaBackground_reset" data-role="forums">
                        {{foreach $clubForums as $forum}}
                            {template="forumRow" group="index" app="forums" params="$forum"}
                        {{endforeach}}
                    </ol>
                {{endif}}
            </li>
        {{endif}}
    </ol>
</section>

 

Строка

001.thumb.PNG.5c55fb64439f7185c1691c63eae1923f.PNG

 

Идет как

<li class='ipsToolList_primaryAction'>

Если проще говоря

Edited by aLEX49566

17 минут назад, aLEX49566 сказал:

Сдесь же можно и слово "Форумы" Удалить)

	<h1 class='ipsType_pageTitle'>
		{lang="forums"}
	</h1>

 

бинго. хорошо же когда сам додумываешься? 😁

Спойлер

766.thumb.png.f8fcf02f8d308488fe2e2ed1ab904403.png

 

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.