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

WOW Server Status Widget

描述

This is a simple widget that displays WOW Server Status 4.1 badge, without having to upload the script with ftp and write an img tag to run it.
— realms with non-english names may also work, but not in ‘full’ mode as the font used doesn’t have those characters

The original script can be found here, which is not my work
1.0.6: patched to use official JSON feed (finally :p), php 5.2+ recommended (for native json_decode() support), fallback JSON.php for earlier versions is included as well.

** If you find your widget broken after a wordpress core update, please try to re-save your widget settings.

If you managed to find bugs or want to correct some of my codes, please don’t hesitate to post on forum:)

屏幕截图

  • Here is how it looks

安装

  1. Unpack and Upload all files to the /wp-content/plugins/wow-server-status-widget directory
  2. Add your Battle.net API key in Settings
  3. Activate the plugin through the Plugins menu in WordPress
  4. Drag WOW Server Status Widget to your sidebar
  5. Enter details and done!

常见问题

The badge script is not my work, I just make it easy to drag and drop in wordpress.
It should be able to run properly on most servers, but if there is a problem
please visit the author’s site and look for solutions there.

It says “No Status Source”, what’s wrong?

Make sure you have got a correct Battle.net API key get one here, also check the realm name and region carefully, it won’t work if you’ve typed it wrong.
If official realm status page for US or official realm status page for EU is working fine, this badge should be working fine, in some rare cases like when Blizzard is upgrading their server hardware or something, the realm page just breaks and this badge will also break.

It doesn’t reflect the actual realm status correctly, what’s wrong?

See above. Also, cache time of this badge is set to 5 minutes, so it may not reflect immediately if the server status has just changed within 5 minutes.

评价

此插件暂无评价。

贡献者及开发者

“WOW Server Status Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

= 1.0.13=
* add widget settings page for API key settings

1.0.8

  • update bug report icon and url

1.0.7

  • fixed a mis-uploaded file

1.0.6

  • patched to use official JSON feed

1.0.5

  • fixed bug of space becomes %20 in the new wow_ss.php, thanks Mike

1.0.4

  • since official realm status xml is not there anymore, I’ve modified the original wow server status badge to use Axho’s WoW Feeds… at least for now, feel free to extract the modified badge php for your own use.

1.0.3

  • take 2, fixed the apostrophe realm not showing bug in original wow_ss.php, aparently the original script has 3 places doing the same thing, so I merged them to one, and encode it correctly to ANSI
    it should be fine now if your keyboard is US keyboard, that renders apostrophe as ', sorry for having it not working for so long

1.0.2

  • fixed the apostrophe realm not showing bug in original wow_ss.php, thanks Nullinger

1.0.1

  • better plugin path handling, added bug report icon, updated license wordings

1.0

  • First released version