這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

UBB Master

外掛說明

UBB Master provides a way to add your own ubb code in your posts, excerpts and your comments.

What is ubb code:

A typical UBB code looks like this: [search]put your keyword here…[/search]

And here are the rules to play:

You can use following marks to replace this ubb code with your own format:

!{content}: the content between [ubb] and [/ubb].

!{encoded_content}: the content encoded by urlencode, you may need it in forming a url.

!{attr:attribute_name}: the attribute called attribute_name.

!{encoded_attr:attribute_name}: the attribute encoded by urlencode.

For example:

<a target="blank" href="http://www.google.com/search?ie=UTF-8&q=!{encoded_content}">!{content}</a>

Then the example ubb code above will be replaced by this:

<a target="blank" href="http://www.google.com/search?ie=UTF-8&q=put+your+keyword+here%26%238230%3B">put your keyword here…</a>

Quite simple, right?

If you found any problems, please contact me via iambigasp@gmail.com. I will be very appreciate.

螢幕擷圖

  • UBB List
  • Modify the existing ubb code
  • Add a new ubb code

安裝方式

The plugin is simple to install:

  1. Download ubb-master.zip
  2. Unzip
  3. Upload ubb-master directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin
  5. Configure the plugin from Manage/UBB Master

常見問題集

Why use this plugin

Sometimes, you may need a simple ubb replacement to support your blog, such as search, music player and etc.

But you can’t find a plugin which meets your need, and you decide to do it on your own. Then it may help you.

For example:

You can use [music]xxx.mp3[/music] instead of writting a bunch of code to insert a flash music player.

And once you want to change your player, just change your ubb format, and everything is done.

Why not using enable ubb code in comments

It may not be safe to use the ubb code in comments.

The source is open, thus the content posted may be well constructed to hack your blog.

However, you may need it in some situation. So I still leave it there.

Use it wisely.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈UBB Master〉的開發相關工作。

參與者

將〈UBB Master〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.0.0

  • Replace ubb code in posts, excerpts and comments
  • Support 4 basic marks to presents the content or the attributes.