{"id":6453,"date":"2009-08-15T13:27:52","date_gmt":"2009-08-15T13:27:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/activitysparks\/"},"modified":"2015-08-18T01:32:43","modified_gmt":"2015-08-18T01:32:43","slug":"activitysparks","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/activitysparks\/","author":3937644,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.6.1","stable_tag":"trunk","tested":"4.2.39","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Activity Sparks","header_author":"Greg Jackson","header_description":"","assets_banners_color":"f7f8f7","last_updated":"2015-08-18 01:32:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.pantsonhead.com\/wordpress\/activitysparks\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4083,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1223188","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1223188","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1223208","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","0.4.1","0.4.2","0.5","0.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1223188","resolution":"1","location":"assets"}},"screenshots":{"1":"Example implementation (3 instances)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2505,2509,168,162],"plugin_category":[43,44],"plugin_contributors":[79612],"plugin_business_model":[],"class_list":["post-6453","plugin","type-plugin","status-publish","hentry","plugin_tags-activity","plugin_tags-graph","plugin_tags-sidebar","plugin_tags-widget","plugin_category-customization","plugin_category-discussion-and-community","plugin_contributors-pantsonhead","plugin_committers-pantsonhead"],"banners":{"banner":"https:\/\/ps.w.org\/activitysparks\/assets\/banner-772x250.png?rev=1223208","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/activitysparks\/assets\/icon-128x128.png?rev=1223188","icon_2x":"https:\/\/ps.w.org\/activitysparks\/assets\/icon-256x256.png?rev=1223188","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/activitysparks\/assets\/screenshot-1.png?rev=1223188","caption":"Example implementation (3 instances)"}],"raw_content":"<!--section=description-->\n<p>Activity Sparks is a highly customizable widget to display a \"sparkline\" style graph in your sidebar indicate post and\/or comment activity. This plugin leverages Google's Chart API, so does not require the PHP GDI library. Customization options include Title, size, colour, background transparency, caching period, activity granularity and period.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>activitysparks.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory of your WordPress installation<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>The widget can now be configured and used from the Appearance -&gt; Widgets menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I use it if I don't want to call a widget in the sidebar?<\/dt>\n<dd><p>Basic template tag support was added in v0.3. The following code checks for plugin activation and renders with the default settings.<\/p>\n\n<pre><code>    &lt;?php if(function_exists('activitysparks')) {\n        activitysparks();   \n    } ?&gt;\n<\/code><\/pre>\n\n<p>To change the default settings you must pass an array of the parameters you wish to alter. These are the available parameters and valid values<\/p>\n\n<ul>\n<li>dataset = 'posts', 'comments', 'both' or 'legend'<\/li>\n<li>width_px = positive integer<\/li>\n<li>height_px = positive integer<\/li>\n<li>period = 1, 7, 14, 30, etc. (number of days to group by)<\/li>\n<li>ticks = positive integer (number of periods to display)<\/li>\n<li>chma = 0 or positive integer (chart margin px)<\/li>\n<li>bkgrnd = 6 character hex value (e.g. FFFFFF) or 'NONE' for transparency<\/li>\n<li>posts_color = 6 character hex value (e.g 4D89F9)<\/li>\n<li>comments_color = 6 character hex value (e.g FF9900)<\/li>\n<\/ul>\n\n<p>An example of how to implement parameters is as follows:<\/p>\n\n<pre><code>    &lt;?php if(function_exists('activitysparks')) {\n        activitysparks(array('dataset'=&gt;'legend','width_px'=&gt;480,bkgrnd=&gt;'NONE'));  \n    } ?&gt;\n<\/code><\/pre>\n\n<p>Caching is not available for the template tag implementation.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>v0.6.1 2015-08-18<\/h4>\n\n<ul>\n<li>Moved screenshot to assets folder<\/li>\n<li>Added icon PNG<\/li>\n<\/ul>\n\n<h4>v0.6 2015-08-02<\/h4>\n\n<ul>\n<li>Fixed \"Undefined index\" error.<\/li>\n<li>Tested up to: 4.2.3 <\/li>\n<\/ul>\n\n<h4>v0.5 2012-10-23<\/h4>\n\n<ul>\n<li>Fixed caching issues.<\/li>\n<\/ul>\n\n<h4>v0.4.2 2012-10-05<\/h4>\n\n<ul>\n<li>Fixed issues highlighted by debugging mode.<\/li>\n<\/ul>\n\n<h4>v0.4.1 2012-09-18<\/h4>\n\n<ul>\n<li>Tested up to: 3.2.1 <\/li>\n<\/ul>\n\n<h4>v0.4 2009-09-02<\/h4>\n\n<ul>\n<li>Added optional category observance<\/li>\n<li>Fixed ticks bug<\/li>\n<\/ul>\n\n<h4>v0.3 2009-08-19<\/h4>\n\n<ul>\n<li>Added color swatches to widget UI<\/li>\n<li>Added basic template tag support<\/li>\n<\/ul>\n\n<h4>v0.2 2009-08-17<\/h4>\n\n<ul>\n<li>Added optional caching (90% faster)<\/li>\n<\/ul>\n\n<h4>v0.1 2009-08-14<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display a customizable sparkline graph of post and\/or comment activity.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6453"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pantsonhead"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6453"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6453"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6453"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6453"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6453"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}