Archive for the 'WordPress' Category

 Wordpress Plugin - 自動產生使用中的外掛清單


Friday, November 9th, 2007

最近裝了一個名為 Viper’s Plugins UsedWordpress 外掛,這個外掛可以自動產生使用中的 Plugin 清單,搭配 Exec-PHP 使用更可把 Plugin 清單給黏在文章上,是個不可多得的好物。有了這玩意兒,以後新增或移除外掛就再也不需要同時更新類似「目前使用的 Wordpress Plugin 清單」這樣的文章囉!開心!

不過,當初安裝這外掛花了我好多時間,無法顯示網頁為了造福廣大的 Wordpress 使用者,在此跟各位報告一下如何使用 Viper’s Plugins Used 搭配 Exec-PHP 將 Plugin 清單給黏在文章裡,有興趣的朋友參考看看。

 安裝步驟:
 1. 複製 exec-php 資料匣至路徑 wp-content/plugins 下。
 2. 前往 WordPress Plugin 管理頁面啟用 Exec-PHP。
 3. 複製 vipers_pluginsused.php 檔案至路徑 wp-content/plugins 下。
 4. 前往 WordPress Plugin 管理頁面啟用 Viper’s Plugins Used。
 5. 在欲顯示 Plugin 清單的文章填入以下的語法:

<phpcode>
<?php $viperspluginsused = new viperspluginsused(); ?>
<?php $viperspluginsused->output_table('id="pluginstable"', TRUE, FALSE, FALSE); ?>
</phpcode>

<phpcode></phpcode> 裡面包覆的程式碼是 Viper’s Plugins Used 外掛用來顯示 Plugin 清單的語法,而 <phpcode></phpcode> 本身則是 Exec-PHP 外掛用來宣告文章中何處開始、何處結束 PHP 程式的語法,這樣大家知道了嗎?

張貼於 Wordpress Plugin | 2 則留言
871 views

 WordPress Plugin - 訪客留言排行榜


Monday, July 9th, 2007

Show Top Commentators 可以讓 Wordpress 擁有完善的訪客留言排名機制,協助您確實地掌握與您最貼近的訪客,並適時地讓這些訪客可以透過排名而產生的連結,進一步提高上榜訪客的網誌造訪數,可說是利人利己的 Wordpress Plugin 啦!讚!

 安裝步驟:
 1. 複製 show_top_commentators.php 檔案至路徑 wp-content/plugins 下。
 2. 將該檔案 Permissions 設定為 777 的屬性。
 3. 前往 WordPress Plugin 管理頁面啟用 Show Top Commentators。
 4. 使用編輯軟體開啟 themes/使用的 Themes 資料匣/sidebar.php。
 5. 在欲顯示訪客留言排行榜的地方填入以下的語法:

<?php if(function_exists('ns_show_top_commentators')) { ?>
<li>
<h2>Top Commentators</h2>
<ul><?php ns_show_top_commentators(); ?></ul>
</li>
<?php } ?>

除此之外,咱們的 Show Top Commentators 還有許多可讓使用者自行調整的設定,有興趣的朋友請移駕至官方網站查詢相關設定及修改方式!

張貼於 Wordpress Plugin | 6 則留言
1,244 views

 WordPress Plugin - 表情圖案快速選擇


Sunday, May 20th, 2007

剛剛新增了一個 Wordpress 快速選擇表情圖案的外掛,它可以讓訪客透過簡單的滑鼠點選動作,即時在留言中加入生動的表情圖案,雖然不算是必較特別的功能,不過,它至少可以讓我知道訪客當時的心情是怎麼樣?我覺得挺不錯的!

 安裝步驟:
 1. 複製 wp-grins.php 檔案至路徑 wp-content/plugins 下。
 2. 前往 WordPress Plugin 管理頁面啟用 WP Grins

對了,如果你是使用 Wordpress 2.1 或以下版本的朋友,請記得將 prototype.js 檔案複製到路徑 wp-includes/js 底下,該外掛才能正常使用喔!

