Updated Twitch Streamers Block
Select messages from # through # Forum FAQ
[/[Print]\]

HeadShot Extreme -> In-The-Works

#1: No icon Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue Oct 03, 2017 6:59 pm
    —
As some of you may have noticed, on my home page, I removed my old block and replaced it with a new block. This is a complete rewrite of the old block. Nothing but the "ONLINE/OFFLINE" with the red/pulsating green background are the same. A list of the changes and updates are below.



**UPDATES FROM 10/4**


**UPDATES FROM 10/6**


**UPDATES FROM 10/8**


**UPDATES FROM 10/12**


I do have other things to come. I am currently working on it to show the icon no matter what, and when you mouseover the icon, it will display the users offline page. I am also working on it to hold the counts all the time. This will be done over the next couple of days. If you guys have any suggestions, feel free to let me know.

Here is a image of it in its current state.
Expand
Last edited by coRpSE on Thu Oct 12, 2017 1:16 am; edited 3 times in total

#2: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue Oct 03, 2017 11:38 pm
    —
okay, here is an update to that block. A few new features have been added since I was bored and had that itch to do something.



Alot more in the backend has been done. Granted, maybe a lot does not seem like it got done, but there was.

Expand

#3: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Wed Oct 04, 2017 1:51 am
    —
looks good corpse

keep up the good work

#4: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Oct 04, 2017 4:57 pm
    —
Thanks. I just finished some more work on the backend, changing over the temp "if" statements to ternary operator, also put on a default avatar/logo and a default offline background image if the streamer doesn't have any. Over the next few days, I am going to go in and finish cleaning up the code and make it more condensed. Then I have to go through the CSS to make it easier for people to modify, then if others want it, I will release it. If I do release it, I will be putting up a poll/polls for final styling things that people would like to have with it, and then I will release it.

#5: No icon Re: Updated Twitch Streamers Block Author: Porthos PostPosted: Thu Oct 05, 2017 12:41 pm
    —
Looks awesome

#6: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Oct 05, 2017 10:12 pm
    —
Thanks.

UPDATE:
Now, if you are offline, it will tell you when you were last live. This works off by taking the past broadcast video created time, adding the length of the videos, and then dividing that into weeks, days, hours, and mins. If you don't have twitch archiving past broadcasts, then it will display a message, (Not Live! Not Retrievable.). So, if that message appears, then that streamer will need to turn on the past broadcast archiving. This is the only way it could be done since twitches API does not have when the stream was last live. This was a bitch to get working right, but I got it.

I will be updating the first post with the latest list of features.

#7: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sat Oct 07, 2017 12:52 pm
    —
Okay, here is where I am at. If you're interested in this block and like to have it on your site, please PM me and I will get you the files and will help you with install. Install is very easy, but I like to be available on TS3 or Discord if there is an issue that comes up from your theme. Right now, this system is really only designed for full width themes or wide themes. If your theme is one of Peds where its only like 100px wide, this will stretch it. The reason I did not code it because most fixed width themes should be over 1280px wide for resolutions and screen sizes have got larger over the years. This is best used on a site where the center blocks should be at least 1000px wide. I will be seeing if I can get that down to a minimum of 800px wide and look decent.

#8: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Oct 08, 2017 1:33 pm
    —
Okay, after some work. I got it with a min width of 850px required for this block.

(That's a min of 850px wide for the center blocks ONLY. That's not including the side blocks.)


If, and only if there is enough pushing from people that want one that will go smaller than 850px wide, then I will make a seperate one for those stubby sites, bu honestly, for those of you that have sites 1250px or less in width, you really need to update your theme and make it wider. I know Ped from Clanthemes was famous for making themes 800px - 1000px wide, (Mostly 800px), and back in 2005 - 2010, that was fine, but standard monitors are getting larger, resolution is getting larger, and you are just creating too much empty real estate.

Otherwise, I think I am done with it so if anyone wants it, let me know.
Last edited by coRpSE on Mon Oct 09, 2017 2:50 pm; edited 1 time in total

#9: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Mon Oct 09, 2017 11:28 am
    —
sadly my minimum width is about 530 width for the center block because of blocks on the left and right of the index page most of my themes are all about that size

but it looks good corpse

#10: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Mon Oct 09, 2017 2:54 pm
    —
— PatPgtips wrote
sadly my minimum width is about 530 width for the center block because of blocks on the left and right of the index page most of my themes are all about that size

but it looks good corpse


no worries, but I would suggest looking at widening them a little. Can be a bit difficult, especially if you don't have a theme where you can set the width from inside the theme management, but not impossible. I did one of peds themes earlier this year for someone, but they had me do some other changes for them as well while I was doing it. Ped was just famous for putting jquery and flash where it was not needed or shouldn't be.

