Frederik Liljefred. M.D.
Forum Replies Created
-
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Modifying single.phpWhat template do you use?
In the template I use I did this to show runners_log_basic in a top of a post like this post: http://www.liljefred.dk/frederik/lob/45k-inkl-3k-13m49sek-aka-4m36skm-vdot41/
In single.php
FIND
<div class="post-content clear-block">AFTER, ADD
<?php if (function_exists(runners_log_basic)) echo runners_log_basic(); ?>And to have weather on post time under the content
FIND
<?php the_content(__('More >', 'mystique')); ?>AFTER, ADD
<?php if (function_exists(runners_log_weather_footer)) echo runners_log_weather_footer(); ?>In general you need to put the code somewhere between:
<!-- post -->
…<!-- /post -->Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Google chart, pchart or support of both?Feel free to share 🙂
eg we could make a kmaz release 🙂
You are welcome to join the team/code…
I myself havent had much time to code on this…
There are still a few features missing like a working gear-manager (distance calculation)…
Im not that good a coder, so the advance features is based on code from the other developers…
Im just a runner needed my blog to track my traing to keep up motivation…
Im looking forward to see what you come up with!
If you use the new google chart function you dont need the cache function at all as google do the server generation of the charts… 🙂
Enjoy!
A new version 2.2.1 is out
I have some trouble recoding that line – I need some help here and went to #php at freenode – and maybe Ill have some help later today…
I will make a new release as soon Im able to it!!
The problem is I use that code snippet many times:
Howto re-code this line: http://pastebin.com/zZ0F6gaH to be <5.2.x compatible? I use it in line 174, 180, 220, 226, 262, 292, 339, 346 http://plugins.trac.wordpress.org/browser/runners-log/trunk/runnerslog_gchart.php
Im looking at a solution right now!
Ahh, seems to be this line:
$valuepercents = array_map(function ($a) use($sumvalue) { return ROUND((($a/$sumvalue)*100),0); }, $monthsList); // will only work in php5.3??Its because only php5.3. supports anonymous functions.
I will try to fix it as soon as possible!!
What php version do you have? Do you know that?
If you have php 5.3 or greater I cant see what’s wrong :S
🙁
How does that white screen of death looks like?
I cant recall I have seen it in my setup and at my site where I use it:
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Google chart, pchart or support of both?Its is now included in version 2.2
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Google chart, pchart or support of both?Did upload some code supporting google chart.
You find it in the trunk
Forum: Everything else WordPress
In reply to: IRC and the use of !seen at #wordpress and the IRC rules…Well, When I try to use #wordpress I get something like:
[09:51] <frold> Can anyone see why this line return: Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/frold/liljefred.dk/wp-content/plugins/runners-log/runnerslog_gchart.php on line 334 http://pastebin.com/V0PMar2s
[09:51] -doc-bot- You have been denied access to this bot by the administrator
[09:51] -doc-bot- You have been denied access to this bot by the administrator
[09:51] -doc-bot- You have been denied access to this bot by the administrator
[09:51] -doc-bot- You have been denied access to this bot by the administrator
[09:51] -doc-bot- You have been denied access to this bot by the administrator
[09:52] == unicum [rb618qdbrj@unaffiliated/unicum] has quit [Read error: Connection reset by peer]
[09:52] <frold> Can I post?
[09:52] -doc-bot- You have been denied access to this bot by the administrator
[09:52] -doc-bot- You have been denied access to this bot by the administrator
[09:52] -doc-bot- You have been denied access to this bot by the administrator
[09:52] -doc-bot- You have been denied access to this bot by the administrator
[09:52] -doc-bot- You have been denied access to this bot by the administratorI did add a new topic about this issue:
Forum: Everything else WordPress
In reply to: IRC and the use of !seen at #wordpress and the IRC rules…Thanks for taking this serious!!
I did try to msg you over IRC….
my nick is my nick here as well – but I wont paste my ip here…
Forum: Everything else WordPress
In reply to: IRC and the use of !seen at #wordpress and the IRC rules…Thank you for still keeping me banned..
Its a very friendly thing to do when Im a plugin writer and need to talk with my team members…
Damn I love you!!
Forum: Plugins
In reply to: [Runners Log] [Plugin: Runners Log] Sports-Tracker.com IntegrationIm sorry, but – I my self – have no plans of adding this feature…
But any one is welcome to add the support and contribute to this plugin..
Im glad you like this plugin and I hope you’ll used it even though I cant add your request.