Jump to content
View in the app

A better way to browse. Learn more.

Дизайн и модификация 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.

Модуль очистить всем ЛС

Есть ли модуль-хук, чтоб удалить всю переписку между пользователями.

 

Вот пример (RC34) Manage Inactive Members (управление не активными пользователями).

 

Спасибо?

Featured Replies

  • Author

Или, как очистить личку Запросом к БД, + обнулить счетчик пользователям.

Видел запросы для 2 версии, но для 3ки не нашел.

 

ibf_message_posts

ibf_message_topics

ibf_message_topic_user_map

  • Author

В том что дело - это простой способ.

 

TRUNCATE TABLE ibf_message_posts
TRUNCATE TABLE ibf_message_topics
TRUNCATE TABLE ibf_message_topic_user_map

А счетчики, как?

Или потом перестроить через АЦ

  • Author

Пример

 

UPDATE ibf_members set msg_count_new = 0, msg_count_total = 0, msg_count_reset = 0, msg_show_notification = 0;

  • Author

Сив, посидел подумал, выполнил TRUNCATE

 

А потом глянул в ibf_members set msg_count_new = , msg_count_total = , msg_count_reset = , msg_show_notification = ;

 

Там по 0) Вот и отлично.

  • Author

Во теще одно, как Уведомления очистить? Какая за них табл отвечает. Или её можно не трогать?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.