WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Runners Log

This plugin let you convert your blog into a training log and let you track your activities. You get advance statistics and running related calculator

The supported short codes for using pChart

`[runners_log]
[runners_log_basic]
[runners_log_graph]
[runners_log_graphmini_distance]
[runners_log_graphmini_hours]
[runners_log_graphmini_calories]
[runners_log_pie_distance]
[runners_log_pie_hours]
[runners_log_pie_calories]
[runners_log_bar_distance]
[runners_log_bar_hours]
[runners_log_bar_calories]
[runners_log_garminmap]
    [runners_log_weather]
    [runners_log_weather_footer]`

Howto use Google Chart

Eg: [runners_log_gchart type="pie" format="d" year="2010" month="May" color="224499" width="600" height="300"]

*Type: bar, graph, pie, 3dpie
*Format: d="distance", ds="distance sum", ts="time sum",  cs="calories sum", p="pulse average"
*Year: 2009, 2010, 2011, 2012
*Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec
*Color: Is the color scheme used eg: "224499" for the html color #224499
*Width: The width of the chart: Default: 475 pixel
*Height: The height of the chart: Default: 250 pixel

Howto use [runners_log]

This tag support:

Year: could be set to 2010 or 2009 or what you want Month: could be "february", "FeBRUary" or just "feb". You need to specify at least the first 3 chars of the month name. Type: could be bar, graph, pie or mini

By using [runners_log] the default setting is year="2010" type="bar" month="0" (which is the same as all months in the choosen year)

Other exambles of using this tag could be: [runners_log type='pie' month='marts' year='2009'] gives you a Pie chart of your tracked distances in Marts in 2009 or [runners_log type='mini']gives you a mini-graph with distances for the whole 2010

Howto use [runners_log_basic]

To have the basic information about your posted course like:

`* Meters: 8500
* Time: 00:49:59
* Km/hour: 10.2
* Min/km: 05:52 minutes
* Puls average: 172 bpmis 86% of Max HR and 80% of HRR
* Calories: 654 C
* Garmin Connect Link: http://connect.garmin.com/activity/id
* Km in 2009: 693.7 km based on 122 runs with an avg of 5.69 km
* Km in 2010: 100.8 km based on 12 runs with an avg of 8.4 km
* ~embed garmin connect map~`

Use this short code [runners_log_basic] in a post or page.

Alternativly place <?php if (function_exists(runners_log_basic)) echo runners_log_basic(); ?> in your template.

Howto use [runners_log_weather]

If you have enabled weather support the weather is stored while you add your post. To paste in the weather use [runners_log_weather] to have something like:

`* Temperature : 3
* Humidity : 100
* Windchill : 3
* Description : Mostly Cloudy`

Alternativly place <?php if (function_exists(runners_log_weather)) echo runners_log_weather(); ?> in your template.

To have your weather data in the footer of the page or post use: [runners_log_weather_footer].

I only want my graphs to show up in a special category

If you only want your graphs to show up in the category "training" with the category ID = 6 then use it like this eg in single.php:

<?php if ( in_category('6') ): ?>
<?php if (function_exists(runners_log_basic)) echo runners_log_basic(); ?>
<?php if (function_exists(runners_log_graph)) echo runners_log_graph(); ?>
<?php if (function_exists(runners_log_graphmini_distance)) echo runners_log_graphmini_distance(); ?>
<?php if (function_exists(runners_log_graphmini_hours)) echo runners_log_graphmini_hours(); ?>
<?php if (function_exists(runners_log_graphmini_calories)) echo runners_log_graphmini_calories(); ?>
<?php if (function_exists(runners_log_pie_distance)) echo runners_log_pie_distance(); ?>
<?php if (function_exists(runners_log_pie_hours)) echo runners_log_pie_hours(); ?>
<?php if (function_exists(runners_log_pie_calories)) echo runners_log_pie_calories(); ?>
<?php if (function_exists(runners_log_bar_distance)) echo runners_log_bar_distance(); ?>
<?php if (function_exists(runners_log_bar_hours)) echo runners_log_bar_hours(); ?>
<?php if (function_exists(runners_log_bar_calories)) echo runners_log_bar_calories(); ?>
<?php endif; ?>

I only want my graphs to show up in a special page

If you only want your graphs to show up in the page with the name "Training Stats" then use it like this eg. in page.php: BE WARE: only works in categories

<?php if (is_page('Training Stats')) { ?>
<?php if (function_exists(runners_log_graph)) echo runners_log_graph(); ?>
<?php if (function_exists(runners_log_graphmini_distance)) echo runners_log_graphmini_distance(); ?>
<?php if (function_exists(runners_log_graphmini_hours)) echo runners_log_graphmini_hours(); ?>
<?php if (function_exists(runners_log_graphmini_calories)) echo runners_log_graphmini_calories(); ?>
<?php if (function_exists(runners_log_pie_distance)) echo runners_log_pie_distance(); ?>
<?php if (function_exists(runners_log_pie_hours)) echo runners_log_pie_hours(); ?>
<?php if (function_exists(runners_log_pie_calories)) echo runners_log_pie_calories(); ?>
<?php if (function_exists(runners_log_bar_distance)) echo runners_log_bar_distance(); ?>
<?php if (function_exists(runners_log_bar_hours)) echo runners_log_bar_hours(); ?>
<?php if (function_exists(runners_log_bar_calories)) echo runners_log_bar_calories(); ?>
<?php } ?>

What does this plugin require

Runners Log is using pChart and therefore is using the GD library to create pictures. You must compile the GD library with the freetype extension when installing PHP on a linux server. On windows operating system you must add the GD extension in your php.ini file. GD support is a mandatory prerequisite and cannot be overriden. You can use the following tutorial http://www.e-gineer.com/v1/instructions/install-gd13-for-php-with-apache-on-linux.htm if you don't know how to install it on a linux server.

Why is my server load high?

If you have a very visited blog and using this plugin it could cause high server load if you generate graphs using pChart. We then recommand using Google Chart. See faq for how to use.

Gear Manager

I would like to thanks Thomas Genin for his plugin WP-Task-Manager which the Gear Manager is based on.

Plugin URI: http://thomas.lepetitmonde.net/en/index.php/projects/wordpress-task-manager Description: Integrate in WordPress, a small task manager system. The plugin is very young, so you should be kind with him. Author: Thomas Genin Author URI: http://thomas.lepetitmonde.net/ Version: 1.2

Requires: 2.7 or higher
Compatible up to: 3.5.2
Last Updated: 2012-12-20
Downloads: 7,789

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1 100,1,1
100,3,3 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1
100,4,4 100,1,1
100,1,1 100,1,1
100,1,1
33,3,1 100,1,1 100,1,1
100,1,1
100,1,1