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.

Frienemy

Пользователи
  • Регистрация

  • В сети

Everything posted by Frienemy

  1. Приветствую. Собственно назрела нужда выводить данные из базы в UserInfoPane (в перспективе потом и в профиль вывести). Вообще в идеале не из форумной базы, но в принципе и из форумной можно. Добавить поля в таблицу "members" и от туда их выводить. Суть, ковырялся как мог, так и не понял, где присвоить переменную или как вывести информацию из поля для конкретного пользователя. Так как где и как заданы глобальные переменные я не нашел перерыв все файлы форума. Пробовал самые различные запросы гуглить, мозг сломался. И вообще, это реализуемо? P.S. IP Board 3.4.6
  2. Неактуально, нашел где это. Теперь хотелось бы добавить 2 и более префикса на тему, идеи?
  3. А можно как то удалить ссылку на поиск у префиксов? То есть сделать надписи просто, аналогичные закрепленным и архивным темам. Изменение цвета префикса на любой, не только серый, массовое назначение, удаление и переименование.
  4. Приветствую. Собственно имеется код. <div class='ipsSideBlock'> <h3>Последние сообщения администрации</h3> <div class='_sbcollapsable'> <ul class="ipsList_withminiphoto"> <foreach loop="posts:$recentPosts as $post"> <li class="clearfix"> <a href="__site.ru/index.php?/user/{$post['last_poster_id']}-{$post['last_poster_name']}" class="ipsUserPhotoLink left"> {IPSMember::buildProfilePhoto($post['last_poster_id'], mini)} </a> <div class="list_content"> <a href='{parse url="showtopic={$post['tid']}&amp;view=findpost" base="public" seotitle="{$post['title_seo']}" template="showtopicunread"}' class="ipsType_small">{$post['title']}</a> <a href='{parse url="showtopic={$post['tid']}&amp;view=findpost" base="public" template="showtopic" seotitle="{$post['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <br/> <if test="forum:|:$this->settings['hsc_rp_showforum'] == 1"> {$this->lang->words['forum']}: <a href='{parse url="showforum={$post['forum_id']}" base="public" seotitle="{$post['forum_name_seo']}" template="showforum"}'>{$post['forum_name']}</a> <br/> </if> <if test="starterInfo:|:$this->settings['hsc_rp_start'] == 1"> {$this->lang->words['started_by']}: {IPSMember::makeProfileLink($post['starter_name'], $post['starter_id'], $post['seo_first_name'])}&nbsp;<span class='date'>- {parse date="$post['start_date']" format="SHORT"}</span> <br/> </if> <if test="firstPost:|:$this->settings['hsc_rp_post'] == 'F'"> {$post['post']} <br/> </if> <if test="views:|:$this->settings['hsc_rp_views'] == 1"> {$this->lang->words['views']}: {parse format_number="$post['views']"} &nbsp; {$this->lang->words['replies']}: {parse format_number="$post['posts']"} <br/> </if> <if test="lastPost:|:$this->settings['hsc_rp_post'] == 'L' and $post['post']"> <span class="ipsType_small">{$post['post']}</span> </if> <if test="lastPostInfo:|:$this->settings['hsc_rp_last'] == 1"> <p class="desc ipsType_smaller"> {IPSMember::makeProfileLink($post['last_poster_name'], $post['last_poster_id'], $post['seo_last_name'])}&nbsp;<span class='date'>- {parse date="$post['last_post']" format="SHORT"}</span> </p> </if> </div> </li> </foreach> </ul> </div> </div> Нужно что бы в блоке отображались только сообщения определенных групп, а не все последние сообщения пользователей. При переходе по ссылке, что бы переходилось непосредственно к посту в теме оставленному администратором, без разници последний это пост в теме или нет. И желательно что бы была возможность вывода нескольких сообщений из 1 темы. То есть, например блок из 10 сообщений в нем, по аналогии стандартного вывода последних тем все на вид, но это ссылки на последние ответы администраторов в темах. Крутил и так и эдак уже, не выходит что то. З.Ы. основано на hsc recentposts sidebar 2.2.3

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.