Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Twitch Streams Block - By Technidev Details »»
Twitch Streams Block - By Technidev
Version: 1.02, by Dave Dave is offline
Developer Last Online: Aug 2021 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.2.3 Rating:
Released: 10-13-2015 Last Update: 10-16-2015 Installs: 8
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

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




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.

Download Now

File Type: zip Twitch.zip (6.3 KB, 50 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
OUTL4W

Comments
  #2  
Old 10-15-2015, 06:14 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-16-2015, 11:26 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ProFifaLeagues View Post
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.
Reply With Quote
Благодарность от:
ProFifaLeagues
  #4  
Old 10-16-2015, 06:12 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Dave superb!!!!
Reply With Quote
  #5  
Old 10-17-2015, 05:32 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uploaded a new version, forgot to remove some debug code.
Reply With Quote
  #6  
Old 10-17-2015, 06:12 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just upload the new Version and overwrite it all Dave?
Reply With Quote
  #7  
Old 10-17-2015, 06:15 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's only necessary to re-upload the files in the UPLOAD folder.
Reply With Quote
  #8  
Old 10-17-2015, 07:08 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks
Reply With Quote
  #9  
Old 10-17-2015, 07:48 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 10-17-2015, 08:31 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure the cache folder is chmodded correctly to 777?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05622 seconds
  • Memory Usage 2,314KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete