Goto page 1, 2  Next

Twitch Live Stream Block error

468

Sat Apr 22, 2017 8:44 am
Blabbing Noob
85 Posts
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 11:07 am
Original Poster
Blabbing Noob
85 Posts
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 5:21 am
Clan Leader
Top Dog
2630 Posts
coRpSE
In-Game
State of Decay 2

Most Played:
This week: 91.9hrs.
Total Played: 137hrs.
  
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 11:22 pm
Original Poster
Blabbing Noob
85 Posts
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 9:14 am
Clan Leader
Top Dog
2630 Posts
coRpSE
In-Game
State of Decay 2

Most Played:
This week: 91.9hrs.
Total Played: 137hrs.
  
Zip up your files and attach them here and I will take a look. I am moving around more now.


 
Sat May 13, 2017 10:57 am
Original Poster
Blabbing Noob
85 Posts
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 12:17 pm
Clan Leader
Top Dog
2630 Posts
coRpSE
In-Game
State of Decay 2

Most Played:
This week: 91.9hrs.
Total Played: 137hrs.
  
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 5:22 pm
Original Poster
Blabbing Noob
85 Posts
i did that seems to be working now

thanks for your help again

very much appreciated


 
Sun May 14, 2017 8:54 am
Clan Leader
Top Dog
2630 Posts
coRpSE
In-Game
State of Decay 2

Most Played:
This week: 91.9hrs.
Total Played: 137hrs.
  
No problem.


 
Tue May 30, 2017 2:42 am
Original Poster
Blabbing Noob
85 Posts
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 ©