Title: Ustream Status
Author: Katz Ueno
Published: <strong>2011 年 6 月 28 日</strong>
Last modified: 2016 年 11 月 12 日

---

搜索插件

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

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

# Ustream Status

 作者：[Katz Ueno](https://profiles.wordpress.org/katz515/)

[下载](https://downloads.wordpress.org/plugin/ustream-status.3.0.1.zip)

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

 [支持](https://wordpress.org/support/plugin/ustream-status/)

## 描述

“Ustream Status” is a widget and shortcode plug-in to display the live/offline status
of a Ustream channel, using the desired images.

Enter a Ustream channel, and it will fetch the online/offline status. Then it will
display the online/offline status image of your choice.

Ustream is one of the major live casting service providers that anybody can start
a live cast for free or even make money.

SAMPLE SITE (although you only see it when I’m live)
 http://katzueno.com/

I’m looking for your feedback! Please contact me via my website
 or @katz515 on 
twitter.

Fork me on GitHub. Pull Requests are always welcome!
 https://github.com/katzueno/
UstreamStatus-WordPress

Plug-in Support Page
 http://katzueno.com/wordpress/ustream-status/

Also check out my other WordPress plugins
 http://katzueno.com/wordpress/

## 屏幕截图

 * [[
 * Setting menu at the widget
 * [[
 * Ustream Status in action

## 安装

How to install and use it

#### Installation

 1. Upload `ustream-status` folder to the `/wp-content/plugins/` directory or you can
    install from admin panel directly.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

#### Preparation

 1. Create Ustream account (if you haven’t done so)
 2. Upload two (2) images which indicates online and offline status, and obtain URL

#### Create a widget

 1. Go to `Appearance` – `Widget` and set up your Ustream channel and enter the image
    URLs
 2. Save

This plugin uses cache. You may have to wait for 60 seconds until you see the channel
becomes live or offline. Please be patient!

#### Insert a shortcode

Enter the shortcode as following format

[ustream-status channel=”Channel Name” online=”Online Image URL” offline=”Offline
Image URL”]

 * Channel Name: Enter the channel name (Or you can enter the full URL of a Ustream
   channel)
 * Online Image URL: Enter the full path to the online image.
 * Offline Image URL: Enter the full path to the offline image.

Shortcode Example:

[ustream-status channel=”nasahdtv” online=”http://example.com/nasa_online.gif” offline
=”http://example.com/nasa_offline.gif”]

This plugin uses cache. You may have to wait for 60 seconds until you see the channel
becomes live or offline. Please be patient!

#### When You Cleaning-up and/or When you uninstall This plugin

If you constantly add and delete channels, or when you want to uninstall this plug-
in, you may want to consider using one of the following plug-in since this plug-
in uses transient as part of cache.

https://wordpress.org/plugins/delete-expired-transients/
 https://wordpress.org/
plugins/artiss-transient-cleaner/

## 常见问题

  What do I need?

In addition to WordPress site, you need to sign-up at Ustream.tv and start live 
casting.

  How do I sign up for Ustream?

Click sign-up icon from Ustream.tv

  I don’t have any images for offline/online images

You need to make your own images. I may make preset later if you ask me so.

  I’m live. But my status won’t change.

First, wait for 60 seconds. Ustream Status uses cache. It only checks the live/offline
status once every 60 seconds.

If you don’t see the change os status after 60 seconds you become live, you may 
have misspelled your Ustream ID, your WordPress site may be having hard time reaching
Ustream Server, or your IP may be blocked from Ustream Server.

  How can I check if Ustream server is working or not?

If you’re still having problem getting the status, you can think of the following
situation

 * You mistyped your Ustream channel
 * You mistyped the wrong URL of images
 * Ustream Server may be having some problem.
 * Your WordPress server may be blocked from Ustream Server

## 评价

![](https://secure.gravatar.com/avatar/8cc143d3423f551369e10bec01aea44ce82761db8ffaeca8879c16348842be6e?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-666/)󠁿

 [karchnerl](https://profiles.wordpress.org/karchnerl/) 2016 年 9 月 3 日

The plug-in works great. I created my own images for online and offline status and
it works flawlessly. Thank you.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/ustream-status/reviews/)

## 贡献者及开发者

「Ustream Status」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Katz Ueno ](https://profiles.wordpress.org/katz515/)

「Ustream Status」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/ustream-status/contributors)
为本插件所做的贡献。

[帮助将「Ustream Status」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ustream-status)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.0.1

 * Support translation.

#### 3.0.0

 * Switch to support new Ustream API.
 * You don’t notice the difference but completely changed the way the plugin fetch
   the online status.

#### 2.0.3

 * Ustream API no longer accepts http request but https.

#### 2.0.2

 * Fix shortcode output.

#### 2.0.1

 * Fix the `Warning: file_get_contents(http://api.ustream.tv/php/channel/wotstv/
   getValueOf/status) [function.file-get-contents]: failed to open stream: no suitable
   wrapper could be found in /path/to/wordpress/wp-content/plugins/ustream-status/
   ustreamstatus.php on line 96.` error

#### 2.0.0

 * Support multiple channel.
 * Support shortcode.
 * Reduced the cache time to 60 sec from 120 sec

#### 1.0.0

 * The initial version. This version should work ok.

## 额外信息

 *  版本 **3.0.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8.0 或更高版本 **
 *  已测试的最高版本为 **4.6.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ustream-status/) 和 [Japanese](https://ja.wordpress.org/plugins/ustream-status/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/ustream-status)
 * 标签
 * [livecasting](https://cn.wordpress.org/plugins/tags/livecasting/)[status](https://cn.wordpress.org/plugins/tags/status/)
   [uStream](https://cn.wordpress.org/plugins/tags/ustream/)
 *  [高级视图](https://cn.wordpress.org/plugins/ustream-status/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Katz Ueno ](https://profiles.wordpress.org/katz515/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8S6WTYMY9SXG)