Skocz do zawartości

DawPi

Manager
  • Postów

    78 219
  • Dołączył

  • Ostatnia wizyta

  • Wygrane w rankingu

    583

Treść opublikowana przez DawPi

  1. Well... I've tested it. Settings: Forum viewable only by admins and mods: Result as a "normal" guest (may be bot or not): Result as a recognized board (I'm using plugin to Firefox to change the user agent): Updated version has been released!
  2. Hello my friend, let me check it again. I'll back to you shortly.
  3. It should.
  4. Sure, let me know.
  5. It is. I have limited time for those v5 apps. I'm doing them on request and requests frequency. Thanks for your suggestions. I'm sure that first v5 release will have the same options as v4. No changes.
  6. I need your ACP to investigate it.
  7. Can't confirm: Effect: Give me steps to reproduce please.
  8. Checking it.
  9. 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 );
  10. 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>
  11. 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.
  12. Było kiedyś takie coś:
  13. Woah, show me the screen please and give me example url with this problem.
  14. Jak się to pokazywało?
  15. Thanks! I'll check it ASAP!
  16. 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; }
  17. To w końcu chcesz uzyskać odpowiedź czy nie wiedzieć czemu po paru godzinach chcesz zamykać ten temat?
  18. 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}}
  19. {{foreach \IPS\nexus\Package\Group::rootsWithViewablePackages() as $group}} {{$llang = \IPS\Member::loggedIn()->language()->get( 'nexus_pgroup_' . $group->id );}} {{$xx = mb_ucfirst($llang);}} {$xx} {{endforeach}}
  20. 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.
  21. {{$groupName = \IPS\Member::loggedIn()->language()->get( 'core_group_' . $group->id );}}
  22. DawPi

    (DP5) PM Viewer

    Hello, can't reproduce. Could you give me steps to reproduce?
  23. <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:
  24. A jak miałeś? A jakie locale masz ustawione?
×
×
  • 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ę.