Plugin info

Total downloads: 1,939
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/12/2011 (5347 days ago)
Added to WordPress: 5/11/2011 (14 years old)
Minimum WordPress version: 2.9
Tested up to WordPress version: 3.1.4
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5347 days ago

20/100

Is RainyShots abandoned?

Possibly abandoned (last update 5347 days ago).

Compatibility

Requires WordPress: 2.9
Tested up to: 3.1.4
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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.

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.

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.

Frequently Asked Questions

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

Nope. It returns the json with values encoded as PHP types. 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. All the plugin does is return the json_decoded result of the API call along with caching benefits.

Review feed

No reviews available

Screenshots

  1. screenshot-1.gif

    screenshot-1.gif

Changelog

1.0

  • Iz in ur v1