張貼於 Wordpress Plugin | 13 則留言
1,585 views

 WordPress Plugin - 崁入 BlogSticker 絲帶貼紙語法


Thursday, May 10th, 2007

WP-BlogSticker 可以協助你自動將 BlogSticker 服務所需的絲帶貼紙語法崁入您的 WordPress 部落格系統,而毋須透過手動的方式將語法加入至 WordPress 樣版中的 header.php 檔案,對於討厭在 header.php 裡改東改西的朋友,超級好用。

 安裝步驟:
 1. 使用編輯軟體開啟 wp-blogsticker.php 檔案。
 2. 找到這行語法 $id_blog = 0; 並將數值 0 修改為您自己的 Blog-ID 後儲存。
 3. 複製 wp-blogsticker 資料匣至路徑 wp-content/plugins 下。
 4. 前往 WordPress Plugin 管理頁面啟用 WP-Blogsticker。

張貼於 Wordpress Plugin | 留言
1,086 views

 打造 Wordpress 特定留言回覆機制


Saturday, April 28th, 2007

Brians Threaded Comments 是一套協助你建立特定留言回覆機制的 Wordpress 外掛程式,用來讓版主與訪客或訪客與訪客間的互動不再牛頭不對馬嘴。有興趣或跟我一樣有這方面困擾的朋友們,強烈推薦您嘗試看看!

 安裝步驟:
 1. 複製 briansthreadedcomments.php 至路徑 wp-content/plugins 下。
 2. 複製 comments.php 檔案至您目前使用的樣板路徑下。
   〈這步驟將會取代該路徑下原有的 comments.php 檔案〉
 3. 前往 WordPress Plugin 管理頁面啟用 Brian’s Threaded Comments。

官方部落格:http://meidell.dk

張貼於 Wordpress Plugin | 11 則留言
2,804 views

 解決 FAlbum - Unable to get frob value 問題


Monday, April 16th, 2007

原本在自己工作崗位上默默耕耘的 FAlbum 外掛突然間發生了無法顯示相簿的問題﹝由 FAlbum 所產生的相簿全都變成包子圖案﹞,強烈的好奇心驅使之下,我執行了 Reset Authorization 這個步驟,想不到 Reset 後居然出現這樣的訊息:

    Initial Setup
    Error: Unable to get frob value

當我重新試著執行 Authorize FAlbum to access your Flickr account 這步驟,問題還是沒有解決!幸好在 Google 的幫助下,在 FAlbum 官方討論區找到修正方法。

 1. 將 wp-content/plugins/falbum 路徑下的 FAlbum.class.php 檔案取回。
 2. 開啟 FAlbum.class.php 並找到第 30 及 31 行的位置。
   define(’FALBUM_API_KEY’, ‘2c246752051d62eb4228fd05a8363423′);
   define(’FALBUM_SECRET’, ‘914acdd2720ddf03′);
 3. 將 FALBUM_API_KEY 及 FALBUM_SECRET 修改成正確的 Flickr API Key
 4. 將修改後的 FAlbum.class.php 放回 wp-content/plugins/falbum 路徑下。
 5. 重新執行 FAlbum 的啟用步驟:
   Step 1: Authorize FAlbum to access your Flickr account
   Step 2: Get Authentication Token
 6. 完成。

以上,希望跟我一樣碰到這個問題的朋友,可以經由這篇文章很快、很順利地解決。

張貼於 WordPress | 3 則留言
1,132 views

 WordPress Plugin - Snap Preview Anywhere


Friday, April 6th, 2007

Snap 即時顯示連接預覽服務已經在我的 Blog 服務了好長的一段時間,今天心血來潮前往官方網站看看有什麼新的玩意兒,居然發現 Snap 提供了繁體中文的預覽框介面及預覽框顏色組合可讓使用者依自己的網站選擇適當的預覽框參數。

