vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Twitch Streams Block - By Technidev (https://vborg.vbsupport.ru/showthread.php?t=320512)

Dave 10-13-2015 09:00 PM

Twitch Streams Block - By Technidev
 
1 Attachment(s)
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

Quote:

Originally Posted by ProFifaLeagues (Post 2557077)
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?


All times are GMT. The time now is 10:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete