Deprecated: Function ereg() is deprecated in /home/silence/blog.silence.idv.tw/wp-content/plugins/tantan-flickr/flickr.php on line 56

Deprecated: Assigning the return value of new by reference is deprecated in /home/silence/blog.silence.idv.tw/wp-content/plugins/tantan-flickr/flickr.php(83) : runtime-created function on line 1

Strict Standards: Non-static method TPGuestbook::get_instance() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/tp-guestbook/tp-guestbook.php on line 506

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 311

Warning: Cannot modify header information - headers already sent by (output started at /home/silence/blog.silence.idv.tw/wp-content/plugins/tantan-flickr/flickr.php:56) in /home/silence/blog.silence.idv.tw/wp-includes/feed-rss2.php on line 8
SILENCE Blog » My Blog http://blog.silence.idv.tw The Blog Belongs to us Wed, 20 Mar 2013 13:11:41 +0000 http://wordpress.org/?v=2.6 en 當兵去 http://blog.silence.idv.tw/2007/10/15/enter-army http://blog.silence.idv.tw/2007/10/15/enter-army#comments Sun, 14 Oct 2007 17:51:01 +0000 SILENCE http://blog.silence.idv.tw/2007/10/15/enter-army/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250
即日起要向國家軍隊報到啦!所以 Blog 更新會慢些﹐回覆也會慢些﹐只希望軍中生活能夠快一些!一年從軍的時間能快快渡過 祝大家拍得好照片, 得過好日子 ]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

即日起要向國家軍隊報到啦!所以 Blog 更新會慢些﹐回覆也會慢些﹐只希望軍中生活能夠快一些!一年從軍的時間能快快渡過 :P

祝大家拍得好照片, 得過好日子

]]>
http://blog.silence.idv.tw/2007/10/15/enter-army/feed
[plugin]Post View Plus Widget 1.0.12 http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012 http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012#comments Thu, 27 Sep 2007 12:34:55 +0000 SILENCE http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
版本: 1.0.12 相容於 Post View Plus 1.0.12 下載 下載 1.0.12 版本 新功能? 能夠自訂原始輸出文字:「User Views」 和「Views」 如何使用新功能? 勾選 Overwrite output text 下方輸入方塊即可讓您輸入想要輸出的文字。 其餘請參考版本就版本 1.0.5 的說明 —————————————————————————————————- English instruction: Version: 1.0.12 Compatibility with Post View Plus 1.0.12 download Download 1.0.12 What’s new? user will be able to change output text “User Views” or “Views” to what they want even keep it empty. How to use new feature? go to your widget panel, you will [...]]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Post view plus widget 1.0.12

版本: 1.0.12
相容於 Post View Plus 1.0.12

下載

新功能?

能夠自訂原始輸出文字:「User Views」 和「Views」

如何使用新功能?

  1. 勾選 Overwrite output text
  2. 下方輸入方塊即可讓您輸入想要輸出的文字。
  3. 其餘請參考版本就版本 1.0.5 的說明

—————————————————————————————————-

English instruction:

Version: 1.0.12
Compatibility with Post View Plus 1.0.12

download

What’s new?

user will be able to change output text “User Views” or “Views” to what they want even keep it empty.

