Jump to content
Spanner

(SD) Live Streams

Recommended Posts

I wanted to give it a different feel on the index page. Reverted all my changes back to default, maybe I screwed up somewhere but its still not showing any featured streamers.

sdlivesstreams > core > index 

{{if !empty( $featured )}}
	<div class='ipsBox ipsSpacer_bottom'>
		<h2 class='ipsType_sectionTitle ipsType_reset'>{lang="sd_livestreams_featured_streams"}</h2>
		<section id='elStreamsFeatured'>
			<div class='ipsCarousel ipsClearfix' data-ipsCarousel data-ipsCarousel-fullSizeItems data-ipsCarousel-slideshow data-ipsCarousel-shadows='false'>
			    <div class='ipsCarousel_inner'>
                    <ul class='cStreamsCarousel ipsClearfix' data-role="carouselItems">
                        {{foreach $featured as $stream}}
                            {template="featuredStream" group="core" app="sdlivestreams" params="$stream"}
                        {{endforeach}}
                    </ul>
				</div>
				<span class='ipsCarousel_shadow ipsCarousel_shadowLeft'></span>
				<span class='ipsCarousel_shadow ipsCarousel_shadowRight'></span>
				<a href='#' class='ipsCarousel_nav ipsHide' data-action='prev'><i class='fa fa-chevron-left'></i></a>
				<a href='#' class='ipsCarousel_nav ipsHide' data-action='next'><i class='fa fa-chevron-right'></i></a>
			</div>
		</section>
	</div>
{{endif}}

This bit of code is not showing up. I tested 2/5 that are featured aren't displaying the feature streamers. 

Share this post


Link to post
Share on other sites

stream.thumb.PNG.b2586968bb8d072b4282af7a78ed0dfe.PNG

I was too late editing my previous post. There are 2 streamers with the featured on them. However, it's not showing them on top where the featured section is. 

Share this post


Link to post
Share on other sites
1 godzinę temu, Goza napisał:

I tested 2/5 that are featured aren't displaying the feature streamers. 

Will be. Featured works like this Stream must be "featured" and stream must be online 🙂

Share this post


Link to post
Share on other sites
38 minutes ago, Spanner said:

Will be. Featured works like this Stream must be "featured" and stream must be online 🙂

Oh I see it now. I didn't know they had to be online for it too work.

Share this post


Link to post
Share on other sites

1706850905_onlinestatus.thumb.PNG.1e8d39a7d593a1cd8e167d582aefe031.PNG

I know you've brought the default sort option for online status. Is there a way to get that with the index page? Unless I am overlooking somewhere that I am not seeing.

Categories list is fine just index page. 

Share this post


Link to post
Share on other sites
9 minut temu, Goza napisał:

1706850905_onlinestatus.thumb.PNG.1e8d39a7d593a1cd8e167d582aefe031.PNG

I know you've brought the default sort option for online status. Is there a way to get that with the index page? Unless I am overlooking somewhere that I am not seeing.

Categories list is fine just index page. 

Not yet. Now I sort by add date desc

Share this post


Link to post
Share on other sites
Posted (edited)

1706850905_onlinestatus.thumb.PNG.1e8d39a7d593a1cd8e167d582aefe031.PNG

Couple questions (using the existing image) 

  • How often are the index page updates? I noticed today that the people shown online is still online but they are actually offline. Then after a few page refresh then it finally updates who's online and what not. 
  • Is there a code that I could use for ipsUserPhoto as the game image regardless of online or offline?
    • Like the stream 39daph 

EDIT: For anyone looking to find the image of the game, its {$stream->_game->image|raw}. After playing around little bit more. 

Edited by Goza

Share this post


Link to post
Share on other sites
35 minut temu, Goza napisał:

How often are the index page updates? I noticed today that the people shown online is still online but they are actually offline. Then after a few page refresh then it finally updates who's online and what not. 

This depends on amount your streams. In cron I have set each stream will be synchronized one of 5 min. But you must have traffic on board. If you don't have run tasks using crontab on your server.

Share this post


Link to post
Share on other sites

Hello Spanner,

 

With this application can I create a widget to add a LIVE STREAM box in the SIDEBAR of forum? ( maybe I want to promote one live there..)

I follow you by some time and I am amazed by this application.

Share this post


Link to post
Share on other sites
2 minuty temu, LoveCSBD napisał:

Hello Spanner,

 

With this application can I create a widget to add a LIVE STREAM box in the SIDEBAR of forum? ( maybe I want to promote one live there..)

I follow you by some time and I am amazed by this application.

Hi,
I added custom widget here: https://www.ipsbeyond.pl/streams/

you can check demo app

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (edited)

