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

Доброго времени суток, друзья :)
Недавно установил себе на форум модификацию - '?do=embed' frameborder='0' data-embedContent>>

Но не могу разобраться в нём :(

Подскажите пожалуйста где можно настроить навигацию или как она называется. Скрин ниже:

 

 

И подскажите пожалуйста в каком файле на хостинге редактировать центральные блоки?

Хочу убрать Просмотры и ответы. Скрин ниже:

 

Заранее очень благодарен за помощь. С меня плюсики)

Edited by WOLF

  • Author

JoinRM, второй скриншот не виден. И почитайте правила форума, а именно п. 2.2.2.3.

Спасибо. Сейчас найду прочитаю

Скриншоты:

post-28094-0-87731000-1427000104_thumb.ppost-28094-0-07004900-1427000118_thumb.p

Вроде нашел:

 

1) внешний вид --> редактировать язык

найти portal_title и вписать "Главная", так как в хлебных крошках используется тайтл / название приложения

post-24610-0-09701400-1427315127_thumb.j


2) внешний вид --> %стиль% --> шаблоны --> портал --> articles

 

смотрите в этом коде:

<div class='general_box'>
            <h3 class='ipsType_smaller'>&nbsp;            
                <if test="showShareLinks:|:!$this->settings['portal_hide_share']">          
                     {$topic['share_links']}
                </if>

                <span class='right'>
                {parse format_number="$topic['views']"} {$this->lang->words['views']} &middot;
                {parse format_number="$topic['posts']"} {$this->lang->words['replies']}
	
                <if test="entryHasPosts:|:$topic['posts']">
                    ( {$this->lang->words['last_reply_by']} <if test="entryLastPoster:|:$topic['last_poster_id']"><a href='{parse url="showuser={$topic['last_poster_id']}" template="showuser" seotitle="{$topic['seo_last_name']}" base="public"}'>{$topic['last_poster_name']}</a><else />{$this->settings['guest_name_pre']}{$topic['last_poster_name']}{$this->settings['guest_name_suf']}</if> )
                </if>
                </span>
                	
            </h3>
                        
	</div> 

 

----

ПС:

А я бы, например, вообще удалил этот код и вместо него вставил

<br />

в итоге полный код шаблона articles будет иметь вид:

{parse js_module="topic"}
<div class='ipsBox clear'>

    <foreach loop="articles:$articles as $topic">

        <div class='ipsBox_container ipsPad'>        
		
            <a href='{parse url="showuser={$topic['member_id']}" seotitle="{$topic['members_seo_name']}" template="showuser" base="public"}' class='ipsUserPhotoLink left ipsPad_half'><img src='{$topic['pp_small_photo']}' alt='{$r['members_display_name']} {$this->lang->words['photo']}' class='ipsUserPhoto ipsUserPhoto_medium' /></a>
		
            <h2 class='ipsType_pagetitle'><a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}'>{IPSText::truncate( $topic['title'], intval( $this->settings['portal_topic_title_truncate'] ) )}</a></h2>
            <div class='desc'>{parse date="$topic['start_date']" format="DATE"}</div><br class='clear' />

        
            <div class='desc ipsType_smaller ipsPad_half'>		
                {$this->lang->words['posted_by']} <if test="$topic['members_display_name']">{parse template="userHoverCard" group="global" params="$topic"}<else />{$this->settings['guest_name_pre']}{$topic['starter_name']}{$this->settings['guest_name_suf']}</if>
                {$this->lang->words['in']} <a href='{parse url="showforum={$topic['id']}" base="public" seotitle="{$topic['name_seo']}" template="showforum"}'>{$topic['name']}</a>
            </div>

            <div class='ipsType_textblock ipsPad'>
                <if test="truncateTopic:|:$this->settings['portal_topic_truncate']">
                    {IPSText::truncate( IPSText::getTextClass( 'bbcode' )->stripAllTags( strip_tags( $topic['post'], '<br>' ) ), intval( $this->settings['portal_topic_truncate'] ) )}
                     <div class='ipsPad_half'>
                         &nbsp;<a href='{parse url="showtopic={$topic['tid']}" base="public" seotitle="{$topic['title_seo']}" template="showtopic"}' class='right clearfix'><span class='ipsButton_secondary'>Перейти к теме</span></a>
                     </div>
                <else />{$topic['post']}</if>
                <!--IBF.ATTACHMENT_{$topic['pid']}-->
            </div>
            
        </div>

        <br />

</foreach>
</div>
<if test="pagesBottom:|:$pages"><div class='topic_controls'>{$pages}</div></if>
<br class='clearfix' /> 

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.