Skip to content

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

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

 

Вот пример (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

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

TRUNCATE TABLE ibf_inline_notifications

  • Author

Спасибо. Вопрос закрыт.

Create an account or sign in to comment

Account

Navigation

Search

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.