klojo
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestions@ frold
thanx for the fix, i fixed it in an other way. i just have token all the time functions out of the inculde files and placed them in the runnerslog.php. that way you can reuse the function again.
the converter toolbox doesn’t work becuase it misses its file in the include folder. not sure if that was ment to be.
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionsyour welcome, besides i really like to log everything if only you could make an import from my polar protrainer.
no just kidding abbout that import.
i have some other suggestion.
i would love to see a possibility to set if the runners_log_basic info should be on top or the bottom of the post.
now its always on top no matter where i put the shortcode.greetings koen
Forum: Plugins
In reply to: [Plugin: Runners Log] Where are you using this plugin?i am using it here https://klojo.klimda.nl
i am completely new to wordpress and your plugin, but i really like it so far.
good job
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionshi i think i solved the problem, i have edited the runnerslog.php.
i have taken the function hms2sec ($hms) out of the
function runners_log_basic()i am not sure but i think that defining a function inside a function isn’t the right way. (really i am a noob in PHP so dont get angry if i am wrong)
anyway i have taken out lines 132-140// Let us convert the total running time into seconds function hms2sec ($hms) { list($h, $m, $s) = explode (":", $hms); $seconds = 0; $seconds += (intval($h) * 3600); $seconds += (intval($m) * 60); $seconds += (intval($s)); return $seconds; }
and placed them after line 328 and before line 330
add_shortcode('runners_log_basic', 'runners_log_basic'); function runners_log_graph() {
and i tested it on my site and now it seems to work.
so i hope you have the infromation to correct the problem now.
anyway i really enjoy your work and eally going to use it on my site ??
koen
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionshi thanx for looking into the problem. i upgraded to version 1.6.6 but the problem still exists.
if there are more then one post with the runners_log_basic on one page, only the first post displays the info.
if i use some of the graphs it shows in all the posts.
the error mentioned in my first post was created by the suffusion theme so to be on the safe side i changed the theme to an other theme. but still the problem exists.
Koen
Forum: Plugins
In reply to: [Plugin: Runners Log] Few suggestionshi,
first thank you for creating this plugin, it really is something i was looking for.
but i have a small problem.
if i use [runners_log_basic] in a post it shows up the way its suppossed to be.
but if i use it again in a second post on the same page it doesn’t show up in the second post, but instead it creates an error in /wordpress/wp-content/themes/suffusion/dbx.jsBericht: Object required
Regel: 6
Teken: 6512
Code: 0just take a look here
https://test.klimda.nl/wordpress/
and look at the second post. also notice that the sidebars are missing.
just click on the second post and u will see that side bars are there again. also the post will be displayed complete now.
i hope you can help me out with that problem.
Best regards,
Koen