變更預覽框參數後才想起,我還必須把變更後的預覽框參數語法黏到我的 footer.php 頁面才算完成,真是太麻煩了。幸虧 Ajay - On the Road called Life! 知道人間疾苦, 寫了 Snap Preview Anywhere Plugin 這個 WordPress 的 Plugin,讓我可以二話不說地把 footer.php 頁面中的 Snap 語法刪除,直接透過該 Plugin 來修改外觀。

 安裝步驟:
 1. 複製 def-link 資料匣至路徑 wp-content/plugins 下。
 2. 前往 WordPress Plugin 管理頁面啟用 Snap Preview Anywhere Plugin。
 3. 前往 WordPress Admin > Option > SPA 設定頁。
 4. SPA Key 欄位輸入 Snap 提供給你的專屬序號。

至於你該如何得知 Snap 的專屬序號?很簡單,當你在 Snap 官方網頁完成你的預覽框參數設定後,從 Snap 派發給你的語法中即可得知。例如以下的 Snap 語法範例中,key=a7126901d07c428aa782950f019937df 即是您的 SPA Key。

張貼於 Wordpress Plugin | 3 則留言
1,122 views

 目前使用的 Wordpress Plugin 清單


Tuesday, February 20th, 2007

每次更新 Wordpress 總是有許多 Plugin 因為無法適應而掛點,所以還是整理一篇我目前所使用的 Wordpress Plugin 清單,以便未來可以參考:

Plugin Description
AddQuicktag Allows you to easily add custom Quicktags to the editor. You can also export and import your Quicktags.
Akismet Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a WordPress.com API key to use it. You can review the spam it catches under “Comments.” To show off your Akismet stats just put <?php akismet_counter(); ?> in your template. See also: WP Stats plugin.
All in One SEO Pack Out-of-the-box SEO for your Wordpress blog.
Brian’s Threaded Comments This gives you threaded comments and a “wandering” comment form.
Browser Sniff Detects web browser type and operating system
Click Tags Produces a list of tags in the write/edit post pages - click to use
Code Markup A filter that displays <code> blocks nicely while still allowing formatting.
Dean’s Permalinks Migration With this plugin, you can safely change your permalink structure without breaking the old links to your website,and even doesn’t hurt your google pagerank.
Event Calendar Manage future events as an online calendar. Display upcoming events in a dynamic calendar, on a listings page, or as a list in the sidebar. You can subscribe to the calendar from iCal (OSX) or Sunbird. Change settings on the Event Calendar Options screen.
Event Calendar Widget Adds sidebar widgets for Event Calendar and Upcoming Events. Requires the EventCalendar and Widget plugins. After activating, please visit Sidebar Widgets to configure and arrange your new widgets.
Exec-PHP Executes <?php ?> code in your posts, pages and text widgets.
Full Text Feed Prevents WordPress 2.1+ from adding a more link to your website’s feed.
Get Recent Comments Display the most recent comments or trackbacks with your own formatting in the sidebar. Visit Options/Recent Comments after activation of the plugin.
Google Analyticator Adds the necessary JavaScript code to enable Google’s Analytics. After enabling this plugin visit the options page and enter your Google Analytics’ UID and enable logging.
Google XML Sitemaps This plugin will generate a sitemaps.org compatible sitemap of your WordPress blog which is supported by Ask.com, Google, MSN Search and YAHOO. Configuration Page
Live Space Sync A Live Spaces rpc plug-in
MightyAdsense Keep your adsense code & output it in posts.
MyAvatars This plugin allows you to add MyBlogLog.com avatars to Wordpress comments.
Show Top Commentators Encourage more feedback and discussion from readers, by rewarding them every time they post a comment! Readers with the most comments are displayed on your Wordpress blog, with their names (linked to their website if they provided one).
Simple Tags Simple Tags : Extended Tagging for WordPress 2.3 and 2.5 ! Autocompletion, Suggested Tags, Tag Cloud Widgets, Related Posts, Mass edit tags !
Subscribe To Comments Allows readers to receive notifications of new comments that are posted to an entry. Based on version 1 from Scriptygoddess
Tag Managing Thing A thing for managing your tags. Things like renaming and deletions.
Viper’s Plugins Used Allows you to display alphabetically what plugins you have enabled on your blog in either a table or unordered list. Also allows you to set custom descriptions for the plugins in the output.
Viper’s Video Quicktags Allows you to embed various video types, including those hosted at YouTube and Google Video as well as videos you host yourself, into WordPress. Credits: Owen Winkler for ButtonSnap and An-archos for help with WP 2.1+ button code.
WP 2.3 Related Posts Generate a related posts list via tags of WorPdress 2.3
WP Grins A Clickable Smilies hack for WordPress.
WP-DBManager Manages your Wordpress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database.
WP-PageNavi Adds a more advanced paging navigation to your WordPress blog.
WP-PostViews Enables you to display how many times a post/page had been viewed.
WP-PostViews Widget Adds a PostViews Widget to display most viewed posts and/or pages on your sidebar. You will need to activate WP-PostViews first.
WP-UserOnline Enable you to display how many users are online on your Wordpress blog with detailed statistics of where they are and who there are(Members/Guests/Search Bots).
WP-UserOnline Widget Adds a UserOnline Widget to display users online from WP-UserOnline Plugin. You need to activate WP-UserOnline first.
WordPress Database Backup On-demand backup of your WordPress database. Navigate to Manage → Backup to get started.
WordPress Mobile Edition Show a mobile view of the post/page if the visitor is on a known mobile device.
WordPress.com Stats Tracks views, post/page views, referrers, and clicks. Requires a WordPress.com API key.

