WP-DailyBurn
WP-DailyBurn is a WordPress widget that displays your DailyBurn profile in your blog’s sidebar, similar to their iGoogle widget. You can see what it looks like just by taking at look at my sidebar over on the right.
The plugin can be downloaded from the WordPress plugin directory.
This page will be used for handling any comments/questions/suggestions on the installation and use of the plugin.
Do you find this plugin useful? It’s provided free of charge, but I certainly wouldn’t turn down a donation of a few bucks
Click here to make a donation towards the development and maintenance of this plugin.


{ 34 comments… read them below or add one }
This is freaking awesome man! Nice work! Maybe I’ll pretty it up on my blog some so you can use it as a gallery shot or something. I kind of like the simple design though too. Hmm…I’ll have to tinker
Sweet, glad you like it man. I purposefully kept the styling pretty basic, so that it would blend in well with whatever theme you’re using. But I’d love to see what you do with it. Maybe in a future release I’ll include a number of selectable themes.
Love it. I have a personal WP blog that I am building, so I will be sure to plug it in.
Peace,
Kate B.
Very happy to hear it Kate – definitely means a lot coming from you
You wrote a plug-in?! YOU ARE AWESOME!
I saw the twitter shout out from @Dailyburn… I’m excited by the screenshots I see… however it failed for me using the latest version of wordpress when I installed it.
Theme Mystique with 6 Widgets
Using WordPress 2.9.2.
Any ideas why it might be failing?
Hey Josh, I’m still looking into what can be done about this. Basically, some of the PHP functions I’m using to call the DailyBurn API are specific to PHP5, so for those of you still on PHP4, it’s not going to work for the time being. I’m working on figuring out how hard it would be to make this plugin PHP4 compatible.
Hey Brandon, thanks so much for your help in trying to trouble shoot this! I’m going to try to get my version of PHP upgraded.
No problem Josh. Upgrading to PHP5 would probably be the best thing at this point. While I would really like to be able to support PHP4 with this plugin, it’s looking like there is quite a bit I would have to change with how it talks to the DailyBurn API to make it work.
Hi, Not sure if I am doing something wrong with this widget but I get the following
HTTP Basic: Access denied.
There was an error getting your profile from DailyBurn. Please make sure your username and password are entered correctly.
On the widget in my page, I have just checked and I think I am running PHP 5.2.6-1.el5.art (I have hosting on a virtual machine). any ideas where I could look.
Obviously I have checked and double checked my dailyburn usr/pass are correct.
Thanks. Paul
Not that it matters really but I thought I’d give you the heads up in case some real XHTML sticklers out there (and I’m sure there are). None of the images in the plugin have “alt” attributes.
Good call man, I totally overlooked that.
Love your blog! You have gained a new follower!
And great widget! I just used DailyBurn to lose 25 pounds! I think I will add this widget to my site and just keep on going! You can check out my experience here: http://blog.changemyselfchangetheworld.com/
I am also just now getting twitter up and running as part of a way for people to follow me. Check out http://twitter.com/stutesmonster
Hi Karen, glad you like my blog, I’m always happy to get another follower
@Paul – There’s not much to this plugin really, so if you’re getting an HTTP authentication error, really the only option are your username/password are bad, or you’re running a really old version of PHP that doesn’t support some of the functions the plugin is calling, which doesn’t sound like it’s the case.
This is awesome! Thanks for putting it together!
Of course, glad you like it!
I am really looking forward to getting this app going. I am having a similar problem to Paul.
HTTP Basic: Access denied.
There was an error getting your profile from DailyBurn. Please make sure your username and password are entered correctly.
I am on PHP 5
Thanks Travis. I’m gone on a trip for work, but I’ll definitely take a closer look at this when I get back. I wonder if there is some “standard” PHP module that your host doesn’t have installed. What host are you on?
hostican
I haven’t had any issues with any other plugins, but I haven’t looked to close either.
Thanks for helping with this.
Hey Brandon, great plugin. Is there some code I can use to put this in a page, I don’t have any widgetized areas in my theme.
I don’t currently have it setup for posting straight to a page, but that would be pretty simple to do. I’ll remember that for the next release, thanks.
Can’t get it to install. I get this error:
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /disk1/usr16/nuke/www/3percentofaton/wp-content/plugins/wp-dailyburn/DailyBurn.php on line 5
That’s odd, do you know what version of PHP you’re running?
version 4.x
Hmmm, I’ve gotten a few reports of people having trouble with PHP 4.x. I’ll look into it…
Did you ever figure this out? I’m still getting the same error.
Brandon,
I’m on PHP 5 and am getting the same error. Although mine is a bit strange in that the plugin installed and pulled my initial data from Daily Burn. This error started when I execute my cron job every 15 minutes to run wp-mail.php(this is the mail parsing module that Wordpress uses to POP mail in, parse it and then turn it into a post). It’s sort of a double whammy, as DailyBurn is not updating, but more importantly my mail posting no longer works.
Please let me know if you need any more data from me. I’m a decent unix guy, so I can gather logs for you as needed.
Dan
Does not work!
“Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /customers/salkert.se/salkert.se/httpd.www/vikten/wp-content/plugins/wp-dailyburn/DailyBurn.php on line 109
There was an error getting your profile from DailyBurn. Please make sure your username and password are entered correctly.”
Even though the log in information is correct.
Hello
First thanks for the great plugin having an issue getting it to work. The error message is “HTTP Basic: Access denied.
There was an error getting your profile from DailyBurn. Please make sure your username and password are entered correctly.”
I checked the username and password by going direct to the api url using your api code and entered my username and password for dailyburn. This connects correctly and displays data.
Current version of wordpress is Version 3.0.4 and PHP is Version 5.2.16 (http://fitnessthegeekway.com/info.php)
The debug info from your plugin is :-
array(20) {
["url"]=>
string(69) “https://dailyburn.com/api/users/current.xml?key=gxMYxfqX1FaUTBCRvoEaA”
["content_type"]=>
string(30) “application/xml; charset=utf-8″
["http_code"]=>
int(401)
["header_size"]=>
int(614)
["request_size"]=>
int(129)
["filetime"]=>
int(-1)
["ssl_verify_result"]=>
int(0)
["redirect_count"]=>
int(0)
["total_time"]=>
float(0.663081)
["namelookup_time"]=>
float(2.3E-5)
["connect_time"]=>
float(0.093659)
["pretransfer_time"]=>
float(0.55023)
["size_upload"]=>
float(0)
["size_download"]=>
float(27)
["speed_download"]=>
float(40)
["speed_upload"]=>
float(0)
["download_content_length"]=>
float(27)
["upload_content_length"]=>
float(0)
["starttransfer_time"]=>
float(0.663031)
["redirect_time"]=>
float(0)
}
string(1) “1″
I hope you can point me in right direction in getting this plugin working.
Regards
Russell
There seems to be a problem with lbs / kg. I have entered kg in my profile settings, but the widget displays lbs anyway. It seems like the $unit value.
I found one error (you used three = signes), but that only changed the text from lbs to kg and not the value.
Hmmm, it sounds like a problem with the data that’s being supplied from DailyBurn, since I’m not doing anything to change that number, just displaying whatever’s provided. Can you tell me what your DailyBurn username is? Might be able to help me figure out what’s going on…
Username: staale
Hi Brandon,
I’m experiencing the same problems as Staale with your word press plugin. My profile is set to KG but I can only see lbs. If you can figure out what the problem is that’d be amazing. My Dailyburn username is Palmbearke.
MANY thanks in advance !!!
{ 1 trackback }