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 }

Ryan Sullivan March 28, 2010 at 9:15 pm

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 :)

Reply

Brandon March 29, 2010 at 7:32 am

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.

Reply

Kate Brown March 29, 2010 at 5:40 am

Love it. I have a personal WP blog that I am building, so I will be sure to plug it in.

Peace,
Kate B.

Reply

Brandon March 29, 2010 at 7:31 am

Very happy to hear it Kate – definitely means a lot coming from you :)

Reply

Jess March 29, 2010 at 11:53 am

You wrote a plug-in?! YOU ARE AWESOME!

Reply

Josh Cork March 29, 2010 at 11:58 am

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?

Reply

Brandon March 31, 2010 at 9:49 pm

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.

Reply

Josh Cork April 3, 2010 at 3:36 pm

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.

Reply

Brandon April 5, 2010 at 7:05 am

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.

Reply

Paul May 21, 2010 at 7:53 am

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

Ryan Sullivan March 29, 2010 at 4:35 pm

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.

Reply

Brandon March 29, 2010 at 5:12 pm

Good call man, I totally overlooked that.

Reply

Karen Ramirez April 6, 2010 at 8:22 am

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

Reply

Brandon April 7, 2010 at 7:58 pm

Hi Karen, glad you like my blog, I’m always happy to get another follower :)

Reply

Brandon May 22, 2010 at 7:20 am

@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.

Reply

Rachel June 7, 2010 at 5:54 am

This is awesome! Thanks for putting it together!

Reply

Brandon June 7, 2010 at 8:34 am

Of course, glad you like it!

Reply

Travis June 10, 2010 at 1:07 pm

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

Reply

Brandon June 10, 2010 at 1:24 pm

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?

Reply

Travis June 10, 2010 at 2:14 pm

hostican

I haven’t had any issues with any other plugins, but I haven’t looked to close either.

Thanks for helping with this.

Reply

Paul Cyr July 17, 2010 at 8:31 am

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.

Reply

Brandon July 26, 2010 at 12:03 pm

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.

Reply

beth July 24, 2010 at 3:14 pm

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

Reply

Brandon July 24, 2010 at 9:27 pm

That’s odd, do you know what version of PHP you’re running?

Reply

beth July 24, 2010 at 10:02 pm

version 4.x

Reply

Brandon July 26, 2010 at 12:02 pm

Hmmm, I’ve gotten a few reports of people having trouble with PHP 4.x. I’ll look into it…

Reply

Erika October 5, 2010 at 7:59 am

Did you ever figure this out? I’m still getting the same error.

Dan November 27, 2010 at 8:38 am

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

Johanna January 3, 2011 at 12:34 am

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.

Reply

Russell Dyas January 8, 2011 at 5:37 am

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

Reply

Staale March 14, 2011 at 3:48 am

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.

Reply

Brandon March 14, 2011 at 1:42 pm

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…

Reply

Ståle March 15, 2011 at 6:54 am

Username: staale

Reply

Palmbearke May 4, 2011 at 12:43 pm

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 !!!

Reply

Leave a Comment

CommentLuv badge

{ 1 trackback }