How to use new feature?

  1. go to your widget panel, you will see “Top Posts”.
  2. If you wanna replace the original text, just check the “Overwrite output text” option.
  3. then the box below will be able to let you type what you want.
  4. remember to save your change before leaving widget page.
  5. please visit here to get more information about usage.
]]>
http://blog.silence.idv.tw/2007/09/27/post-view-plus-widget1012/feed
vSlider 3.0 is out http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out#comments Sun, 09 Sep 2007 07:30:44 +0000 SILENCE http://blog.silence.idv.tw/2007/09/09/vslider-30-is-out/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
原來 vSlider 3 已經發佈囉﹐連 for Gallery2 的 theme 也一起發佈。這次增加了許多功能(真的是很多)﹐作者真的挺用心的。 主要有…. 可以隨意調整頁面寬度!這意謂著偶不用再修改它為 wide 版本囉 自訂佈景主題顏色﹐圖示 頁首圖片可以自動出現 「圓角」﹐且可以自由調整高度(不用像現在這麼臃腫) <blockquote></blockquote> 標籤會自動幫您加上引號圖示 可自訂頁尾 可自訂 sidebar 寬度 for Gallery2 的 theme 已經內建 Lightbox 特效! ▲3.0可自由調整佈景主題寬度!其他選項更是琳琅滿目 有興趣的朋友可以去 vSlider 3.0 官方網站下載! 3.0 中文化我已經幫大家完成﹐可以至 Download 頁面下載! 至於我則還沒有打算這麼快換到 3.0﹐因為加了太多東西至舊有的 theme 裡面了﹐要修改的地方還挺多的呢! vSlider 3.0 所利用的「圓角」技術稱為 curvyCorners﹐原理為使用 javascript 把指定元件角落「圓角」化﹐有興趣可以至它的官方網站看看 ]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

原來 vSlider 3 已經發佈囉﹐連 for Gallery2 的 theme 也一起發佈。這次增加了許多功能(真的是很多)﹐作者真的挺用心的。
主要有….

  • 可以隨意調整頁面寬度!這意謂著偶不用再修改它為 wide 版本囉
  • 自訂佈景主題顏色﹐圖示
  • 頁首圖片可以自動出現 「圓角」﹐且可以自由調整高度(不用像現在這麼臃腫)
  • <blockquote></blockquote> 標籤會自動幫您加上引號圖示
  • 可自訂頁尾
  • 可自訂 sidebar 寬度
  • for Gallery2 的 theme 已經內建 Lightbox 特效!
vSlider 3.0 options panel
▲3.0可自由調整佈景主題寬度!其他選項更是琳琅滿目

有興趣的朋友可以去 vSlider 3.0 官方網站下載

3.0 中文化我已經幫大家完成﹐可以至 Download 頁面下載

至於我則還沒有打算這麼快換到 3.0﹐因為加了太多東西至舊有的 theme 裡面了﹐要修改的地方還挺多的呢!

vSlider 3.0 所利用的「圓角」技術稱為 curvyCorners﹐原理為使用 javascript 把指定元件角落「圓角」化﹐有興趣可以至它的官方網站看看
]]>
http://blog.silence.idv.tw/2007/09/09/vslider-3-is-out/feed
Dreamhost 在搞啥? http://blog.silence.idv.tw/2007/02/12/dreamhost http://blog.silence.idv.tw/2007/02/12/dreamhost#comments Sun, 11 Feb 2007 16:41:12 +0000 SILENCE http://blog.silence.idv.tw/2007/02/12/dreamhost/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250
話說今天下午明明好好的 Gallery,突然掛點,連進去變成「升級模式」,害我以為是不是被駭了,研究了老半天,才發現原來是 Dreamhost 把我的家目錄移動了位置,使得整個 Gallery2 相簿掛掉。 目前已經寫信去 Complain,若因為系統調整必須移動家目錄,也應該事先提醒一下 User 吧!在 Dreamhost 回信前,我看得先去 Gallery 官方網站研究一下移動目錄的 Q&A 了….:( 等不及 Dreamhost 的回信了,研究一下官方網站的Q&A後,發覺還挺簡單的,原因就是儲存 Gallery照片檔案的資料夾「g2data」沒對應到正確的路徑,導致整個掛掉,儲存 g2data 路徑 就在 gallery/config.php 內,修改 $gallery->setConfig(’data.gallery.base’, ‘PATH TO g2data’) 到正確的位置即可,改完總算回復正常了。 ]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

說今天下午明明好好的 Gallery,突然掛點,連進去變成「升級模式」,害我以為是不是被駭了,研究了老半天,才發現原來是 Dreamhost 把我的家目錄移動了位置,使得整個 Gallery2 相簿掛掉。

