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

---

Plugins durchsuchen

Dieses Plugin **ist nicht mit den jüngsten 3 Hauptversionen von WordPress** getestet
worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme
haben, wenn es mit neueren Versionen von WordPress verwendet wird.

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

# RainyShots

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

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

 * [Details](https://de-at.wordpress.org/plugins/rainyshots/#description)
 * [Rezensionen](https://de-at.wordpress.org/plugins/rainyshots/#reviews)
 *  [Installation](https://de-at.wordpress.org/plugins/rainyshots/#installation)
 * [Entwicklung](https://de-at.wordpress.org/plugins/rainyshots/#developers)

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

## Beschreibung

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

## Screenshots

 * [[
 * screenshot-1.gif

## Installation

 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.

## Rezensionen

There are no reviews for this plugin.

## Mitwirkende & Entwickler

„RainyShots“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin 
mitgewirkt:

Mitwirkende

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

[Übersetze „RainyShots“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/rainyshots/),
sieh dir das [SVN Repository](https://plugins.svn.wordpress.org/rainyshots/) an 
oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/rainyshots/)
per [RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 1.0

 * Iz in ur v1

## Meta

 *  Version **1.0**
 *  Last updated **vor 15 Jahren**
 *  Active installations **10+**
 *  WordPress version ** 2.9 oder höher **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Tags
 * [designer](https://de-at.wordpress.org/plugins/tags/designer/)[developer](https://de-at.wordpress.org/plugins/tags/developer/)
   [social media](https://de-at.wordpress.org/plugins/tags/social-media/)[template tag](https://de-at.wordpress.org/plugins/tags/template-tag/)
 *  [Erweiterte Ansicht](https://de-at.wordpress.org/plugins/rainyshots/advanced/)

## Bewertungen

No reviews have been submitted yet.

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

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

## Mitwirkende

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

## Support

Möchtest du etwas sagen? Brauchst du Unterstützung?

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

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)