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
It caches the content for a configurable period.
- 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)
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:
- Upload plugin folder to the wp-content/plugins/ directory.
- Go to plugin page in WordPress, and click “Activate”
- Go to widgets page in WordPress and drag StackOverflow Answers Widget to a widget area.
- 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” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.Συντελεστές
Ενδιαφέρεστε για την ανάπτυξη;
- attempt to be more ssl aware, don’t force http:// scheme
- updated “tested up to” to 4.4.1
- corrected usage of register_widget() and wp_register_style()
- included a safe-redirect to prevent direct access to the widget
- Fixed 2 bugs in soClient.php – wasnt properly filling cache files.
- 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.
- 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