Title: StackOverflow Profile
Author: dpchiesa
Published: <strong>2012 年 6 月 19 日</strong>
Last modified: 2016 年 1 月 29 日

---

搜尋外掛

![](https://ps.w.org/stackoverflow-profile-widget/assets/banner-772x250.png?rev=
561455)

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

![](https://s.w.org/plugins/geopattern-icon/stackoverflow-profile-widget_fff9e8.
svg)

# StackOverflow Profile

 由 [dpchiesa](https://profiles.wordpress.org/dpchiesa/) 開發

[下載](https://downloads.wordpress.org/plugin/stackoverflow-profile-widget.2016.01.30.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/stackoverflow-profile-widget/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/stackoverflow-profile-widget/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/stackoverflow-profile-widget/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/stackoverflow-profile-widget/#developers)

 [技術支援](https://wordpress.org/support/plugin/stackoverflow-profile-widget/)

## 外掛說明

The Stackoverflow Profile Widget is a WordPress widget that displays a
 summary 
of your profile on the Stackoverflow.com website. It shows your reputation, the 
number and kind of medals you’ve achieved, and a selected list of answers you have
posted in StackOverflow. For each answer, it displays the question’s title, the 
answer’s score, and the time the answer was last edited.

You can limit the number of answer entries to display. You can sort the
 list based
on score or date.

The widget uses the StackExchange API, version 2.0, in order to retrieve
 information.

It caches the content for a configurable period.

### Requirements

 * json_decode / json_encode must be available.
 * PHP5.2 or higher
 * StackOverflow API Key is optional (http://stackapps.com/questions/2/api-hello-
   world-code)

### Acknowledgements

This plugin was initially based on and inspired by the Stackoverflow
 Answers Widget
from Mohammed Alsharaf. That code is licensed under the New BSD license.

Under the terms of that license, I am acknowledging the origins of this
 code. See
the License-Alsharaf.txt file for full details.

This plugin differs from that one in that:

 * it uses the official Stackexchange API
 * it caches results properly
 * it displays medal counts
 * it uses a nicer skin
 * can display upvoted answers, or any answers.

### 感謝

Thanks for your interest!

You can make a donation at http://dinochiesa.github.io/SOProfile-Donate.html

Check out all my plugins:
 https://wordpress.org/extend/plugins/search.php?q=dpchiesa

-Dino Chiesa

## 螢幕擷圖

[⌊This shows the rendering of the Widget in the sidebar of a WP blog.⌉⌊This shows
the rendering of the Widget in the sidebar of a WP blog.⌉[

This shows the rendering of the Widget in the sidebar of a WP blog.

[⌊This shows how to activate the widget in the Plugins menu in the WP Admin backend⌉⌊
This shows how to activate the widget in the Plugins menu in the WP Admin backend⌉[

This shows how to activate the widget in the Plugins menu in the WP Admin backend

[⌊Configuring the settings for the stackoverflow widget in the WP Admin backend.⌉⌊
Configuring the settings for the stackoverflow widget in the WP Admin backend.⌉[

Configuring the settings for the stackoverflow widget in the WP Admin backend.

## 安裝方式

 1. Upload plugin folder to the wp-content/plugins/ directory.
 2. Go to plugin page in WordPress, and click “Activate”
 3. Go to widgets page in WordPress and drag StackOverflow Answers Widget to a widget
    area.
 4. Set configuration a. Set widget title. b. User number can be found in profile URL(
    http://stackoverflow.com/users/[Your User Number]/[Your Username]) c. Consumer 
    Key can be found by registering your widget (http://stackapps.com/apps/register).
    This is optional. d. Set number of questions to show. e. Set how you want to sort
    the list.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ dpchiesa ](https://profiles.wordpress.org/dpchiesa/)

[將〈StackOverflow Profile〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/stackoverflow-profile-widget)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/stackoverflow-profile-widget/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/stackoverflow-profile-widget/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/stackoverflow-profile-widget/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/stackoverflow-profile-widget/)。

## 變更記錄

#### 2016.01.30

 * attempt to be more ssl aware, don’t force http:// scheme
 * updated “tested up to” to 4.4.1

#### 2014.07.03

 * corrected usage of register_widget() and wp_register_style()
 * included a safe-redirect to prevent direct access to the widget

#### 2012.06.22

 * Fixed 2 bugs in soClient.php – wasnt properly filling cache files.

#### 2012.06.18

 * Now adds a “Latest” sort option, which grabs the most recently edited
    answers.
   This is in contrast to the “newest” sort option, which selects the answers with
   the most recent creation date. Also I removed the “oldest” sort option, because
   it was dumb.
 * Refactored all interaction with Stackoverflow into a reusable SOEntity
    class
   and various other derived classes
 * Fixed the caching to do it properly, in the SOEntity class.

#### 2012.06.15

 * initial release – starting from satrun77’s widget
 * Get current with StackExchange API 2.0
 * Efficient CSS via conditional wp_enqueue_style
 * cache lifetimes are configurable now
 * now renders with a recognizable Stackoverflow-like skin
 * Screenshots are now included in the distribution
 * General Code cleanup

## 中繼資料

 *  版本 **2014.07.03**
 *  最後更新 **10 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.3.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.4.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/stackoverflow-profile-widget/)
 * 標籤:
 * [stack overflow](https://tw.wordpress.org/plugins/tags/stack-overflow/)[stackoverflow](https://tw.wordpress.org/plugins/tags/stackoverflow/)
   [stackoverflow answers](https://tw.wordpress.org/plugins/tags/stackoverflow-answers/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/stackoverflow-profile-widget/advanced/)

## 評分

 1 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/stackoverflow-profile-widget/reviews/)

## 參與者

 *   [ dpchiesa ](https://profiles.wordpress.org/dpchiesa/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/stackoverflow-profile-widget/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://dinochiesa.github.io/SOProfile-Donate.html)