Frederik Liljefred. M.D.
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationI will see if I can do a update via the CLI
Then I guess I will make a V2.0 release tonight…
I btw did add a new shortcode: [runners_log_weather_footer] if you want to have your weather data in the footer instead…
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationHey again,
Nice to know there is life. And it sounds cool with that thesis – very academic 🙂
In the “silent” periode I have spent some time to get a small article posted in a medical journal – it is approve, so now it just to wait 🙂
To edit php-files I have installed: gPHPEdit
As LAMP I have bought a Synology DiskStation DS209. When my harddisk crashed – with alot of images of my kids – I decided that I needed to have my files secured on a raid-system.
DS209 also support apache and mysql – so that seems to work for me as a development setup… 🙂
To get the latest SVN files I did it the command-way using: http://wordpress.org/extend/plugins/about/svn/
But I would like to have a graphic and user-friendly setup where I easy can add new files and so on. On windows I used: TortoiseSVN
It was pretty simple to use.
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationPffff – I now seems to be back on track…
In the meanwhile my harddisk crashed and I have been started a new job but I guess I have time to focus and play with this plugin again..
The last few days I can see the rating count is increased from 6 to 10 – so ppl are using this plugin! 🙂
Im now on a Ubuntu setup that is a pretty new system for me – so there is much to learn.
Do you use linux or?
I now have downloaded the latest code and will see if I can finish a “TheRealEyeless Weather support release” 😀
@aalemann Thanks for contributing with this work-around.
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Storing multiple runners resultsIm sorry but I have no plans for a multible user feature…
Maybe someone else will add it – but I dont have the wordpress insight and time to do so..
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationIm sorry – but I havent had time to take a look at this plugin for a while…
I soon hope to be back in action…
What about you?
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationseems like you are right! 😀
Had time to take a look at the gear thing?
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationIm back too…
I will do a new test one of the next days – I have been busy the last weeks – I will start at a new job in start of october – I hope to get more time then!
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationAny progress?
No hurry, Im just curious! 😀
Forum: Hacks
In reply to: Howto integrate the Media Library into a plugin?It wasnt that hard…
See this revision history to see how I did…
Basicly what I did was adding this to my plugin:
function wp_gear_manager_admin_scripts() { wp_enqueue_script('media-upload'); wp_enqueue_script('thickbox'); wp_enqueue_script('jquery'); } function wp_gear_manager_admin_styles() { wp_enqueue_style('thickbox'); } add_action('admin_print_scripts', 'wp_gear_manager_admin_scripts'); add_action('admin_print_styles', 'wp_gear_manager_admin_styles');And later this part:
<script language="JavaScript"> jQuery(document).ready(function() { jQuery('#upload_image_button').click(function() { formfield = jQuery('#upload_image').attr('name'); tb_show('', 'media-upload.php?type=image&TB_iframe=true'); return false; }); window.send_to_editor = function(html) { imgurl = jQuery('img',html).attr('src'); jQuery('#upload_image').val(imgurl); tb_remove(); } }); </script> <tr valign="top"> <td>Upload Image</td> <td><label for="upload_image"> <input id="upload_image" type="text" size="36" name="upload_image" value="<?php echo $gearimage; ?>" /> <input id="upload_image_button" type="button" value="Upload Image" /> <br />Enter an URL or upload an image for the banner. </label> </td> </tr>Thanks for sharing this solution. I might add it to the FAQ section if its okay for you?
Feel free to rate the plugin.
Btw: I edited this post to the status: “Resolved” if that’s okay?
Forum: Plugins
In reply to: [Plugin: Runners Log] Running gear statisticsTake your time. As I said earlier: Im just happy that you’r helping… 😀
Forum: Plugins
In reply to: [Plugin: Runners Log] Weather integrationCool…
I will be on IRC from tomorrow.
I just have a week in a summer cottage without internet but now Im back 🙂
Hey,
Im sorry, but as this plugin is made for a blog software the idea is to let it work with the blog feature. The whole idea is to use the post to comment your training, training thoughts or what ever – and then share your training with the readers.
Im glad you like the plugin so much that you like to use is it as a stand-alone solution – but this isnt possible yet, and Im not sure if it ever will be it.
One way could be to install wordpress on a localhost or a hidden subdomain. You could skip entering a post-msg, and just give your run a title.
Thats the best I can do…
Forum: Plugins
In reply to: [Plugin: Runners Log] Running gear statisticsThere are still many unsolved issues:
1 Distance calculation
2. Thickbox (when clicking on a image in gear list) isnt working 100%Im off for some days…