Frederik Liljefred. M.D.
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Runners Log] Running gear statisticsI dont know how to do this 100%
If you have a normal text field – you need to spell the shoe or gear name 100% correct each time.
The ultimate way of doing this is mix.
1. a page where your control (add or edit) your gear and set a category
2. the setup page where you enable or disable the gear feature
3. in some way being able to combinate the gear list with the metabox. The metabox is this one:
http://s.wordpress.org/extend/plugins/runners-log/screenshot-1.png
There should be added a new field per gear category. If you have added 2 shoes 1 t-shirt – there should be 2 new fields:
Shoe
T-shirt
The content in them should be choosen from a drop-down menu where you in the field “shoe” get your 2 shoes etc…I dont know if this is too advance – but it was my ultimate idea…
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationCool – looking forward to that…
As I remember there are some issues regarding that plug.
First it use a rss path like this:
$url = 'http://www.rssweather.com/zipcode/' . $zip_code . '/rss.php';$zip_code doesnt support danish zip-codes.
and eg the path to the weather for Odense, Denmark, where I live is:
http://www.rssweather.com/wx/dk/odense/rss.phpBut eg. you are able to snip the data from a path file like this
http://www.rssweather.com/hw3.php?place=berlin-tegel&state=&country=de&utm_source=rss&utm_medium=rssSecond there is a database issue
The plugin stores that weather data in its own database table post_weather and dont think taht is the best way to store data.What do you think?
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsFair enough to open 2 new threads. I hope you passed your exam 😀
I did add a runners log tag to each of your post – this way the post is listed in the runners log forum
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsSVN is found here:
http://plugins.svn.wordpress.org/runners-log/trunk/Track browser here:
http://plugins.trac.wordpress.org/browser/runners-log/Further plans:
One major plan is actually the one you mention: being able to track your gear and see for how many km/miles you have used your shoes etc.But for that I need a new way to put in data.
I would like to be able to add and delete gear and have the gear eg sorted in different categories.Eg: using:
http://dev.iceburg.net/jquery/tableEditor/demo.php
with
http://tablesorter.com/docs/#DemoBut Im not sure if I have those skills…
Regarding weather:
I thought about a integration of the Weather Posting Plugin found herE: http://wordpress.org/extend/plugins/weather-postin/ This way weather data is automaticly inserted in a new post 😉The problem is I wasnt able to get it to work for eg. Denmark, where I live. I should have weather data for all countries – but I wasnt able to fix it :S
This blog is using it when there is posted in the Categori: Runners Log: http://wannaberunner.com/ See the end of every post where you find data like:
Weather conditions during run:
* Temperature: 76°F;
* Humidity: 87%;
* Heat Index: 75°F;
* Wind Chill: 76°F;
* Pressure: 30.04 in.;Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsI hope it fits your need and does what you requested 😉
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsNow there is a new release 😀
1.8.5 now support
[runners_log]This tag support: year, month, type. 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, 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 2010Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsI have 3 kids – so a little work playing with code is one way to get some time without kids 😀
I hope to get a little further tonight – I let you know when there is a development version for testing…
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsShould be later today if my kids gives me some time 🙂
All the code for the type=bar is ready… 🙂
What are you studying? And where are you from?
/Frederik
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsWell I have already made the first code last night 🙂
I will try to let it work like:
/* Eg: [runners_log_distance year="2010" month="May" type="pie"] */ // Year: 2009, 2010 // Month: Jan, Feb, Marts, April, May, June, July, Aug, Sep, Oct, Nov, Dec // Type: graph, bar, pie, mini // function runners_log_distance_func($atts) { extract(shortcode_atts(array( 'year' => '', 'month' => '', 'type' => '', ), $atts)); return "The year is = {$year} The month is = {$month} and the type = {$type}<p></p>"; } add_shortcode('runners_log_distance', 'runners_log_distance_func');I will work on it when I have time…
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Pie and Graphs are not shownGreat 😀
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsI like the idea – but Im not sure if my skills let me solved it – but it should be possible…
The problem for me is the shortcode function where you should be able to use something like:
[runners_log_distance_2010 month="May"]or maybe better
[runners_log_distance year="2010" month="May"]In some way I should be able to get the year and month and use it in a mysql query…
I will see what I can do…
If someone out there have an idea – please help 😀
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsAhh I see and like the idea – but just to be sure:
Do you want a graph for the last 30 days? Or instead the whole June 2010 like eg a tag like: [runners_log_distance:june2010]..
[runners_log_distance:june2010]?Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Pie and Graphs are not shownGlad it works for you…
Feel free to rate the plugin
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Pie and Graphs are not shownSry I have been on holiday…
Did you chmod the folder “cache” to 777?
Forum: Requests and Feedback
In reply to: [REQ] Combine tags and calendar and get a coloured calendarOhh I thought this was a forum for a general request for plugin/widget creators.
This wasnt meant as a req to the wordpress ppl – more if someone want to take up the idea…