外掛說明
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.
安裝方式
The plugin is simple to install:
- Download
ubb-master.zip - Unzip
- Upload
ubb-masterdirectory to your/wp-content/pluginsdirectory - Go to the plugin management page and enable the plugin
- 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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.1.0.0
- Replace ubb code in posts, excerpts and comments
- Support 4 basic marks to presents the content or the attributes.


