Title: RainyShots
Author: rainypixels
Published: <strong>11.05.2011</strong>
Last modified: 12.05.2011

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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

# RainyShots

 Автор: [rainypixels](https://profiles.wordpress.org/rainypixels/)

[Скачать](https://downloads.wordpress.org/plugin/rainyshots.1.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/rainyshots/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/rainyshots/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/rainyshots/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/rainyshots/#developers)

 [Поддержка](https://wordpress.org/support/plugin/rainyshots/)

## Описание

This plugin adds a function `rs_shots()` to WordPress that returns an array of the
15 latest Dribbble shots by a player. The return type of the function is [JSON in appropriate PHP type](http://php.net/manual/en/function.json-decode.php).

The plugin adds an admin screen under Settings > RainyShots that provides a few 
options such as specifying a player and caching preferences.

**Features**

 * Specify the player
 * Returned shots variable is cached for a day by default; this cache duration may
   be updated in admin settings
 * You can manually reset the cache through the admin at any time. This is useful
   if you post a shot and want it to immediately show up in your template.

Read more about it on [my blog](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/).

## Скриншоты

[⌊screenshot-1.gif⌉⌊screenshot-1.gif⌉[

screenshot-1.gif

## Установка

 1. Upload the rainyshots folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Set the player under Settings > RainyShots before you use the tag; optionally, 
    update the caching preferences.

## Часто задаваемые вопросы

  Does the ws_shots() function output any html or css?

Nope. It returns the [json with values encoded as PHP types](http://php.net/manual/en/function.json-decode.php).
You can loop through the object as follows:

    ```
    $shots = rs_shots();

    foreach ($shots as $shot)
    {
        echo "<img src='" . $shot->{"image_teaser_url"} . "' alt='" . $shot->{"title"} . "' />";
    }
    ```

  May I access only «image_teaser_url» or are any other shot properties accessible?

You may access all the properties available in the response to [this API call](http://dribbble.com/api#get_player_shots).
All the plugin does is return the json_decoded result of the API call along with
caching benefits.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«RainyShots» — проект с открытым исходным кодом. В развитие плагина внесли свой 
вклад следующие участники:

Участники

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

[Перевести «RainyShots» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Заинтересованы в разработке?

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

## Журнал изменений

#### 1.0

 * Iz in ur v1

## Мета

 *  Версия **1.0**
 *  Обновление: **15 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 2.9 или выше **
 *  Совместим вплоть до: **3.1.4**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Метки:
 * [designer](https://ru.wordpress.org/plugins/tags/designer/)[developer](https://ru.wordpress.org/plugins/tags/developer/)
   [social media](https://ru.wordpress.org/plugins/tags/social-media/)[template tag](https://ru.wordpress.org/plugins/tags/template-tag/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/rainyshots/advanced/)

## Оценки

Пока что нет ни одного отзыва.

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

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/rainyshots/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/rainyshots/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)