Skocz do zawartości
Hosting webh.pl - 20%

Weak.

Użytkownik
  • Dołączył

  • Ostatnia wizyta

  1. Bardziej bym zmienił sposób sprawdzania interwałów, bo jest ich 10, jezeli 10 jest takich samych i mają taki sam czas odświeżenia przez użytkownika to następuje blokada.
  2. lang.xml
  3. [data-ips-hook="galleryCommentWrap"] > .ipsPhotoPanel > .ipsUserPhoto, .ipsPhotoPanel .ipsAvatarStack { width: var(--i-photoPanelAvatar, 3em); }
    • 24 pobrań
    • Wersja 1.0.1
    A simple application that displays a list of all players in a window. For this application to work properly, the (aXen) Advanced Server List application is required.
    Darmowy
  4. (WK) Player list - (aXen) Advanced Server List Zobacz plik A simple application that displays a list of all players in a window. For this application to work properly, the (aXen) Advanced Server List application is required. Dodający Weak. Dodano 31.07.2025 Kategoria Modyfikacje Wspierana wersja 4.X  
  5. Może coś takiego? {{$yesterday = \IPS\DateTime::create()->sub(new \DateInterval('P1D'))->getTimestamp();}} {{$categoryGroups = [ ['main_id' => 1, 'name' => 'XXX'], ['main_id' => 2, 'name' => 'XXX'] ]; }} {{foreach $categoryGroups as $group}} {{$category = \IPS\downloads\Category::load($group['main_id']); }} {{$catIds = [$category->id];}} {{foreach $category->children() as $child}} {{$catIds[] = $child->id;}} {{endforeach}} {{$where = [['file_submitted>?', $yesterday], ['file_cat IN(' . implode(',', $catIds) . ')']]; }} {{$count = \IPS\downloads\File::getItemsWithPermission($where, 'file_submitted DESC', NULL, 'read', \IPS\Content\Hideable::FILTER_AUTOMATIC, 0, NULL, FALSE, FALSE, FALSE, TRUE); }} Dodano dzisiaj w {$group['name']}: {$count}<br> {{endforeach}} Lub: {{$yesterday = \IPS\DateTime::create()->sub(new \DateInterval('P1D'))->getTimestamp(); }} {{$categoryGroups = [ ['main_id' => 1, 'name' => 'kategorii 1', 'subcats' => FALSE], ['main_id' => 2, 'name' => 'kategoria 2', 'subcats' => FALSE] ]; }} {{foreach $categoryGroups as $group}} {{$category = \IPS\downloads\Category::load($group['main_id']);}} {{$catIds = [$category->id];}} {{if $group['subcats']}} {{foreach $category->children() as $child}} {{$catIds[] = $child->id;}} {{endforeach}} {{endif}} {{$where = [['file_submitted>?', $yesterday], ['file_cat IN(' . implode(',', $catIds) . ')']]; }} {{$count = \IPS\downloads\File::getItemsWithPermission($where, 'file_submitted DESC', NULL, 'read', \IPS\Content\Hideable::FILTER_AUTOMATIC, 0, NULL, FALSE, FALSE, FALSE, TRUE); }} Dodano dzisiaj w {$group['name']}: {$count}<br> {{endforeach}} Tutaj 'subcats' => FALSE Zmieniasz na TRUE, jeżeli chcesz aby zliczać subkategorie
  6. Dlatego masz: ['ids' => [1, 2, 5], 'name' => 'kategorii 1, 2 i 5'] Tu gdzie [1, 2, 5] To subkategorie. Pewnie da się, przez połączenie dwóch kolumn, ale komu się chce to robić. 😁
  7. Może coś takiego lepsze? Mniej kodu {{$yesterday = \IPS\DateTime::create()->sub(new \DateInterval('P1D'))->getTimestamp();}} {{$categoryGroups = [ ['ids' => [1, 2, 5], 'name' => 'kategorii 1, 2 i 5'], ['ids' => [2], 'name' => 'kategoria 2'] ]; }} {{foreach $categoryGroups as $group}} {{$where = [['file_submitted > ?', $yesterday], ['file_cat IN(' . implode(',', $group['ids']) . ')']];}} {{$count = \IPS\downloads\File::getItemsWithPermission($where, 'file_submitted DESC', NULL, 'read', \IPS\Content\Hideable::FILTER_AUTOMATIC, 0, NULL, FALSE, FALSE, FALSE, TRUE);}} Dodano dzisiaj w {$group['name']}: {$count}<br> {{endforeach}}
  8. {{usort($comments, function($a, $b) { return $b->rating <=> $a->rating; })}} {{foreach $comments as $comment}} A tak?
  9. Czemu nie dodasz sortowania w stylu, tutaj? {{foreach $comments as $comment}}
  10. Fixed Added Yes For the widget only, 28 records are displayed per page.
  11. @alexis The new update version is out, check it out and let us know.
  12. I use a 120 second session, that's enough for me. Today I will upload the patch and add the translation.
  13. IPS Codeline: IPS 4 Ziomek ma IC5

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.