目前已經寫信去 Complain,若因為系統調整必須移動家目錄,也應該事先提醒一下 User 吧!在 Dreamhost 回信前,我看得先去 Gallery 官方網站研究一下移動目錄的 Q&A 了….:(

等不及 Dreamhost 的回信了,研究一下官方網站的Q&A後,發覺還挺簡單的,原因就是儲存 Gallery照片檔案的資料夾「g2data」沒對應到正確的路徑,導致整個掛掉,儲存 g2data 路徑
就在 gallery/config.php 內,修改
$gallery->setConfig(’data.gallery.base’, ‘PATH TO g2data’)
到正確的位置即可,改完總算回復正常了。
]]>
http://blog.silence.idv.tw/2007/02/12/dreamhost/feed
升級至 Wordpress 2.1 http://blog.silence.idv.tw/2007/01/27/wordpress-21 http://blog.silence.idv.tw/2007/01/27/wordpress-21#comments Fri, 26 Jan 2007 19:03:08 +0000 SILENCE http://blog.silence.idv.tw/2007/01/27/wordpress-21/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
今天花了點時間將Wordpress Blog 從 2.0.7升級到 2.1﹐由於已經知道 Pagebar 這個Plugin會有相容性的問題﹐所以到作者網站當漏1.3.1版即可。 Plugin相容性: 以我的Blog內而言﹐需要更新的 plugin 為: Pagebar(已發佈新版) Postview Plus(已發佈新版) UTW(尚未發佈) tinymce 吃掉 <div> 標籤: TinyMCE 改為 tabbed 的方式﹐可以快速切換原始碼﹐這功能自從用過了官方網站的 Blog 後﹐已經肖想很久了﹐不過居然帶來一點小麻煩﹐會吃掉<div></div>這個標籤﹐並且以<p>來取代﹐所以必須手動修改一下位在 wordpress/wp-incluede/js/tinymce 的 tiny_mce_config.php 檔: 於 24 行: $valid_elements = ‘p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]‘; 將「p/-div[*],」去掉改成: $valid_elements = ‘-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]‘; Post Formatting 問題: 另外 2.1 版本也順便更新了 wpautop 這個 function﹐會在輸出文章時﹐自動修改格式﹐所以也很要命的幫我把 <div></div> 標籤內自動加上 <p></p>﹐變成<div><p></p></div>﹐這 function 在2.1版本是放在 wp-includes/formatting.php 內﹐只要把第 66 行的 $pee = preg_replace( ‘|<p>(<div[^>]*>\s*)|’, “$1<p>”, $pee ); 註解掉即可 TinyMCE 切換 visual, code 時會造成斷行格式亂掉 這問題似乎只會出現在 Firefox [...]]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

天花了點時間將Wordpress Blog 從 2.0.7升級到 2.1﹐由於已經知道 Pagebar 這個Plugin會有相容性的問題﹐所以到作者網站當漏1.3.1版即可。

Plugin相容性:

以我的Blog內而言﹐需要更新的 plugin 為:

  1. Pagebar(已發佈新版)
  2. Postview Plus(已發佈新版)
  3. UTW(尚未發佈)

tinymce 吃掉 <div> 標籤:

TinyMCE 改為 tabbed 的方式﹐可以快速切換原始碼﹐這功能自從用過了官方網站的 Blog 後﹐已經肖想很久了﹐不過居然帶來一點小麻煩﹐會吃掉<div></div>這個標籤﹐並且以<p>來取代﹐所以必須手動修改一下位在 wordpress/wp-incluede/js/tinymce 的 tiny_mce_config.php 檔:
於 24 行:

$valid_elements = ‘p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]‘;

將「p/-div[*],」去掉改成:

$valid_elements = ‘-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]‘;

Post Formatting 問題:

