Log in

View Full Version : Forum Home Enhancements - Twitch Streams Block - By Technidev


Dave
10-13-2015, 09:00 PM
This plugin will make it possible for you to display certain streams on your forum homepage based on keywords or games.

Why did I make this? Because certain gaming (community) forums probably want to include certain streams on the homepage about their game. I also had this plugin laying around here while it was about 80% finished, decided to finish and release it.

It works by contacting the API of Twitch, just keep in mind that the API is not entirely correct and up to date at times. Sometimes streams are not displayed for some reason, unfortunately there's nothing much I can do about this since this is a problem at Twitch.


I also implemented basic caching to avoid a bunch of requests being sent to Twitch's server.
It's also possible to hide/show the block and to configure usergroups who can block certain Twitch streamers from being displayed in the list.
You can also make it so the block doesn't appear when there are no available streams based on your settings, makes your forum look a bit cleaner.


How to install?
Read the installation.txt file in the .zip file.

Screenshots
https://vborg.vbsupport.ru/external/2015/10/8.png

https://vborg.vbsupport.ru/external/2015/10/9.png

Changelog
v1.02 Forgot to remove some debug code.
v1.01 Added ability to add channel names.
v1.00 Initial release.

Download below.

Mark as installed = get support.
Let me know if you encounter any problems.

ProFifaLeagues
10-15-2015, 06:14 PM
Looking great this,do you think you would expand it to allow us to input certain stream links from twitch which we would always like to show?
We have a few members who stream and have links to them now using another mod but would really like this one if it could be a option added sir

Dave
10-16-2015, 11:26 AM
Looking great this,do you think you would expand it to allow us to input certain stream links from twitch which we would always like to show?
We have a few members who stream and have links to them now using another mod but would really like this one if it could be a option added sir

I uploaded a new version which allows you to specify usernames/channel names.

ProFifaLeagues
10-16-2015, 06:12 PM
Cheers Dave superb!!!!

Dave
10-17-2015, 05:32 PM
Uploaded a new version, forgot to remove some debug code.

ProFifaLeagues
10-17-2015, 06:12 PM
Just upload the new Version and overwrite it all Dave?

Dave
10-17-2015, 06:15 PM
It's only necessary to re-upload the files in the UPLOAD folder.

ProFifaLeagues
10-17-2015, 07:08 PM
Many thanks

ProFifaLeagues
10-17-2015, 07:48 PM
at the min after the update it doesn't appear to show the streams for us,I will leave it running just in case its Twitch and report back if any change

Dave
10-17-2015, 08:31 PM
Are you sure the cache folder is chmodded correctly to 777?

ProFifaLeagues
10-18-2015, 04:12 AM
Will check today when i get home dave thank you