Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Hitbox.TV Widget

Описание

WordPress widget to show the status of one or multiple Hitbox.tv streams.

Возможности:

  • Display multiple channels in one widget
  • Preview image on online channels
  • Channel name and preview image linked to hitbox.tv
  • Displays viewer count
  • Displays title message
  • Displays wich game is played
  • Has its own cache feature
  • [hitbox][/hitbox] Shortcode

Report bugs here.

Примечания

I’m hosting the stable code at WordPress only!

For actual development versions please visit http://code.spiffytek.de/SpiffyTek/WP-Hitbox.TV_Widget

Скриншоты

  • Главная страница
  • Настройки виджетов
  • Настройки плагина

Установка

  1. Upload everything into hitboxtv-widget directory to the /wp-content/plugins/ directory. Keep the structure intact.
  2. Активируйте плагин на странице «Плагины» в панели управления WordPress.
  3. Activate/configure the widget in the ‘Widget’ menu in WordPress.

Настройки

  • Multiple Channels:
    • To show multiple channels in one widget simply add a comma seperated list of channels into the widgets ‘Channel’ field.
  • Teams:
    1. Simply add team: infront of the team-channel name
    2. Example: For team hitbox.tv/team/hitbox simply use team:hitbox as channel name
  • Usage of the [hitbox][/hitbox] Shortcode:
    • Simply add the channel name between the tags eg.: [hitbox]hitboxlive[/hitbox]
    • Optional: There are some options to control the appearance:
      1. For the video:
        • video Enables or disables the video. Options: true|false. Default: true
        • vwidth Controls the width of the embedded video. Default: 640
        • vheight Controls the height of the embedded video. Default: 360
      2. For the chat:
        • chat Enables or disables the chat. Options: true|false. Default: true
        • cwidth Controls the width of the embedded chat. Default: 360
        • cheight Controls the height of the embedded chat. Default: 640
      • Example: [hitbox vwidth=848 vheight=480 chat=false]hitboxlive[/hitbox] will show the ‘hitboxlive’ channel video in 848×480 pixels in size and the chat won’t be shown

Часто задаваемые вопросы

Is this an official plugin ceated by hitbox.tv?

No.

How do i manually purge the widgets cache?

Cache is automaticaly purged whenever you klick the widgets ‘Save’ button or save on the global options.

Where to put translations?

Translations go into the /wp-content/plugins/hitboxtv-widget/languages/ folder.
You may have to create the languages folder first.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Hitbox.TV Widget» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Hitbox.TV Widget» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.6.1

  • Fixed multiple «undefined»

1.6.0

  • Fixed teams
  • Upgraded widget code for WP 4.3+

1.5.4

  • Small relocation of code
  • Compatible up to WP4.0.1

1.5.3

  • Removed german translation. See ticket #80 for reason
  • Limited total channels to 30 to not penetrate the HB-API and keeps a reasonable website loading time. If there are more than 30 channels in queue it’ll show show up to 30 channels randomly.
    • You can modify this limit manualy by editing STHW_CHANNEL_LIMIT setting in hitboxtv-widget.php

1.5.2

  • Added option to hide stream preview image
  • Fixed translation loading
  • Added german translation

1.5.1

  • Fixed bug on option page that made it impossible to change cache lifetime

1.5.0

  • Added (simple) Team support. See Installation/readme.txt for usage (#76)
    • This will be extended in future
  • Added options page for global settings like cache
  • Added global option to hide «Unknown channel»
  • New version scheme (major.minor.maintenance)

1.4

  • Added option to disable channel message
  • Added [hitbox][/hitbox] shortcode (See Installation/readme.txt notes for detailed info)

1.3

  • Added option to hide offline streams
  • Added configurable cache (#74)
  • Fixed improper whitespace cleanup on ‘Channel’ field (#75)
  • Various code cleanups

1.2

  • Fixes for WP.org

1.1

  • Single widget can now show multiple channels for better styleing. You can enter a comma (,) seperated list of channels
  • No more mixed code style
  • Replaced category image with stream preview image
  • CSS changes
  • Added screenshot and readme.txt

1.0

  • First working version