另外 2.1 版本也順便更新了 wpautop 這個 function﹐會在輸出文章時﹐自動修改格式﹐所以也很要命的幫我把 <div></div> 標籤內自動加上 <p></p>﹐變成<div><p></p></div>﹐這 function 在2.1版本是放在 wp-includes/formatting.php 內﹐只要把第 66 行的

$pee = preg_replace( ‘|<p>(<div[^>]*>\s*)|’, “$1<p>”, $pee );

註解掉即可

TinyMCE 切換 visual, code 時會造成斷行格式亂掉

這問題似乎只會出現在 Firefox 身上﹐使用 IE 就不會﹐這我沒找到原因﹐但使用 冰漾 所修改的 TinyMCE 完整版 後就沒這個問題了!

希望以上對有遇類似問題的朋友們有幫助

]]>
http://blog.silence.idv.tw/2007/01/27/wordpress-21/feed
升級至 Wordpress 2.0.7 http://blog.silence.idv.tw/2007/01/16/wordpress-207 http://blog.silence.idv.tw/2007/01/16/wordpress-207#comments Tue, 16 Jan 2007 13:01:00 +0000 SILENCE http://blog.silence.idv.tw/2007/01/16/%e5%8d%87%e7%b4%9a%e8%87%b3-wordpress-207/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
剛升級完 2.0.6 不久﹐Wordpress 又推出了 2.0.7﹐修正了一些安全性和 Feedburner 的 bug 這次升級比較簡單﹐只要下載最新的 2.0.7 ﹐並覆蓋以下的檔案即可。 wp-admin/inline-uploading.php wp-admin/post.php wp-includes/classes.php wp-includes/functions.php wp-settings.php wp-includes/version.php 若偶的 Blog 有出現異狀麻煩回報﹐感恩 ]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

升級完 2.0.6 不久﹐Wordpress 又推出了 2.0.7﹐修正了一些安全性和 Feedburner 的 bug
這次升級比較簡單﹐只要下載最新的 2.0.7 ﹐並覆蓋以下的檔案即可。

  • wp-admin/inline-uploading.php
  • wp-admin/post.php
  • wp-includes/classes.php
  • wp-includes/functions.php
  • wp-settings.php
  • wp-includes/version.php

若偶的 Blog 有出現異狀麻煩回報﹐感恩

]]>
http://blog.silence.idv.tw/2007/01/16/wordpress-207/feed
[Plugin]Post Views Plus Widget http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget#comments Sat, 25 Nov 2006 09:36:23 +0000 SILENCE http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
請造訪新版本 1.0.12 的說明網頁 在Whatup 的 Blog 內看到一篇關於 Widget 實作的教學文章,於是嘗試著挑了一個 Plugin 來實作 Widget,此 Plugin 為 Post Views Plus,可計算 Blog 內的文章被閱讀的次數。當然要能使用 Widget﹐必須先安裝 Widget Plugin: Sidebar Widget。 下載與安裝 下載並放到 wp-content\plugins 資料夾內 啟用! 設定 在後台的「外觀」內﹐可找到「Sidebar Widgets」選項﹐在裡面找到 Top Posts﹐拖曳後可進行下列設定 因 Post Views Plus 這個 Plugin 提供了兩個 function: 可抓出被閱讀最多次數的 Posts:get_most_viewed() 設定在幾天內被閱讀最多次數的 Posts:get_timespan_most_viewed() 因此 Widget 將利用這兩個 function﹐可設定的選項也是依照這兩個 function 來設計﹐設定畫面如下: Display Mode: 選擇是否要包含 Post, Page 還是兩者皆是 Title : 設定此 Widget 顯示在 sidebar 的標題 Top Posts Number: [...]]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
請造訪新版本 1.0.12 的說明網頁

Whatup 的 Blog 內看到一篇關於 Widget 實作的教學文章,於是嘗試著挑了一個 Plugin 來實作 Widget,此 Plugin 為 Post Views Plus,可計算 Blog 內的文章被閱讀的次數。當然要能使用 Widget﹐必須先安裝 Widget Plugin: Sidebar Widget

