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.

Featured Replies

Posted

Hello,

when uploading the new version, in which table is it stored in the files section?

{{$new version Files = \IPS\downloads\File::getItemsWithPermission( array( 'name table=?', 0 ), NULL, NULL, 'read', TRUE ); $new versionFiles = $new version Files ? \count( $new version Files ) : 0;}}
 

Edited by afshin20

  • Author
10 minutes ago, Exception said:
$file->open

 

{{$file->open= \IPS\downloads\File::getItemsWithPermission( array( 'file_open=?', 0 ), NULL, NULL, 'read', TRUE ); $file->open = $file->open ? \count( $file->open) : 0;}}
{{if $file->open}} <span class="ipsNotificationCount"> {$file->open} </span> {{endif}}

I added that it didn't work, can you give me the code yourself?

4 минуты назад, afshin20 сказал:
{{$file->open= \IPS\downloads\File::getItemsWithPermission( array( 'file_open=?', 0 ), NULL, NULL, 'read', TRUE ); $file->open = $file->open ? \count( $file->open) : 0;}}
{{if $file->open}} <span class="ipsNotificationCount"> {$file->open} </span> {{endif}}

I added that it didn't work, can you give me the code yourself?

а это что за дерьмо?

$file->open=

это нужно чтобы получить свойство open у полученного файла

  • Author
4 minutes ago, Exception said:

а это что за дерьмо?

 

I don't know anything about coding, give me the code and that's it

There is a line of code, give me the correct code

Edited by afshin20

8 минут назад, afshin20 сказал:

I don't know anything about coding, give me the code and that's it

There is a line of code, give me the correct code

не надо подставлять никуда $file->open, это нужно для получения свойства open, ты не думая копируешь и вставляешь код подставляя его хрен пойми куда

Edited by Exception

  • Author
On 8/30/2024 at 2:34 PM, Exception said:

не надо подставлять никуда $file->open, это нужно для получения свойства open, ты не думая копируешь и вставляешь код подставляя его хрен пойми куда

Go to the following address. You already gave me this code for the forum section. Now I want to add new files that are waiting for upload mode.

https://ipbmafia.ru/topic/26237-add-nitofaction-to-deleted-content-to-icon-trash/

 

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
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

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.