Get in the Hog if you want to live!

 
User avatar
Fundastraz
Ground Pounder
Ground Pounder
Posts: 262
Joined: Thu Dec 17, 2015 3:31 am
Gamertag: The Fundastrazs
Location: Boise, Idaho

Twitch Links in Profile Overviews

Fri Aug 05, 2016 5:27 pm

What if we had the option to put our Twitch channel links in our Profile Overviews? That way, if someone says they're streaming, someone can just click on their name and *bam*, the link is right there for their Twitch channel, possible right under "Location".
 
User avatar
Swift Strider
Ground Pounder
Ground Pounder
Posts: 1670
Joined: Wed Mar 11, 2009 12:15 pm
Gamertag: HWM Swift
Tumblr: throwinsixes
Location: Letworth Garden City, Hertfordshire, England
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 5:36 pm

I like this. Thumbs up this post!
 
User avatar
Tims
Master Ground Pounder
Master Ground Pounder
Posts: 1410
Joined: Wed Mar 11, 2009 3:12 pm
Gamertag: HWM Tims
Location: Orlando, FL
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 5:46 pm

That's really clever actually, I like it. Idk how much work it would be but it'd be nice to have if it's not too much trouble.
2/2 of the BR Leech Octagon Hall of Fame
 
User avatar
Monster
Ground Pounder
Ground Pounder
Posts: 691
Joined: Sat Apr 16, 2011 10:30 pm
Title: Admin
Gamertag: HWM Monster
Location: Minneapolis
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 5:48 pm

Even relevant for those who don't stream as some of us have some weird twitch usernames
 
User avatar
Jon
Ground Pounder
Ground Pounder
Posts: 918
Joined: Fri Sep 12, 2008 10:10 pm
Title: Developer
Gamertag: HWM Jon
Location: Florida

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 5:59 pm

I eventually want to integrate the twitch api into the site so it will show everyone who is streaming currently etc. Just a lot of work and haven't gotten around to it yet.
 
User avatar
Tims
Master Ground Pounder
Master Ground Pounder
Posts: 1410
Joined: Wed Mar 11, 2009 3:12 pm
Gamertag: HWM Tims
Location: Orlando, FL
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 6:36 pm

Jon LH Hart wrote:
I eventually want to integrate the twitch api into the site so it will show everyone who is streaming currently etc. Just a lot of work and haven't gotten around to it yet.

Understandable, really cool though.
2/2 of the BR Leech Octagon Hall of Fame
 
User avatar
Gewandt 032
Role Unknown
Role Unknown
Posts: 13
Joined: Sun Jan 31, 2016 7:05 pm
Gamertag: Gewandt 032

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 6:41 pm

I don't know what the qualifications are, but might also be cool to get a Twitch team set up, that way we could interconnect every Wheelman stream in one place on Twitch, make it easier to keep track of. No idea if that requires anything special to set up though.
 
User avatar
Fundastraz
Ground Pounder
Ground Pounder
Posts: 262
Joined: Thu Dec 17, 2015 3:31 am
Gamertag: The Fundastrazs
Location: Boise, Idaho

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 6:44 pm

Gewandt 032 wrote:
I don't know what the qualifications are, but might also be cool to get a Twitch team set up, that way we could interconnect every Wheelman stream in one place on Twitch, make it easier to keep track of. No idea if that requires anything special to set up though.

Some of our guys have already discussed this. You have to have a regular, committed, set schedule that people can commit to, and a whole bunch of other factors.
 
User avatar
CINCO
Role Unknown
Role Unknown
Posts: 785
Joined: Tue Feb 09, 2016 6:15 pm
Gamertag: HWM Cinco
Location: Massachusetts

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 6:44 pm

it would be cool if we had a plugin that would just show when anyone's streaming. could make a custom script to check a list of twitch names listed in a file that admins could edit.
[redacted]
 
User avatar
Gewandt 032
Role Unknown
Role Unknown
Posts: 13
Joined: Sun Jan 31, 2016 7:05 pm
Gamertag: Gewandt 032

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 6:46 pm

Fundastraz wrote:
Gewandt 032 wrote:
I don't know what the qualifications are, but might also be cool to get a Twitch team set up, that way we could interconnect every Wheelman stream in one place on Twitch, make it easier to keep track of. No idea if that requires anything special to set up though.

Some of our guys have already discussed this. You have to have a regular, committed, set schedule that people can commit to, and a whole bunch of other factors.


Ah, I can see how that would be a problem to get going in earnest. Shame, that could be a great way to manage them as a group if it wasn't so convoluted.
 
User avatar
CINCO
Role Unknown
Role Unknown
Posts: 785
Joined: Tue Feb 09, 2016 6:15 pm
Gamertag: HWM Cinco
Location: Massachusetts

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 7:04 pm

Sorry for the technical nature of this but... you can decode the url as JSON and if stream is null the user isn't online....
can have a list function that shows who in a list is online by checking to see if stream is not null. Null is offline