下載與安裝

  1. 下載並放到 wp-content\plugins 資料夾內
  2. 啟用!

設定

在後台的「外觀」內﹐可找到「Sidebar Widgets」選項﹐在裡面找到 Top Posts﹐拖曳後可進行下列設定
因 Post Views Plus 這個 Plugin 提供了兩個 function:

  1. 可抓出被閱讀最多次數的 Posts:get_most_viewed()
  2. 設定在幾天內被閱讀最多次數的 Posts:get_timespan_most_viewed()

因此 Widget 將利用這兩個 function﹐可設定的選項也是依照這兩個 function 來設計﹐設定畫面如下:

Post View Plus Widget

  • Display Mode: 選擇是否要包含 Post, Page 還是兩者皆是
  • Title : 設定此 Widget 顯示在 sidebar 的標題
  • Top Posts Number: 設定文章數量
  • Posts Title Length: 文章標題長度
  • Post in Last Days: 設定幾天內的文章進行排名﹐若設 0 則為全部的文章排名
  • Include Bot views: 因 Post Views Plus 有分開 bot 閱讀文章的次數﹐選擇是否包含之

若在使用上遇到相關問題或是 Bug﹐請盡量詢問或是回報﹐感謝 :-)

]]>
http://blog.silence.idv.tw/2006/11/25/pluginpost-views-plus-widget/feed
Gallery2 with Lightbox Effect http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox#comments Fri, 03 Nov 2006 14:25:06 +0000 SILENCE http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
今天改了些東西﹐使我的相簿(Gallery2 系統)可以有 Lightbox 的特效 這樣有以下的優點: 炫﹐不然用 Lightbox 做啥 XD 快! 不用為了一張照片而去讀取 Gallery2 整個 PHP 頁面 效果的 Demo 可以看這裡 若有興趣的人﹐可以參考我的做法 記住!只適用: 您必須安裝了 vSlider2 for Gallery2這個 theme Wordpress 必須安裝 WP lightbox 2 安裝方法: 先下載 WP-Lightbox2 這個 plugin。 啟用此 Plugin 在您的 gallery2\themes\vSlider2\templates 資料夾內﹐新增名為 local 資料夾 下載 album.tpl 檔案﹐並放至 local 資料夾底下 完成! For those who don’t know Chinese: This page will teach you how to integrate Lightbox into your Gallery2! you can see demo [...]]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

今天改了些東西﹐使我的相簿(Gallery2 系統)可以有 Lightbox 的特效
這樣有以下的優點:

  • 炫﹐不然用 Lightbox 做啥 XD
  • 快! 不用為了一張照片而去讀取 Gallery2 整個 PHP 頁面

效果的 Demo 可以看這裡
若有興趣的人﹐可以參考我的做法
記住!只適用:

  • 您必須安裝了 vSlider2 for Gallery2這個 theme
  • Wordpress 必須安裝 WP lightbox 2

安裝方法:

  1. 先下載 WP-Lightbox2 這個 plugin。
  2. 啟用此 Plugin
  3. 在您的 gallery2\themes\vSlider2\templates 資料夾內﹐新增名為 local 資料夾
  4. 下載 album.tpl 檔案﹐並放至 local 資料夾底下
  5. 完成!

For those who don’t know Chinese:

This page will teach you how to integrate Lightbox into your Gallery2!
you can see demo here
I think you will have the following advantages of using LightBox Effect in your Gallery2

  • Cool! (sure, that’s why you choose Lightbox)
  • Fast browsing speed! (opening PHP page to view a photo waste your life!)

Requirements:

Installation:

  1. download WP-Lightbox2 plugin for wordpress and activate it
  2. make a directory named “local” in gallery2\themes\vSlider2\templates
  3. download album.tpl and put it into “local” directory you made in the previous step
  4. done!