I reinstalled 1.3.6. Did the process of installing it but getting this error when adding a stream @Spanner

settings.thumb.PNG.c5c9e22e335dcd0fb35fcc0632894711.PNGtwitch.PNG.5063f1e347a3367566c7764f93d9972f.PNGview.thumb.PNG.cce1322d43e912c90c88f86e23d14c3c.PNG

This is what browser console says

Twitch embed error message:[NoParent] parent query string value was not specifiedDocs: https://dev.twitch.tv/docs/embed/video-and-clips/    
embed-error-4b09d13ccf4eda0b70b8.js:1 


Twitch embed error message:[NoParent] parent query string value was not specifiedDocs: https://dev.twitch.tv/docs/embed/video-and-clips/    
root_library.js.cb5a672fe52f7d765776ebaa452e4584.js?v=4ae00c0f39:18 This is a browser feature intended for developers.

index.php:1 A cookie associated with a cross-site resource at http://twitch.tv/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Quick update. I am also seeing on your site as well

site.thumb.PNG.76df6b68de5c9eeaa1fe8cdb4a1032f3.PNG

 

Edited by Goza

Share this post


Link to post
Share on other sites
W dniu 20.06.2020 o 20:37, Goza napisał:

I reinstalled 1.3.6. Did the process of installing it but getting this error when adding a stream @Spanner

settings.thumb.PNG.c5c9e22e335dcd0fb35fcc0632894711.PNGtwitch.PNG.5063f1e347a3367566c7764f93d9972f.PNGview.thumb.PNG.cce1322d43e912c90c88f86e23d14c3c.PNG

This is what browser console says

Twitch embed error message:[NoParent] parent query string value was not specifiedDocs: https://dev.twitch.tv/docs/embed/video-and-clips/    
embed-error-4b09d13ccf4eda0b70b8.js:1 


Twitch embed error message:[NoParent] parent query string value was not specifiedDocs: https://dev.twitch.tv/docs/embed/video-and-clips/    
root_library.js.cb5a672fe52f7d765776ebaa452e4584.js?v=4ae00c0f39:18 This is a browser feature intended for developers.

index.php:1 A cookie associated with a cross-site resource at http://twitch.tv/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Quick update. I am also seeing on your site as well

site.thumb.PNG.76df6b68de5c9eeaa1fe8cdb4a1032f3.PNG

 

Hi, thank you for information. Today I'll release fix. Twitch change something in embed...

Share this post


Link to post
Share on other sites
On 6/22/2020 at 4:23 AM, Spanner said:

@Goza fixed

Working! 🙂

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Dołącz do pierwszego newslettera Invision Community

  • Similar Content

    • By Spanner
      Zobacz plik Spolszczenie (SD) Live Streams
      Spolszczenie aplikacji: (SD) Live Streams
      Dodający Spanner Dodano 18.01.2018 Kategoria Tłumaczenia aplikacji (SD)  
    • By Spanner
      (SD) Live Streams pozwala Ci stworzyć własny system Live Stream, który może rywalizować praktycznie z każdą aplikacją/stroną, która udostępnia treści wideo w trybie na żywo. (SD) Live Streams pozwala każdemu, kto posiada uprawnienia, dodawać własne strumienie.
       
      Aplikacja nie posiada stopki autorskiej
       
       
      Obsługiwane platformy
      YouTube.com
      Twitch.tv
      Mixer.com
      Smashcast.tv
       
      Funkcjonalności
      Tworzenie kategorii wraz z uprawnieniami
      Dowolne zagłębienie kategorii
      Tworzenie pakietów
      Pobieranie opłat za dodawanie strumienie
      Wewnętrzny system dotacji
      Kanały +18 lat (wraz z weryfikacją wieku)
      Komentowanie wpisów
      Wyróżnienie komentarzy
      Wiadomości w strumieniach
      Chat z platform
      Możliwość ustawienia okładki dla strumienia
      Możliwość zakładania tematów podczas dodawania strumieni
       
      Licencja na aplikację
      Licencja udzielana jest na 12 miesięcy z możliwością przedłużenia na okres kolejnych 12 miesięcy poprzez dokonanie odnowienia
       
      Więcej screenów
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

W celu świadczenie usług przez nasz Serwis na najwyższym poziomie, w ramach Serwisu wykorzystujemy pliki Cookies (tzw. ciasteczka). Korzystając ze stron Serwisu IPSBEYOND.PL bez zmiany ustawień przeglądarki będą one zapisane w pamięci urządzenia. Jeżeli nie dokonacie Państwo zmiany ustawień przeglądarki internetowej to wyrażacie zgodę na zapisywanie plików Cookies.