Twitch Live Stream Block error
Select messages from # through # Forum FAQ
[/[Print]\]
Goto page Previous  1, 2  :| |:
HeadShot Extreme -> Nuke Blocks / Modules Support

#11: No icon Re: Twitch Live Stream Block error Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue May 30, 2017 9:03 am
    —
First off, the "twitchClientID3" can be the same for all three, you don't need a new one for each block. Second, having 3 is really pushing it, because of the api calls, it can really lag down your site. But I will do the changes now, well, after my stream.

#12: No icon Re: Twitch Live Stream Block error Author: PatPgtips PostPosted: Tue May 30, 2017 9:33 am
    —
thanks corpse

#13: No icon Re: Twitch Live Stream Block error Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue May 30, 2017 11:51 am
    —
Try this.

also make sure you have this in your
includes/javascript.php

PHP:  [ Select all ]

echo '<script src="includes/twitch_status3.js" type="text/javascript"></script>' "
"

 
You can put a defer into it if you want. Well, you can do it for all of them.
It would look something like this.

PHP:  [ Select all ]

echo '<script src="includes/twitch_status.js" type="text/javascript" defer></script>' "
"
;
echo 
'<script src="includes/twitch_status2.js" type="text/javascript" defer></script>' "
"
;
echo 
'<script src="includes/twitch_status3.js" type="text/javascript" defer></script>' "
"

 
But that's up to you. What that will do is have the twitch javascript files load once the page has been fully loaded.
Learn more here:
Please login to see this link
Get registered or Log in


Let me know if it works. I really didn't do anything. I just changed some names, but I don't think that was the issue, I think it might of been because your missing that one line there.

#14: No icon Re: Twitch Live Stream Block error Author: PatPgtips PostPosted: Tue May 30, 2017 3:11 pm
    —
hi corpse

i just added this 1 line in the includes/javascript.php
echo '<script></script>' . "
";

sorry i didnt realise it had to be there

it works now

i checked the files you gave me but they didnt work for me

here is the files that did work
Please login to see this link
Get registered or Log in


thanks again corpse

i totaly forgot about the javascript.php edit

its working fine now  big grin

#15: No icon Re: Twitch Live Stream Block error Author: PatPgtips PostPosted: Tue May 30, 2017 3:13 pm
    —
sorry this line i added

echo '<script></script>' . "
";

#16: No icon Re: Twitch Live Stream Block error Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue May 30, 2017 3:53 pm
    —
lol, you have to check the box for disable HTML in this post. ;)

But I get what your talking about. glad its working now for you.



HeadShot Extreme -> Nuke Blocks / Modules Support


output generated using printer-friendly topic mod. All times are GMT - 7 Hours

Goto page Previous  1, 2  :| |:
Page 2 of 2