Feel free to ask me the question :-)

]]>
http://blog.silence.idv.tw/2006/11/03/gallery2-lightbox/feed
Dreamhost 的服務品質 http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality#comments Wed, 01 Nov 2006 08:39:43 +0000 SILENCE http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
從今年十月初申請 Dreamhost 兩年方案到現在﹐ 對於 Dreamhost server 執行 PHP 速度不是很滿意 但若是跑靜態網頁就還不錯﹐且用 Hinet 8M ADSL﹐平均單點下載檔案也能有 2xx KB/s 比較誇張像是 Wordpress﹐後台在慢的時候連開啟都要等個五、六秒。 甚至還會跑到十幾秒才能開啟完成﹐看一下這張截圖 上面這張 screenshot 的 Wordpress 才剛安裝完成﹐且沒裝任何 plugin.. 跑了將近 12 秒 >_< 這只是 Wordpress 基本頁面哩! 等久了耐性可是會沒的..所以我就一直跟客服 Complain, 而他們也答應幫我換台 Server 而其中我提出是否可以換到我指定的 Server 上﹐ 因為 馬修Blog 和 Goston Blog 都是放在 dremhost 上 瀏覽起來的速度比我順暢許多﹐但 dreamhost 卻說因為是不同的 Cluster, 所以不能.. 好吧﹐那我也就死心啦 XD 換到現在已經換了第二次囉﹐同時我也裝了 WP-Cache﹐希望瀏覽速度希望能順暢點。 若各位依然覺得慢﹐希望能包涵一下~ 若有使用 dreamhost 的朋友﹐麻煩能回報一下狀況﹐感謝 偶的 Server 遷徙狀況: Smithers -> Zim -> Carl 各位朋友若覺得「慢」或「快」也可以寫下面的回應告知我一聲 最好能告知一下網路頻寬﹐感謝 ]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

從今年十月初申請 Dreamhost 兩年方案到現在﹐
對於 Dreamhost server 執行 PHP 速度不是很滿意
但若是跑靜態網頁就還不錯﹐且用 Hinet 8M ADSL﹐平均單點下載檔案也能有 2xx KB/s

比較誇張像是 Wordpress﹐後台在慢的時候連開啟都要等個五、六秒。
甚至還會跑到十幾秒才能開啟完成﹐看一下這張截圖

Slow Dreamhost
上面這張 screenshot 的 Wordpress 才剛安裝完成﹐且沒裝任何 plugin..
跑了將近 12 秒 >_< 這只是 Wordpress 基本頁面哩!

等久了耐性可是會沒的..所以我就一直跟客服 Complain, 而他們也答應幫我換台 Server
而其中我提出是否可以換到我指定的 Server 上﹐
因為 馬修BlogGoston Blog 都是放在 dremhost 上
瀏覽起來的速度比我順暢許多﹐但 dreamhost 卻說因為是不同的 Cluster, 所以不能..
好吧﹐那我也就死心啦 XD

