Goto page 1, 2  Next

● Twitch Live Stream Block error

Sat Apr 22, 2017 7:44 am
Blabbing Noob
98 Posts
Reputation: 460.1
hi my twitch stream blocks have an error now they are not showing properly on my site

image
Expand

any ideas on how to fix it not sure what is going on

also i tried to download the block again and the file is corrupted
Sat Apr 22, 2017 10:07 am
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
just an update

i managed to extract some files and added var twitchClientID =

i managed to get my first twitch block working but i cant get my second stream block to work

im very confused lol

not sure how i would get block 2 to work as well


 
Sun Apr 23, 2017 4:21 am
Clan Leader
Top Dog
Nuke Dev / Coder
3040 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 16.3hrs.
Total Played: 565hrs.


  
Must be married.
Reputation: 7377
votes: 7
In the second on block, did you put the variable to be slightly different than the main block. What I mean is, in the first block, you added the variable

PHP:  [ Select all ]

var twitchClientID 'YOUR-TWITCH-CLIENT-ID'

 
Well, for the second block, you need to do something slightly different, so you would need to do is

PHP:  [ Select all ]

var twitchClientID2 'YOUR-TWITCH-CLIENT-ID'

 
Then in the next place where you have twitchClientID, you just need to add a 2 like I did in that example, so in this thread, you will see the 2 locations where you would need to add a 2.
Please login to see this link
Get registered or Log in


If you still have issues, pack up your public_html/includes/twitch_status.js file, well, the one for the second block, so that may be twitch_status2.js. I will see if I can hop on for a little bit, I am moving around a bit more since my surgery.


Expand
Thu May 11, 2017 10:22 pm
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
i cant get it to work

thanks for the help anyways

I'll wait until your feeling better there is no hurry with it

I've found another problem I need to fix first lol


 
Fri May 12, 2017 8:14 am
Clan Leader
Top Dog
Nuke Dev / Coder
3040 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 16.3hrs.
Total Played: 565hrs.


  
Must be married.
Reputation: 7377
votes: 7
Zip up your files and attach them here and I will take a look. I am moving around more now.


 
Sat May 13, 2017 9:57 am
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
thank you
Please login to see this link
Get registered or Log in


I've also added the blocks as well just incase

but i still need to get the other streamers twitch id


 
Sat May 13, 2017 11:17 am
Clan Leader
Top Dog
Nuke Dev / Coder
3040 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 16.3hrs.
Total Played: 565hrs.


  
Must be married.
Reputation: 7377
votes: 7
Okay, open public_html/blocks/block-Twitch_Stream2.php

Find on line 18

PHP:  [ Select all ]

$content .='<div id="streamWidget"></div>'


and change to

PHP:  [ Select all ]

$content .='<div id="twitchWidget"></div>'


Save and try that.


 
Sat May 13, 2017 4:22 pm
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
i did that seems to be working now

thanks for your help again

very much appreciated


 
Sun May 14, 2017 7:54 am
Clan Leader
Top Dog
Nuke Dev / Coder
3040 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 16.3hrs.
Total Played: 565hrs.


  
Must be married.
Reputation: 7377
votes: 7
No problem.


 
Tue May 30, 2017 1:42 am
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
hi corpse

is it possible to help me with another twitch block

another clan member has started streaming and i want to add him to the website as well

i still need him to get his twitch api id

but i tested with my client id and info it didnt work with the changes i made
Please login to see this link
Get registered or Log in


thanks in advance


 
Goto page 1, 2  Next
Forums ©