Title: Hitbox.TV Widget
Author: MadMakz
Published: <strong>2014 年 8 月 12 日</strong>
Last modified: 2015 年 12 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/hitboxtv-widget.svg)

# Hitbox.TV Widget

 作者：[MadMakz](https://profiles.wordpress.org/madmakz/)

[下载](https://downloads.wordpress.org/plugin/hitboxtv-widget.1.6.1.zip)

 * [详情](https://cn.wordpress.org/plugins/hitboxtv-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/hitboxtv-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hitboxtv-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hitboxtv-widget/#developers)

 [支持](https://wordpress.org/support/plugin/hitboxtv-widget/)

## 描述

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

Features:

 * 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](http://tracker.spiffytek.com/redmine/projects/wp-hitbox-tv-widget).

### 笔记

I’m hosting the stable code at WordPress only!

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

## 屏幕截图

 * [[
 * 首页
 * [[
 * Widget settings
 * [[
 * 插件设置

## 安装

 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:
       2.  * `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
       3. For the chat:
       4.  * `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?

序号

  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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ MadMakz ](https://profiles.wordpress.org/madmakz/)

[帮助将「Hitbox.TV Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hitboxtv-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hitboxtv-widget/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/hitboxtv-widget/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hitboxtv-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hitboxtv-widget/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.6.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.3 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/hitboxtv-widget/)
 * 标签
 * [live](https://cn.wordpress.org/plugins/tags/live/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [status](https://cn.wordpress.org/plugins/tags/status/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/hitboxtv-widget/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hitboxtv-widget/reviews/)

## 贡献者

 *   [ MadMakz ](https://profiles.wordpress.org/madmakz/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hitboxtv-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://spiffytek.de/spenden/)