Advertisement:

Author Topic: Twitch tv mod or block  (Read 2415 times)

Offline deciph3red

  • Semi-Newbie
  • *
  • Posts: 94
    • ClanGOAT
Twitch tv mod or block
« on: April 22, 2012, 09:48:03 PM »
Ive posted at twitch.tv and they basically pointed me in the right direction for the API but am hoping there is an easier route.
Does anyone know how to setup a block to show streams of users that are actually online and streaming?  As of right now i just have an html block that his the links in it. . . but looking at sites like teamliquid. . . i see its possible.  Any help would be greatly appreciiated.

Offline Colin

  • Customizer
  • SMF Hero
  • *
  • Posts: 6,580
  • Gender: Male
  • SMF Customizer
    • colinschoen on GitHub
Re: Twitch tv mod or block
« Reply #1 on: April 22, 2012, 10:11:54 PM »
I suppose you could simply put the embed code inside of the block code. Not sure if that helps.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Offline Old Fossil

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,974
  • Gender: Male
  • Fussy Old Sod
    • MKComm on Facebook
    • @mkcommforum on Twitter
Re: Twitch tv mod or block
« Reply #2 on: April 22, 2012, 10:22:27 PM »
Hi deciph3red

Firstly what is twitch.tv?

Do you use a portal? The embed code can be placed in a php code if so.

Offline deciph3red

  • Semi-Newbie
  • *
  • Posts: 94
    • ClanGOAT
Re: Twitch tv mod or block
« Reply #3 on: April 22, 2012, 10:48:42 PM »
twitch.tv is a streaming website like youtube, but streams live.  At this time I  basically just have an HTML block setup with links to each players stream. . but want to have it only show users that are online and streaming.

Also, im using portmx

Offline Old Fossil

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,974
  • Gender: Male
  • Fussy Old Sod
    • MKComm on Facebook
    • @mkcommforum on Twitter
Re: Twitch tv mod or block
« Reply #4 on: April 22, 2012, 10:49:47 PM »
Quote
Do you use a portal?

Offline Colin

  • Customizer
  • SMF Hero
  • *
  • Posts: 6,580
  • Gender: Male
  • SMF Customizer
    • colinschoen on GitHub
Re: Twitch tv mod or block
« Reply #5 on: April 22, 2012, 10:51:04 PM »
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Offline Old Fossil

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,974
  • Gender: Male
  • Fussy Old Sod
    • MKComm on Facebook
    • @mkcommforum on Twitter
Re: Twitch tv mod or block
« Reply #6 on: April 22, 2012, 10:52:26 PM »
Oops

Hey I have an excuse it's almost 4am here.

 :P

Offline Old Fossil

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,974
  • Gender: Male
  • Fussy Old Sod
    • MKComm on Facebook
    • @mkcommforum on Twitter
Re: Twitch tv mod or block
« Reply #7 on: April 22, 2012, 10:53:28 PM »
Have you made a post on the mods support topic or at their own forum?

Offline deciph3red

  • Semi-Newbie
  • *
  • Posts: 94
    • ClanGOAT
Re: Twitch tv mod or block
« Reply #8 on: April 22, 2012, 11:13:58 PM »
yes i posted at twitch, and they gave me a link to the API, and no i have not posted in the mod section.

I was hoping someone here at SMF has already done this and I could just use their work.

Offline Old Fossil

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,974
  • Gender: Male
  • Fussy Old Sod
    • MKComm on Facebook
    • @mkcommforum on Twitter
Re: Twitch tv mod or block
« Reply #9 on: April 22, 2012, 11:15:21 PM »

I was hoping someone here at SMF has already done this and I could just use their work.

This is why I asked if you had made a post in the mods support board!

 :)

Offline deciph3red

  • Semi-Newbie
  • *
  • Posts: 94
    • ClanGOAT
Re: Twitch tv mod or block
« Reply #10 on: April 23, 2012, 01:17:21 AM »

I was hoping someone here at SMF has already done this and I could just use their work.

This is why I asked if you had made a post in the mods support board!

 :)

No sir I did not.