Posted August 29, 2024Aug 29 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 August 29, 2024Aug 29 by afshin20
August 29, 2024Aug 29 Author Can you guide me on what to put in the new version file that is waiting for approval? @Exception
August 30, 2024Aug 30 2 часа назад, afshin20 сказал: Can you give me the code? @Exception я не понимаю, что ты хочешь вообще
August 30, 2024Aug 30 Author 29 minutes ago, Exception said: я не понимаю, что ты хочешь вообще Instead of using this plugin, I want to use the code for all the sent files and the new upload version of the pending files. (JD)Moderators fast.xml
August 30, 2024Aug 30 14 часов назад, afshin20 сказал: waiting for approval у файлов это колонка file_open $file->open
August 30, 2024Aug 30 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?
August 30, 2024Aug 30 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 у полученного файла
August 30, 2024Aug 30 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 August 30, 2024Aug 30 by afshin20
August 30, 2024Aug 30 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 August 30, 2024Aug 30 by Exception
August 31, 2024Aug 31 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.