Skip 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.

Short Links

Featured Replies

Short Links

Short Links — это приложение, которое позволяет создавать короткие ссылки в вашем сообществе. Вы можете предоставить разрешение определённым группам пользователей на создание коротких ссылок. Также приложение заменяет стандартную ссылку на короткую в разделе Share Links.

Настройки

  • Группы, которые могут создавать короткие ссылки.

  • Заменять стандартные ссылки на короткие при отправке.

  • Отображать короткую ссылку в просмотре темы.

  • Отображать кнопку создания короткой ссылки.

  • Контроль частоты отправки (флуд-контроль). Пользователь не сможет сократить следующую ссылку, пока не пройдёт указанное время.

  • Для создания ссылки в меню сайта используйте ACP → System → Site Features → Menu Manager

  • Приложение имеет свою страницу на сайте: https://site/short/

Источник файла: invisiondevs.com

Информация

Submitter Zero108

Submitted 09.04.2026

Category Interface

Просмотр файла

Short Links

  • Author

Баг

INSERT INTO ibf_shortlinks_urls ( time, member_id, destination ) VALUES ( 1775820608, NULL, 'https://site/links/' )
IPS\Db\Exception: Column 'member_id' cannot be null (1048)

Открыть

/applications/shortlinks/sources/Short/Short.php

Найти

public function setDefaultValues()
{
    $this->time = time();
    $this->member_id = \IPS\Member::loggedIn()->member_id; // Для гостя возвращает NULL
}

Заменить на

public function setDefaultValues()
{
    $this->time = time();    
    $memberId = \IPS\Member::loggedIn()->member_id;
    $this->member_id = $memberId !== NULL ? $memberId : 0;
}

Выполнить запросы к базе данных

ALTER TABLE ibf_shortlinks_urls MODIFY COLUMN member_id INT NOT NULL DEFAULT 0;
UPDATE ibf_shortlinks_urls SET member_id = 0 WHERE member_id IS NULL;

Edited by Zero108

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
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

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.