Перейти к публикации
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.

Кто удалил сообщение в корзину

Опубликовано:

Ето для версий 2.3.X

 

Когда вы удаляете сообщение в корзину, в его описание вставляется идентификатор этой темы.

Таким образом можно понять из какой темы было удалено сообщение.

 

Но можно сделать так, чтобы писалось не ID темы, а имя пользователя, удалившего это сообщение. Для этого необходимо открыть файл sources/action_public/moderate.php, найти:

 

Код

$this->ipsclass->input['title'] = $this->ipsclass->lang['mod_from']." ".$this->topic['title'];

$this->ipsclass->input['desc'] = $this->ipsclass->lang['mod_from_id']." ".$this->topic['tid'];

 

 

Заменить на:

Код

$this->ipsclass->input['title'] = $this->ipsclass->lang['mod_from']." ".$this->topic['title']." (".$this->ipsclass->lang['mod_from_id']." ".$this->topic['tid'].")";

$this->ipsclass->input['desc'] = "Удалил: ".$this->ipsclass->member['members_display_name'];

 

а для 3.2.3 как сделать?

Рекомендованные сообщения

No posts to show

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

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.