Skocz do zawartości

DawPi

Manager
  • Postów

    78 208
  • Dołączył

  • Ostatnia wizyta

  • Wygrane w rankingu

    579

Treść opublikowana przez DawPi

  1. I need your ACP to investigate it.
  2. Can't confirm: Effect: Give me steps to reproduce please.
  3. Checking it.
  4. A co pokaże takie coś: {{$cnt = \IPS\Session\Store::i()->getOnlineUsers( \IPS\Session\Store::ONLINE_MEMBERS | \IPS\Session\Store::ONLINE_GUESTS | \IPS\Session\Store::ONLINE_COUNT_ONLY, 'desc', NULL, NULL, TRUE );}} <a href="#" data-ipsTooltip title="{$count} online"><i class="fa-solid fa-signal"></i> {$cnt}</a> For devs - bitwise: /** * Fetch all online users (but not spiders) * * @param int $flags Bitwise flags * @param string $sort Sort direction * @param array|NULL $limit Limit [ offset, limit ] * @param int $memberGroup Limit by a specific member group ID * @param boolean $showAnonymous Show anonymously logged in peoples? * @return array */ abstract public function getOnlineUsers( $flags=0, $sort='desc', $limit=NULL, $memberGroup=NULL, $showAnonymous=FALSE );
  5. A tak? <div class="image-section" style="position: relative;"> {{if $file->submitted != $file->updated && $file->updated > \IPS\DateTime::create()->sub( new \DateInterval( 'PT24H' ) )->getTimestamp()}} <img src="img/up.png" alt="Up" style="position: absolute; top: -47px; right: -12px; width: 157px; height: auto; z-index: 10;"> {{endif}} {{if $file->submitted > \IPS\DateTime::create()->sub( new \DateInterval( 'PT24H' ) )->getTimestamp()}} <img src="img/new.png" alt="New" style="position: absolute; top: 6px; right: 2px; width: 100px; height: auto; z-index: 10;"> {{endif}} </div>
  6. Problem ROZWIĄZANY. Jeśli są jakiekolwiek wątpliwości, pytania proszę o założenie nowego tematu. Wszelkie uzasadnione reklamacje/pretensje/sugestie/rady przyjmuje ekipa forum.
  7. Było kiedyś takie coś:
  8. Woah, show me the screen please and give me example url with this problem.
  9. Jak się to pokazywało?
  10. Thanks! I'll check it ASAP!
  11. Jak nie działają? Pokazałem na screenie, że działają. W dodatku właśnie to robi ta metoda (get): /** * Get Language String * * @param string|array $key Language key or array of keys * @return string|array Language string or array of key => string pairs */ public function get( $key ) { $return = array(); $keysToLoad = array(); if ( \is_array( $key ) ) { foreach( $key as $k ) { if ( \in_array( $k, array_keys( $this->words ), true ) ) { $return[ $k ] = $this->words[ $k ]; } else { $keysToLoad[] = "'" . \IPS\Db::i()->real_escape_string( $k ) . "'"; } } if ( !\count( $keysToLoad ) ) { return $return; } } else { if ( isset( $this->words[ $key ] ) ) { return $this->words[ $key ]; } $keysToLoad = array( "'" . \IPS\Db::i()->real_escape_string( $key ) . "'" ); } foreach( \IPS\Db::i()->select( 'word_key, word_default, word_custom', 'core_sys_lang_words', array( "lang_id=? AND word_key IN(" . implode( ",", $keysToLoad ) . ")", $this->id ) ) as $lang ) { $value = $lang['word_custom'] ?: $lang['word_default']; $this->words[ $lang['word_key'] ] = $value; $return[ $lang['word_key' ] ] = $value; } /* If we're using an array, fill any missings strings with NULL to prevent duplicate queries */ if ( \is_array( $key ) ) { foreach( $key as $k ) { if ( !\in_array( $k, $return ) and ! array_key_exists( $k, $this->words ) ) { $return[ $k ] = NULL; $this->words[ $k ] = NULL; } } } if ( !\count( $return ) ) { throw new \UnderflowException( ( \is_string( $key ) ? 'lang_not_exists__' . $key : 'lang_not_exists__' . implode( ',', $key ) ) ); } return \is_string( $key ) ? $this->words[ $key ] : $return; }
  12. To w końcu chcesz uzyskać odpowiedź czy nie wiedzieć czemu po paru godzinach chcesz zamykać ten temat?
  13. Jak chcesz pierwszą to dlaczego dajesz kod na powiększenie pierwszego znaku? {{$xx = mb_ucfirst($llang);}} {{foreach \IPS\nexus\Package\Group::rootsWithViewablePackages() as $group}} {{$llang = \IPS\Member::loggedIn()->language()->get( 'nexus_pgroup_' . $group->id );}} {{$xx = mb_substr($llang, 0, 1);}} {$xx} {{endforeach}}
  14. {{foreach \IPS\nexus\Package\Group::rootsWithViewablePackages() as $group}} {{$llang = \IPS\Member::loggedIn()->language()->get( 'nexus_pgroup_' . $group->id );}} {{$xx = mb_ucfirst($llang);}} {$xx} {{endforeach}}
  15. Ajjj, kategorii produktu, a nie grupy! Sorry. Tak zrób wg Twojego kodu: {{foreach \IPS\nexus\Package\Group::rootsWithViewablePackages() as $group}} {{$llang = \IPS\Member::loggedIn()->language()->get( 'nexus_pgroup_' . $group->id );}} {{$xx = mb_ucfirst($group->_title);}} {$xx} {{endforeach}} O ile to $group to jest to o co Ci chodzi.
  16. {{$groupName = \IPS\Member::loggedIn()->language()->get( 'core_group_' . $group->id );}}
  17. DawPi

    (DP5) PM Viewer

    Hello, can't reproduce. Could you give me steps to reproduce?
  18. <img src="<fileStore.core_Reaction>/%s" width='20' height='20' data-ipsTooltip title="%s" alt=''> %s zareagował(a) na %s: %s No to widzisz! A teraz to już dziwne, bo powinno "hulać". Dasz link z problematycznym znakiem? Bo nie widzę na szybko u Ciebie. Widzę tak:
  19. A jak miałeś? A jakie locale masz ustawione?
  20. Tak masz? No to dziwne:
  21. Będzie. Tzn. może być. Jak nie teraz to za jakiś czas. Lepiej nie ryzykować płacenia dwa razy i kupić nową, swoją.
  22. Hi, show me this app settings from the ACP and give me URL to that "problematic" profile.
  23. Pokaż jak wygląda u Ciebie ten klucz obecnie - activity_member_reacted
  24. Could you try now?
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.