Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 BF3 Stats
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

0 %

Donate

End DateFeb 01
Target$50.00
Below Target$50.00
CurrencyUSD

Donators This Month
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 733
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [1382] bots stopped!

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - Twitch Status Block *UPDATE*


Search for at
HeadShot Extreme Advanced Search

Twitch Status Block *UPDATE*
Post new topic   Reply to topic   printer-friendly view   Thank Post    HeadShot Extreme Forum Index -> Nuke Blocks / Modules Support
View previous topic :: View next topic  
Author Message
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
5 hrs, 14 mins ago

Most Played:
This week: 54.4hrs.
Total played: 593hrs.


  
Must be a looser...



  • » Show Info «


Status: coRpSE is offline
PostPosted: Mon Oct 17, 2016 9:06 pm Post subject: No icon Twitch Status Block *UPDATE* Reply with quote

Well, today, during my stream, I was informed by a clan mate of mine that the twitch status block was not working on our site. So, after the stream, I took a look into it to see if I could find out what was causing the issue and fix it. Well, it came down to Twitch API now requires a client ID. So a few changes are needed. For now, I will tell you the code edits that needs to be done, and I will be updating the block download on this site within the next few days.

  1. First off, you will need to do these 2 code edits.

    OPEN: public_html/includes/twitch_status.js

    FIND: (should be the first line pretty much)
    PHP:
    var twitchUserName 


    There is more to the line, but you have a different twitch name as me so just find that line that starts with that.

    AFTER THAT LINE, ADD


    PHP:
    var twitchClientID 'YOUR-TWITCH-CLIENT-ID' // get client ID here: https://www.twitch.tv/kraken/oauth2/clients/new   





    Next FIND:
    PHP:
    ?callback=?



    REPLACE WITH:

    PHP:
    ?client_id="+twitchClientID 



  2. Well, if you want the client ID for this application, you have to download the block or get your own. I have included my client_id for this script since they got back to me saying its "semi-public", which makes very little sense.



  3. With your Client ID you have now, or mine from this script, replace the YOUR-TWITCH-CLIENT-ID from the first PHP edit I had you do. DO NOT REMOVE ANY OF THE QUOTES ( ' ).


  4. Save the file and upload it to your site and you are all set.


I hope this was helpful and if you have any questions, feel free to ask.


Expand


Last edited by coRpSE on Mon Oct 24, 2016 10:29 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
GuilhermeTozzi

NOOB!!!
NOOB!!!





This user has donated to the clan.



  • » Show Info «


Status: GuilhermeTozzi is offline
PostPosted: Tue Oct 18, 2016 9:58 am Post subject: No icon Re: Twitch Status Block *UPDATE* Reply with quote

Oh, i was going to ask you about that soon  grübel  nice!
Back to top
View user's profile Send private message
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
5 hrs, 14 mins ago

Most Played:
This week: 54.4hrs.
Total played: 593hrs.


  
Must be a looser...



  • » Show Info «


Status: coRpSE is offline
PostPosted: Tue Oct 18, 2016 10:45 am Post subject: No icon Re: Twitch Status Block *UPDATE* Reply with quote

GuilhermeTozzi wrote (View Post):
Oh, i was going to ask you about that soon  grübel  nice!


SSSSSSSSuuuuuuuuuuuurrrrrrrrrrreeeeeeeeeeeee you were. zunge zeigen lol.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
GuilhermeTozzi

NOOB!!!
NOOB!!!





This user has donated to the clan.



  • » Show Info «


Status: GuilhermeTozzi is offline
PostPosted: Thu Oct 20, 2016 11:14 am Post subject: No icon Re: Twitch Status Block *UPDATE* Reply with quote

coRpSE wrote (View Post):
SSSSSSSSuuuuuuuuuuuurrrrrrrrrrreeeeeeeeeeeee you were. zunge zeigen lol.


loooool  wink


 
Back to top
View user's profile Send private message
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
5 hrs, 14 mins ago

Most Played:
This week: 54.4hrs.
Total played: 593hrs.


  
Must be a looser...



  • » Show Info «


Status: coRpSE is offline
PostPosted: Fri Oct 21, 2016 1:03 pm Post subject: No icon Re: Twitch Status Block *UPDATE* Reply with quote

Block in the downloads has now been updated.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
5 hrs, 14 mins ago

Most Played:
This week: 54.4hrs.
Total played: 593hrs.


  
Must be a looser...



  • » Show Info «


Status: coRpSE is offline
PostPosted: Mon Oct 24, 2016 10:28 am Post subject: No icon Re: Twitch Status Block *UPDATE* Reply with quote

I updated it again to now include my Client ID. They finally got back to me saying it is "Semi public", which makes little sense to me. But instead of being a application id, they called it a client id, and said it should be included with the script, but just don't go publicly posting the id on forums. I guess they didn't really think things through when they forced this upon us.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post HeadShot Extreme Forum Index ->  Nuke Blocks / Modules Support All times are UTC - 7 Hours [DST enabled]
Page 1 of 1
 


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts WarFace closed beta coming back online 0 coRpSE 1064 Mon Aug 19, 2013 10:58 am
coRpSE View latest post
No new posts Im back 3 ironman607 1555 Sat Apr 06, 2013 5:38 am
Spartacus1968 View latest post
No new posts Guess who's back??? :) 6 Itachi 2256 Thu Oct 18, 2012 10:49 am
Itachi View latest post
No new posts Back, Again o-o 7 NiX 2780 Sun Apr 01, 2012 5:23 pm
NiX View latest post
No new posts good to be back! 3 Ruphus 1728 Thu Feb 16, 2012 1:49 pm
coRpSE View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme