{"id":18680,"date":"2012-06-19T21:17:35","date_gmt":"2012-06-19T21:17:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/stackoverflow-profile-widget\/"},"modified":"2016-01-29T19:34:08","modified_gmt":"2016-01-29T19:34:08","slug":"stackoverflow-profile-widget","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/stackoverflow-profile-widget\/","author":9459026,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2014.07.03","stable_tag":"2016.01.30","tested":"4.4.34","requires":"3.3.2","requires_php":"","requires_plugins":"","header_name":"StackOverflow Profile","header_author":"dpchiesa","header_description":"","assets_banners_color":"fff9e8","last_updated":"2016-01-29 19:34:08","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/dinochiesa.github.io\/SOProfile-Donate.html","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/stackoverflow-profile-widget\/","header_author_uri":"http:\/\/www.dinochiesa.net","rating":1,"author_block_rating":0,"active_installs":10,"downloads":2753,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"561455","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2012.06.19","2012.06.22","2014.07.03","2016.01.29","2016.01.30"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567239","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1567239","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567239","resolution":"1","location":"plugin"}},"screenshots":{"1":"This shows the rendering of the Widget in the sidebar of a WP blog.","2":"This shows how to activate the widget in the Plugins menu in the WP Admin backend","3":"Configuring the settings for the stackoverflow widget in the WP Admin backend."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18231,7616,18232,162],"plugin_category":[43],"plugin_contributors":[88946],"plugin_business_model":[],"class_list":["post-18680","plugin","type-plugin","status-publish","hentry","plugin_tags-stack-overflow","plugin_tags-stackoverflow","plugin_tags-stackoverflow-answers","plugin_tags-widget","plugin_category-customization","plugin_contributors-dpchiesa","plugin_committers-dpchiesa"],"banners":{"banner":"https:\/\/ps.w.org\/stackoverflow-profile-widget\/assets\/banner-772x250.png?rev=561455","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/stackoverflow-profile-widget_fff9e8.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/stackoverflow-profile-widget\/trunk\/screenshot-1.png?rev=1567239","caption":"This shows the rendering of the Widget in the sidebar of a WP blog."},{"src":"https:\/\/ps.w.org\/stackoverflow-profile-widget\/trunk\/screenshot-2.png?rev=1567239","caption":"This shows how to activate the widget in the Plugins menu in the WP Admin backend"},{"src":"https:\/\/ps.w.org\/stackoverflow-profile-widget\/trunk\/screenshot-3.png?rev=1567239","caption":"Configuring the settings for the stackoverflow widget in the WP Admin backend."}],"raw_content":"<!--section=description-->\n<p>The Stackoverflow Profile Widget is a Wordpress widget that displays a\nsummary of your profile on the Stackoverflow.com website. It shows your\nreputation, the number and kind of medals you've achieved, and a\nselected list of answers you have posted in StackOverflow. For each\nanswer, it displays the question's title, the answer's score, and\nthe time the answer was last edited.<\/p>\n\n<p>You can limit the number of answer entries to display.  You can sort the\nlist based on score or date.<\/p>\n\n<p>The widget uses the StackExchange API, version 2.0, in order to retrieve\ninformation.<\/p>\n\n<p>It caches the content for a configurable period.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>json_decode \/ json_encode must be available.<\/li>\n<li>PHP5.2 or higher<\/li>\n<li>StackOverflow API Key is optional (http:\/\/stackapps.com\/questions\/2\/api-hello-world-code)<\/li>\n<\/ul>\n\n<h3>Acknowledgements<\/h3>\n\n<p>This plugin was initially based on and inspired by the Stackoverflow\nAnswers Widget from Mohammed Alsharaf. That code is licensed under the\nNew BSD license.<\/p>\n\n<p>Under the terms of that license, I am acknowledging the origins of this\ncode.  See the License-Alsharaf.txt file for full details.<\/p>\n\n<p>This plugin differs from that one in that:<\/p>\n\n<ul>\n<li>it uses the official Stackexchange API<\/li>\n<li>it caches results properly<\/li>\n<li>it displays medal counts<\/li>\n<li>it uses a nicer skin<\/li>\n<li>can display upvoted answers, or any answers.<\/li>\n<\/ul>\n\n<h3>Thanks<\/h3>\n\n<p>Thanks for your interest!<\/p>\n\n<p>You can make a donation at http:\/\/dinochiesa.github.io\/SOProfile-Donate.html<\/p>\n\n<p>Check out all my plugins:\nhttp:\/\/wordpress.org\/extend\/plugins\/search.php?q=dpchiesa<\/p>\n\n<p>-Dino Chiesa<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin folder to the wp-content\/plugins\/ directory.<\/li>\n<li>Go to plugin page in Wordpress, and click \"Activate\"<\/li>\n<li>Go to widgets page in Wordpress and drag StackOverflow Answers Widget to a widget area.<\/li>\n<li>Set configuration\na. Set widget title.\nb. User number can be found in profile URL (http:\/\/stackoverflow.com\/users\/[Your User Number]\/[Your Username])\nc. Consumer Key can be found by registering your widget (http:\/\/stackapps.com\/apps\/register). This is optional.\nd. Set number of questions to show.\ne. Set how you want to sort the list.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2016.01.30<\/h4>\n\n<ul>\n<li>attempt to be more ssl aware, don't force http:\/\/ scheme <\/li>\n<li>updated \"tested up to\" to 4.4.1<\/li>\n<\/ul>\n\n<h4>2014.07.03<\/h4>\n\n<ul>\n<li>corrected usage of register_widget() and wp_register_style()<\/li>\n<li>included a safe-redirect to prevent direct access to the widget<\/li>\n<\/ul>\n\n<h4>2012.06.22<\/h4>\n\n<ul>\n<li>Fixed 2 bugs in soClient.php - wasnt properly filling cache files.<\/li>\n<\/ul>\n\n<h4>2012.06.18<\/h4>\n\n<ul>\n<li>Now adds a \"Latest\" sort option, which grabs the most recently edited\nanswers.  This is in contrast to the \"newest\" sort option, which\nselects the answers with the most recent creation date.  Also I removed\nthe \"oldest\" sort option, because it was dumb.<\/li>\n<li>Refactored all interaction with Stackoverflow into a reusable SOEntity\nclass and various other derived classes<\/li>\n<li>Fixed the caching to do it properly, in the SOEntity class.<\/li>\n<\/ul>\n\n<h4>2012.06.15<\/h4>\n\n<ul>\n<li>initial release - starting from  satrun77's widget<\/li>\n<li>Get current with StackExchange API 2.0<\/li>\n<li>Efficient CSS via conditional wp_enqueue_style<\/li>\n<li>cache lifetimes are configurable now<\/li>\n<li>now renders with a recognizable Stackoverflow-like skin<\/li>\n<li>Screenshots are now included in the distribution<\/li>\n<li>General Code cleanup<\/li>\n<\/ul>","raw_excerpt":"The Stackoverflow Profile Widget is a Wordpress widget that displays a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18680"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dpchiesa"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18680"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18680"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18680"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18680"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18680"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}