張貼於 WordPress | 4 則留言
2,365 views

 WordPress Plugin - 留言自動載入 MyBlogLog 肖像


Monday, February 19th, 2007

春節假期至今邁入第三天,最大的收穫是看了兩遍「霍爾的移動城堡」,其次是把部落格的留言功能加上 MyAvatars 外掛,她可以使每篇留言自動帶入留言者在 MyBlogLog 所使用的肖像。這個功能其實有點像自動帶入 Gravatar 肖像的外掛,只不過把肖像的來源換成是 MyBlogLog 罷了!都怪 Gravatar 最近才繼續服務,失去了許多用戶 …

有興趣的朋友,請至官方網站下載 MyAvatars

【安裝步驟】
1. 複製 MyAvatars 資料匣至路徑 wp-content/plugins 下。
2. 前往 WordPress Plugin 管理頁面啟用 MyAvatars。
3. 使用編輯軟體開啟 theme/使用的 Themes 資料匣/comments.php。
4. 在欲顯示肖像的地方填入以下的語法:

張貼於 Wordpress Plugin | 3 則留言
1,541 views

 WordPress Plugin - 行動裝置瀏覽介面


Sunday, January 7th, 2007

隨著智慧型手機出貨量的劇增,像我一樣使用智慧型手機來瀏覽網摘的閒人更是不少,雖然透過 Bloglines 服務可以讓我很順利地訂閱、瀏覽 RSS 新聞,但需要留言的時候還是得經由連結前往該網誌。不過智慧型手機的解析度拿來瀏覽網頁就已經夠辛苦了,留言動作如果沒有一個簡單的頁面還真是勞民傷財。

而 WordPress Mobile Edition 可以讓你的 WordPressGoogle SearchGmail 所提供的 Mobile 服務,自動偵測使用者採用何種裝置進而套用適當的介面!讓行動裝置瀏覽你的網誌也可以獲得最佳的畫面、最佳的效果。

有興趣的朋友,請至官方網站下載 WordPress Mobile Edition

安裝步驟:
1. 複製 wp-mobile.php 至路徑 wp-content/plugins 下。
2. 複製 wp-mobile 資料匣至路徑 wp-content/themes 下。
3. 至 WordPress Plugin 管理頁面啟用 WordPress Mobile Edition。

完成安裝,需使用行裝裝置瀏覽才可以看見這個 Plugin 所產生的效果喔!

張貼於 Wordpress Plugin | 留言
1,228 views