igitt Also, for all, an update is that I also reduced the min width from 850 to 750. You can see it by looking at the home page and shrinking down your browser. The width will automatically stop at 750px wide.

#11: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Oct 12, 2017 1:19 am
    —
updated my first post with some updates to the script, subtle eye candy. Thanks to McGyver, I was able to get one part of it which game me an idea for the CSS animation to just improve upon the plain countup that I was given.

#12: No icon Re: Updated Twitch Streamers Block Author: Ghostwarrior PostPosted: Sat Oct 14, 2017 11:21 am
    —
Hi Corpse, can let me know when your are done with cause I would like a copy of it if I may please!...

Thanks

#13: No icon Re: Updated Twitch Streamers Block Author: Porthos PostPosted: Sun Oct 15, 2017 10:52 pm
    —
Working great so far man. Great Job

#14: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Mon Oct 16, 2017 8:05 am
    —
— Ghostwarrior wrote
Hi Corpse, can let me know when your are done with cause I would like a copy of it if I may please!...

Thanks


I will post it public later today.

#15: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Mon Oct 16, 2017 1:13 pm
    —
@Ghostwarrior here you go.
Please login to see this link
Get registered or Log in

#16: No icon Re: Updated Twitch Streamers Block Author: Ghostwarrior PostPosted: Thu Oct 19, 2017 9:53 am
    —
Thanks Corpse, download and installed completed and with no errors.

#17: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Oct 19, 2017 12:15 pm
    —
glad to hear.

#18: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Fri Oct 20, 2017 8:15 am
    —
great work corpse

downloaded and installed all is fine

just need to get a theme that it will fit

#19: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Fri Oct 20, 2017 8:19 am
    —
— PatPgtips wrote
great work corpse

downloaded and installed all is fine

just need to get a theme that it will fit


If you're running a fixed width theme that is too narrow, then you can modify the theme to be wider. It's not that hard, but also not that easy. I did it once before for someone that had one of Ped's themes that was set at 800px wide and I opened it up to be 1280 wide. The header was the hardest to do but I just rewrote some of it.

#20: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Sat Oct 21, 2017 7:53 am
    —
i will try and find a theme  with the proper size but im pretty fussy what i use the theme will have to be the right 1 for us

#21: No icon Re: Updated Twitch Streamers Block Author: Sp0rAdiC PostPosted: Sat Oct 21, 2017 11:01 am
    —
Looks good coRpSE

#22: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Sat Oct 28, 2017 1:00 am
    —
maybe a silly question

is it possible to remove

Viewers: 0
Followers: 100
Total Views: 16,946
Videos: CLICK HERE
Expand


it will look like this
Expand


so that the theme will fit my site i know its taking things away from the block but it will help me keep all streamers in the same area

#23: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sat Oct 28, 2017 2:21 am
    —
Yeah, I will code something later today after my stream.

#24: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Sun Oct 29, 2017 7:35 am
    —
thanks corpse that would be great

#25: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Oct 29, 2017 4:25 pm
    —
Here is where I am at.

Expand

I know I have alignment issues. I am still working on it, it's just a WIP.

#26: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Sun Oct 29, 2017 4:30 pm
    —
looks good corpse

#27: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Oct 29, 2017 8:20 pm
    —
— PatPgtips wrote
looks good corpse


Take a look and let me know. I designed this with a max width of 575px and a min width of 525px. I believe that is small enough for a theme like yours.
You can see it here:
Please login to see this link
Get registered or Log in

#28: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Mon Oct 30, 2017 1:18 am
    —
thats perfect

i will get away with 530 maybe 540 need to test that though

it looks awesome

#29: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Mon Oct 30, 2017 9:55 pm
    —
— PatPgtips wrote
thats perfect

i will get away with 530 maybe 540 need to test that though

it looks awesome


I measured your shoutbox and that looked like it was coming in at 570px wide, so I was trying to base it off that. I will pack that up in the next day or two after I finish cleaning it up a bit.

#30: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Mon Oct 30, 2017 10:15 pm
    —
no worries corpse thanks for all your hard work it looks great

#31: No icon Re: Updated Twitch Streamers Block Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue Oct 31, 2017 10:38 pm
    —
— PatPgtips wrote
no worries corpse thanks for all your hard work it looks great


Sent you a copy of it, test it out and let me know. If all is good, then I will release it publically.

#32: No icon Re: Updated Twitch Streamers Block Author: PatPgtips PostPosted: Wed Nov 01, 2017 1:42 am
    —
thats perfect

Expand



HeadShot Extreme -> In-The-Works


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

Page 1 of 1