換到現在已經換了第二次囉﹐同時我也裝了 WP-Cache﹐希望瀏覽速度希望能順暢點。
若各位依然覺得慢﹐希望能包涵一下~

  • 若有使用 dreamhost 的朋友﹐麻煩能回報一下狀況﹐感謝
  • 偶的 Server 遷徙狀況: Smithers -> Zim -> Carl
  • 各位朋友若覺得「慢」或「快」也可以寫下面的回應告知我一聲
    最好能告知一下網路頻寬﹐感謝
]]>
http://blog.silence.idv.tw/2006/11/01/dreamhost-service-quality/feed
更改 MySQL 資料庫編碼 http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc#comments Tue, 31 Oct 2006 05:27:03 +0000 SILENCE http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc/ Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232
由於剛申請 Dreamhost 不久後﹐便匆匆忙忙搞 Blog﹐相簿搬移和設定 卻忘記注意 MySQL 編碼﹐後來在安裝 Ultimate Tag Warrior 這個 Plugin 時 發現有點不正常﹐去 check 後﹐才發覺了是編碼的問題….. 原來 Dreamhost 建立 database 的預設編碼是 latin1 而不是 utf8。搞得在 phpmyadmin 內看到的都是亂碼 XD 所以就得花點時間做轉換了。 以下為轉換步驟: 啟用 wordpress 內建的 database backup plugin﹐並做備份 將備份完的 .sql 開啟(記得用有支援 UTF-8 的編輯器) 將檔案內所有的 「DEFAULT CHARSET=latin1」 改為 「DEFAULT CHARSET=utf8」 將檔案內所有的 「COLLATE=latin1_bin」 改為 「COLLATE=utf8_general_ci」 存檔 由 dreamhost 的 panel 新建立一個 databse 將此新建的 database 「校對」改為 utf8_general_ci (phpmysqladmin 此選項在點了資料庫後的「管理」內) 使用 phpmyadmin 的「載入」功能將您的 .sql 檔案載入 更改 wordpress/wp-config.php 內新資料庫的名稱 (因為 dreamhost 不允許 user 於 phpmyadmin 改資料庫名字) 以上便大功告成! 若您用瀏覽器開啟 [...]]]>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1229

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wpg2/wpg2embed.inc on line 1245

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/silence/blog.silence.idv.tw/wp-content/plugins/wp-lightbox2/wp-lightbox2.php on line 45

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::the_content() should not be called statically in /home/silence/blog.silence.idv.tw/wp-includes/plugin.php on line 163

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_article_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 250

Strict Standards: Non-static method GA_Filter::ga_parse_link() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 241

Strict Standards: Non-static method GA_Filter::ga_get_domain() should not be called statically in /home/silence/blog.silence.idv.tw/wp-content/plugins/googleanalytics.php on line 232

由於剛申請 Dreamhost 不久後﹐便匆匆忙忙搞 Blog﹐相簿搬移和設定
卻忘記注意 MySQL 編碼﹐後來在安裝 Ultimate Tag Warrior 這個 Plugin 時
發現有點不正常﹐去 check 後﹐才發覺了是編碼的問題…..
原來 Dreamhost 建立 database 的預設編碼是 latin1
而不是 utf8。搞得在 phpmyadmin 內看到的都是亂碼 XD
所以就得花點時間做轉換了。

以下為轉換步驟:

  1. 啟用 wordpress 內建的 database backup plugin﹐並做備份
  2. 將備份完的 .sql 開啟(記得用有支援 UTF-8 的編輯器)
  3. 將檔案內所有的
    「DEFAULT CHARSET=latin1」
    改為
    「DEFAULT CHARSET=utf8」
  4. 將檔案內所有的
    「COLLATE=latin1_bin」
    改為
    「COLLATE=utf8_general_ci」
  5. 存檔
  6. 由 dreamhost 的 panel 新建立一個 databse
  7. 將此新建的 database 「校對」改為 utf8_general_ci
    (phpmysqladmin 此選項在點了資料庫後的「管理」內)
  8. 使用 phpmyadmin 的「載入」功能將您的 .sql 檔案載入
  9. 更改 wordpress/wp-config.php 內新資料庫的名稱
    (因為 dreamhost 不允許 user 於 phpmyadmin 改資料庫名字)

以上便大功告成!
若您用瀏覽器開啟 blog 後發現都是亂碼﹐請照下面步驟

  1. 開啟 wordpress/wp-include/wp-db.php
  2. 找尋「$this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);」
  3. 在此行下面加上
    「$this->query("SET NAMES 'utf8'");」(注意別加上引號了)

這樣應該是能解決囉 :-)

]]>
http://blog.silence.idv.tw/2006/10/31/%e6%9b%b4%e6%94%b9-mysql-%e8%b3%87%e6%96%99%e5%ba%ab%e7%b7%a8%e7%a2%bc/feed