Title: Activity Sparks
Author: pantsonhead
Published: <strong>15. август 2009.</strong>
Last modified: 18. август 2015.

---

Претражи додатке

![](https://ps.w.org/activitysparks/assets/banner-772x250.png?rev=1223208)

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://ps.w.org/activitysparks/assets/icon-256x256.png?rev=1223188)

# Activity Sparks

 [pantsonhead](https://profiles.wordpress.org/pantsonhead/)

[Преузимање](https://downloads.wordpress.org/plugin/activitysparks.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/activitysparks/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/activitysparks/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/activitysparks/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/activitysparks/#developers)

 [Подршка](https://wordpress.org/support/plugin/activitysparks/)

## Опис

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.

## Снимци екрана

[⌊Example implementation (3 instances)⌉⌊Example implementation (3 instances)⌉[

Example implementation (3 instances)

## Постављање

 1. Upload `activitysparks.php` to the `/wp-content/plugins/` directory of your WordPress
    installation
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The widget can now be configured and used from the Appearance -> Widgets menu

## ЧПП

  Can I use it if I don’t want to call a widget in the sidebar?

Basic template tag support was added in v0.3. The following code checks for plugin
activation and renders with the default settings.

    ```
        <?php if(function_exists('activitysparks')) {
            activitysparks();   
        } ?>
    ```

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

 * dataset = ‘posts’, ‘comments’, ‘both’ or ‘legend’
 * width_px = positive integer
 * height_px = positive integer
 * period = 1, 7, 14, 30, etc. (number of days to group by)
 * ticks = positive integer (number of periods to display)
 * chma = 0 or positive integer (chart margin px)
 * bkgrnd = 6 character hex value (e.g. FFFFFF) or ‘NONE’ for transparency
 * posts_color = 6 character hex value (e.g 4D89F9)
 * comments_color = 6 character hex value (e.g FF9900)

An example of how to implement parameters is as follows:

    ```
        <?php if(function_exists('activitysparks')) {
            activitysparks(array('dataset'=>'legend','width_px'=>480,bkgrnd=>'NONE'));  
        } ?>
    ```

Caching is not available for the template tag implementation.

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„Activity Sparks“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

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

[Преведите „Activity Sparks“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/activitysparks)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/activitysparks/), проверите
[SVN складиште](https://plugins.svn.wordpress.org/activitysparks/) или се пријавите
на [белешку градње](https://plugins.trac.wordpress.org/log/activitysparks/) преко
[RSS-а](https://plugins.trac.wordpress.org/log/activitysparks/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### v0.6.1 2015-08-18

 * Moved screenshot to assets folder
 * Added icon PNG

#### v0.6 2015-08-02

 * Fixed „Undefined index“ error.
 * Tested up to: 4.2.3

#### v0.5 2012-10-23

 * Fixed caching issues.

#### v0.4.2 2012-10-05

 * Fixed issues highlighted by debugging mode.

#### v0.4.1 2012-09-18

 * Tested up to: 3.2.1

#### v0.4 2009-09-02

 * Added optional category observance
 * Fixed ticks bug

#### v0.3 2009-08-19

 * Added color swatches to widget UI
 * Added basic template tag support

#### v0.2 2009-08-17

 * Added optional caching (90% faster)

#### v0.1 2009-08-14

 * Initial release

## Мета

 *  Version **0.6.1**
 *  Last updated **11 година раније**
 *  Active installations **10+**
 *  WordPress version ** 2.8 или новије **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/activitysparks/)
 * Tags
 * [activity](https://sr.wordpress.org/plugins/tags/activity/)[graph](https://sr.wordpress.org/plugins/tags/graph/)
   [sidebar](https://sr.wordpress.org/plugins/tags/sidebar/)[widget](https://sr.wordpress.org/plugins/tags/widget/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/activitysparks/advanced/)

## Оцене

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/activitysparks/reviews/)

## Сарадници

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

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/activitysparks/)