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
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
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
Well, for the second block, you need to do something slightly different, so you would need to do is
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.
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.
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.
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
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
Zip up your files and attach them here and I will take a look. I am moving around more now.
thank you
I've also added the blocks as well just incase
but i still need to get the other streamers twitch id
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
Okay, open public_html/blocks/block-Twitch_Stream2.php
Find on line 18
and change to
Save and try that.
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.
i did that seems to be working now
thanks for your help again
very much appreciated
thanks for your help again
very much appreciated
No problem.
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
thanks in advance
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