cinco not online
url: https://api.twitch.tv/kraken/streams/clnco

returns:
{"stream":null,"_links":{"self":"https://api.twitch.tv/kraken/streams/clnco","channel":"https://api.twitch.tv/kraken/channels/clnco"}}


swift when online streaming right now
url: https://api.twitch.tv/kraken/streams/swift_strider

returns:
{"stream":{"_id":22680827712,"game":"Dark Souls III","viewers":0,"created_at":"2016-08-05T23:01:10Z","video_height":720,"average_fps":30.0075018755,"delay":0,"is_playlist":false,"_links":{"self":"https://api.twitch.tv/kraken/streams/swift_strider"},"preview":{"small":"https://static-cdn.jtvnw.net/previews-ttv/live_user_swift_strider-80x45.jpg","medium":"https://static-cdn.jtvnw.net/previews-ttv/live_user_swift_strider-320x180.jpg","large":"https://static-cdn.jtvnw.net/previews-ttv/live_user_swift_strider-640x360.jpg","template":"https://static-cdn.jtvnw.net/previews-ttv/live_user_swift_strider-{width}x{height}.jpg"},"channel":{"mature":true,"status":"Dark Dark Dark fun with some souls!","broadcaster_language":"en","display_name":"Swift_Strider","game":"Dark Souls III","language":"en","_id":38327909,"name":"swift_strider","created_at":"2012-12-09T02:12:31Z","updated_at":"2016-08-06T00:00:25Z","delay":null,"logo":"https://static-cdn.jtvnw.net/jtv_user_pictures/swift_strider-profile_image-2a985ced8f339772-300x300.jpeg","banner":null,"video_banner":null,"background":null,"profile_banner":null,"profile_banner_background_color":null,"partner":false,"url":"https://www.twitch.tv/swift_strider","views":400,"followers":31,"_links":{"self":"http://api.twitch.tv/kraken/channels/swift_strider","follows":"http://api.twitch.tv/kraken/channels/swift_strider/follows","commercial":"http://api.twitch.tv/kraken/channels/swift_strider/commercial","stream_key":"http://api.twitch.tv/kraken/channels/swift_strider/stream_key","chat":"http://api.twitch.tv/kraken/chat/swift_strider","features":"http://api.twitch.tv/kraken/channels/swift_strider/features","subscriptions":"http://api.twitch.tv/kraken/channels/swift_strider/subscriptions","editors":"http://api.twitch.tv/kraken/channels/swift_strider/editors","teams":"http://api.twitch.tv/kraken/channels/swift_strider/teams","videos":"http://api.twitch.tv/kraken/channels/swift_strider/videos"}}},"_links":{"self":"https://api.twitch.tv/kraken/streams/swift_strider","channel":"https://api.twitch.tv/kraken/channels/swift_strider"}}
[redacted]
 
User avatar
Mauro Fire
Ground Pounder
Ground Pounder
Posts: 250
Joined: Thu Dec 29, 2011 4:36 pm
Gamertag: HWM Mauro Fire
Location: TX, US
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 7:31 pm

CINCO wrote:
it would be cool if we had a plugin that would just show when anyone's streaming. could make a custom script to check a list of twitch names listed in a file that admins could edit.


I might be of help here... I have build this already else where and might be able to that here too
Image
 
User avatar
Jon
Ground Pounder
Ground Pounder
Posts: 918
Joined: Fri Sep 12, 2008 10:10 pm
Title: Developer
Gamertag: HWM Jon
Location: Florida

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 8:39 pm

Yeah, Mauro or anyone else, if you have the time and want to get the api setup where it can be integrated with the php forums that would be amazing and greatly appreciated. All I ask is that you comment the code well so I can see what you did for my own learning purposes. haha

My original vision was to have a "Streams" page linked in the top navigation menu that would display who is live on twitch. The official stream would be hard coded in, but the rest I wanted to sort by user group and get twitch names from a forum profile field.

This could then lead into a modification of the chat addon to display when someone goes live with a link similar to when someone posts in the forums. This would be later though after a fully working Streams page was accomplished.
 
User avatar
brickfungus
Role Unknown
Role Unknown
Posts: 4262
Joined: Tue Mar 25, 2008 9:43 am
Title: Owner
Gamertag: HWM BrickFungus
Location: Denver, CO
Contact:

Re: Twitch Links in Profile Overviews

Fri Aug 05, 2016 8:44 pm

PM me if you want FTP access, we'd love the help
Image
THIS SHOULDN'T BE HERE

I'M A LEGEND IN MY SPARE TIME
 
User avatar
Jon
Ground Pounder
Ground Pounder
Posts: 918
Joined: Fri Sep 12, 2008 10:10 pm
Title: Developer
Gamertag: HWM Jon
Location: Florida

Re: Twitch Links in Profile Overviews

Tue Aug 09, 2016 12:57 am

Installed a simple Streams page using a Twitch API script that Mauro Fire kindly made for us. It still needs work, but it is functional.

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: Off