Title: RainyShots
Author: rainypixels
Published: <strong>11 mei 2011</strong>
Last modified: 12 mei 2011

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# RainyShots

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

[Download](https://downloads.wordpress.org/plugin/rainyshots.1.0.zip)

 * [Details](https://nl.wordpress.org/plugins/rainyshots/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/rainyshots/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/rainyshots/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/rainyshots/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/rainyshots/)

## Beschrijving

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/).

## Schermafbeeldingen

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

screenshot-1.gif

## Installatie

 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.

## FAQ

  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.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“RainyShots” is open source software. De volgende personen hebben bijgedragen aan
deze plugin.

Bijdragers

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

[Vertaal “RainyShots” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/rainyshots/), haal de
[SVN repository](https://plugins.svn.wordpress.org/rainyshots/) op, of abonneer 
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/rainyshots/) via
[RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Iz in ur v1

## Meta

 *  Versie **1.0**
 *  Laatst geüpdatet **15 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 2.9 of nieuwer **
 *  Getest t/m **3.1.4**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Tags
 * [designer](https://nl.wordpress.org/plugins/tags/designer/)[developer](https://nl.wordpress.org/plugins/tags/developer/)
   [social media](https://nl.wordpress.org/plugins/tags/social-media/)[template tag](https://nl.wordpress.org/plugins/tags/template-tag/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/rainyshots/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/rainyshots/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/rainyshots/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)