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.

Добавляем плеер к прикрепленным MP3 файлам:
1.Скачиваем mp3player.rar (прикреплю к теме поддержки статьи)
2.Заливаем его в public/mp3/ - (папку mp3 нужно создать)
3.Заходим в

Цитата

АЦ - Внешний вид > Управление стилями и шаблонами > Управление шаблонами в %Ваш стиль%

4.Группа Темы- Show_attachments
5.Заменяем все содержимое выше указанного шаблона на :

<a href="{parse url="app=core&amp;module=attach&amp;section=attach&amp;attach_id={$data['attach_id']}" base="current"}" title="{$this->lang->words['attach_dl']}"><img src="{$this->settings['public_dir']}<if test="hasmime:|:$data['mime_image']">{$data['mime_image']}<else />style_extra/mime_types/unknown.gif</if>" alt="{$this->lang->words['attached_file']}" /></a>
&nbsp;<a href="{parse url="app=core&amp;module=attach&amp;section=attach&amp;attach_id={$data['attach_id']}" base="current"}" title="{$this->lang->words['attach_dl']}"><strong>{$data['attach_file']}</strong></a> &nbsp;&nbsp;<span class='desc'><strong>{$data['file_size']}</strong></span>
&nbsp;&nbsp;<span class="desc lighter">{$this->lang->words['attach_hits']} <b>{$data['attach_hits']}</b></span><br>

<if test="memberbox:|:$this->memberData['member_id']">
<if test="$data['mime_image'] == 'style_extra/mime_types/music.gif'">

<object type="application/x-shockwave-flash" data="{$this->settings['board_url']}/public/mp3/mp3player.swf" height="75" width="500">
<param name="wmode" VALUE="transparent" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="movie" value="{$this->settings['board_url']}/public/mp3/mp3player.swf" />
<param name="FlashVars" value="way={$this->settings['board_url']}%2Findex.php%3Fapp%3Dcore%26module%3Dattach%26section%3Dattach%26attach_id%3D{$data['attach_id']}&showstop=1&swf={$this->settings['board_url']}/public/mp3/mp3player.swf&w=470&h=70&time_seconds=0&autoplay=0&q=1&skin=gray&volume=100&comment=Название: {$data['attach_file']} (ID: {$data['attach_id']})" /></object><br /></if></if>

6.Сохраняем.И готово

Автор статьи: HooLIGUN (RGMIX.eu)

При копировании ссылка на источник обязательна!

User Feedback

Recommended Comments

Комментариев пока нет

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
Добавить комментарий...

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.