WP-Pulse-Meter

Generates a graphic with the “pulse” of your blog.

Author:Freenerd (profile at wordpress.org)
WordPress version required:2.1
WordPress version tested:2.1
Plugin version:1.0
Added to WordPress repository:14-04-2009
Last updated:15-04-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.freenerd.de/?s=wp-pulse-meter
Total downloads:1 462
plugin download
Click to start download

The plugin gets active on every site visit looking, if there is already a picture for the current day drawn. If not (there is no properly named picture in the directory) a new one is drawn. This will happen the first time the blog is accessed after midnight. Now, all posts and comments within the pulse scope are fetched. For every day in the scope, the posts and comments will be summed up and shown as a up-down peak on the graph. In the end, the graph image will be saved and the html img-tag will be returned. The graph is always scaled, so that the day with the highest peak uses the maximum height.

You are able to modify the looks of the pulse meter:

echo showPulseMeterImg($alwaysCreateNew = ‘false’, $pulseScope = 30, $width = 200, $height = 50, $bgcolor = ‘FFFFFF’, $linecolor = ‘000000’, $paddingx = 5, $paddingy = 5, $fade = 1, $id = ‘wppulsemeter’, $path = ‘wp-imageswp-pulse-meter’);

  • $alwaysCreateNew | If ‘true’, the image will be always redrawn with every call. Helpfull if you want to instantly see changes when testing
  • $pulseScope | The number of days shown on the graph
  • $paddingx $paddingy | The number of pixel that the graph will always keep distance to the image border
  • $id | css id of the image
  • $path | Path to the directory the image is going to be saved in