Skocz do zawartości

DawPi

Manager
  • Postów

    78 208
  • Dołączył

  • Ostatnia wizyta

  • Wygrane w rankingu

    579

Treść opublikowana przez DawPi

  1. Jest tak jak myślałem, to było w 4: /** * Send email to admin telling them the user has registered * If no validation, or admin-only validation is enabled: this is called immediately after registration * If email-only or email-and-admin validation is enabled: this is called after the user has validated their email address * i.e. in all cases, it is when the admin needs to approve the account, or, if no admin validation is enabled, when the account is ready to use * * @return void */ protected function _registrationNotifyAdmin() { if( \IPS\Settings::i()->new_reg_notify ) { //.... \IPS\Email::buildFromTemplate( 'core', 'registration_notify', array( $this, $profileFields ), \IPS\Email::TYPE_LIST )->send( \IPS\Settings::i()->email_in ); } } Potem było to przeniesione do powiadomień dla admina podczas jednej z aktualizacji: foreach ( array( 'new_reg_notify' => 'core_NewRegComplete', 'spm_notify' => 'core_Spammer', 'error_notify_level' => 'core_Error' ) as $settingKey => $notificationKey ) { if ( \IPS\Settings::i()->$settingKey ) { $member = \IPS\Member::load( \IPS\Settings::i()->email_in, 'email' ); if ( $member->member_id ) { \IPS\Db::i()->insert( 'core_acp_notifications_preferences', array( 'member' => $member->member_id, 'type' => $notificationKey, 'view' => 1, 'email' => 'always' ) ); } } } I.... mamy to! Finalnie wylądowało tutaj: https://twojeforum/admin/?app=core&module=overview&controller=notifications&do=settings Czyli w ACP w ustawieniach powiadomień: A dokładniej:
  2. To jest trochę chyba źle ujęte, bo to nie powiadamia admina tylko wysyła jakby od admina, a jest używane w przypadku dodawania usera w ACP i tej opcji: Lub przy dodawaniu usera poprzez APi. To może być to. Sprawdzę dokładniej i dam znać.
  3. Zobacz to - https://www.sosinvision.com.br/index.php?/file/298-community-map/
  4. Sugerowana poprawka została przyjęta przez członka grupy tłumaczy. Dziękujemy.
  5. 199$ za rok wszystkich aplikacji jak się używa powiedzmy 3/4 z nich to wcale nie taki zły deal.
  6. Hej, teraz tak patrzyłem na szybko to ja takiej opcji wbudowanej nie kojarzę. Jeszcze popatrzę jutro, ale chyba bez modyfikacji się nie obejdzie.
  7. New version with support for Cyrillic language released. 👍
  8. Like this? Effect:
  9. I do not using that language at all. I may try check it, but copy paste here that post content for tests. I can't rewrite it by myself.
  10. Jaka data? Nie rozumiem.
  11. There is nothing to fix. I can give you a manual for one file edit to change it to match exact phrases. Do you want it?
  12. To już musisz grzebać. Chciałeś miniatury to masz.
  13. No tak jak pisałem. A może tak: <section> <div x-data="glideSlider()"> <div x-ref="glide" class="glide glide--swipeable glide--ltr glide--carousel"> <div data-glide-el="track" class="glide__track rounded-10"> <ul class="glide__slides"> <li class="glide__slide" data-ipsLazyLoad> <div class="aspect-w-16 aspect-h-9"> {{$fullScreenshots = iterator_to_array( $file->screenshots() );}} {{foreach $file->screenshots( 2 ) as $id => $screenshot}} <img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src="{$screenshot->url}" alt=""> {{endforeach}} </div> </li> </ul> </div> <div data-glide-el="controls" class="glide__arrows"> <button data-glide-dir="<" type="button" class="glide__arrow glide__arrow--left btn btn-square btn-surface-2 border border-surface-3 rounded-12 hover:scale-110 active:hover:scale-95 transition-all drop-shadow-md absolute -left-20 _xs:left-10 top-1/2 transform -translate-y-1/2 _xs:hidden"> <svg class="inline-block" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M14.71 6.71c-.39-.39-1.02-.39-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L10.83 12l3.88-3.88c.39-.39.38-1.03 0-1.41z"/></svg></button> <button data-glide-dir=">" type="button" class="glide__arrow glide__arrow--right btn btn-square btn-surface-2 border border-surface-3 rounded-12 hover:scale-110 active:hover:scale-95 transition-all drop-shadow-md absolute -right-20 top-1/2 transform -translate-y-1/2 _xs:hidden"> <svg class="inline-block" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"/></svg></button> </div> <div data-glide-el="controls[nav]" class="glide__bullets flex space-x-8 _xs:space-x-5 absolute bottom-10 left-1/2 transform -translate-x-1/2"> {{$i = 0;}} {{foreach $file->screenshots( 2 ) as $id => $screenshot}} <button type="button" data-glide-dir="={$i}" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$screenshot->url}}"></button> {{$i++;}} {{endforeach}} </div> </div> </div> </section> I masz wtedy tak: Tylko dodaj sobie ten kod: Bo go usuwałem.
  14. Czekaj, jaki jest problem? Że karuzela pokazuje tę samą grafikę, tak?
  15. DawPi

    Dziwny spam

    No i nie zmienia to nic. Po prostu używają wszędzie tych samych danych do logowania i takie tego efekty.
  16. DawPi

    Dziwny spam

    Nie bot tylko user używał w paru miejscach tych samych danych.. Gdzieś to wyciekło i teraz boty korzystają i sprawdzają wszystkie możliwe miejsca i wysyłają co popadnie.
  17. No a jak ma wyświetlić co innego, jak niżej masz ten sam kod wszędzie: <div data-glide-el="controls[nav]" class="glide__bullets flex space-x-8 _xs:space-x-5 absolute bottom-10 left-1/2 transform -translate-x-1/2"> <button type="button" data-glide-dir="=0" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=0" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> <button type="button" data-glide-dir="=1" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=1" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> <button type="button" data-glide-dir="=2" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=2" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> <button type="button" data-glide-dir="=3" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=3" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> <button type="button" data-glide-dir="=4" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=4" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> <button type="button" data-glide-dir="=5" :class="{ '!opacity-100 !w-73 !h-41': isActiveItem() }" {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}' {{else}} style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="_xs:hidden w-64 h-36 rounded-8 overflow-hidden flex-shrink-0 self-end bg-cover bg-center transition-all cursor-pointer opacity-60 hover:opacity-100" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"></button> <button type="button" data-glide-dir="=5" :class="{ '!w-30 !opacity-100': isActiveItem() }" class="hidden _xs:block w-8 h-8 opacity-60 rounded-full bg-white transition-all"></button> </div> </div> </div> W oryginale masz to w pętli foreach: {{foreach $file->screenshots( 1 ) as $id => $screenshot}} <li class='ipsCarousel_item' data-ipsLazyLoad> <span {{if settings.lazy_load_enabled}}data-background-src='{backgroundimage="$screenshot->url"}'{{else}}style='background-image: url({backgroundimage="$screenshot->url"})'{{endif}} class="ipsThumb ipsThumb_medium ipsThumb_bg ipsCursor_pointer" data-ipsLightbox data-ipsLightbox-group="download_{$file->id}" data-fullURL="{$fullScreenshots[ $id ]->url}"> <img {{if settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src="{$screenshot->url}" alt=""> </span> </li> {{endforeach}} Daj swój aktualny kod to może się coś wykmini.
  18. Job taken. 🙂
  19. I can help you. PM me or send me a ticket at the https://support.ipslink.pl
  20. Moja pomoc w tym temacie się wyczerpała. Nie dotyczy ona w ogóle IPSC, a jakichś nagłówków tylko.
  21. It will work for any kind of these phrases. Do you want to parse only EXACT matches, right?
  22. Can't say it would be added and also... can't say it wouldn't. We'll see. Thanks for sharing your idea anyway!
  23. .xml brak bo to... aplikacja, a te są w formacie .tar. Tutaj po pobraniu masz plik .rar który rozpakowujesz i tam znajdziesz .tar.
  24. No to tu zajrzyj - https://invisioncommunity.com/third-party/providers-directory/?advanced_search_submitted=1&content_field_231[1]=1&content_field_232[0]=0&content_field_232[1]=1
  25. 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.
×
×
  • 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ę.