MyBlogLog WordPress Plugin

Tools

MyBlogLog WordPress Plugin

Skip all the talk and get the plugin!

Here at Sitening, we have had the privilege of being granted access to the new MyBlogLog API while in its beta stage. As a developer primarily working with PHP, I first created a PHP wrapper class to implement all of the API calls. This made it a lot easier to develop web applications with the API without having to make all the requests and parse the responses each time. Using the wrapper (I mundanely called it PHP MyBlogLog), it was a snap to put together member profile pages for each community member over on the Raven SEO Tools blog. By creating member pages, it allows visitors to view member profiles without leaving the blog. I also created a sidebar widget to display the community members, similar to the Javascript widget that MyBlogLog provides to display recent readers.

As useful as the API wrapper is to PHP developers, we realized the average blogger would probably have little use for PHP MyBlogLog. In order to create something more readily useful, we decided to develop a WordPress plugin. The idea was to recreate some of the functionality we developed for the Raven blog members section.

The MyBlogLog WordPress Plugin provides two main features:

First, it makes two sidebar widgets available: recent readers and community members. If your WordPress installation and theme supports widgets, the MyBlogLog widgets will be available where you normally configure your widgets. If you are not using WordPress widgets, you can simply insert a line of code in your sidebar file to display the desired widget.

Second, the plugin creates an entire community members section inside your blog. You can specify the sub-path where you want the members section to live (everything is still contained within the plugin folder – the pages are inserted by the plugin by hooking in to the WordPress template redirection system). The members section includes a paginated member listing page as well as individual member profile pages.

Installation is as simple as unzipping the plugin, dropping it into your plugins folder, and configuring it as needed.To download the plugin or get more details, visit the official MyBlogLog WordPress Plugin page.

Update (2/12/2008): The initial release accidentally left out displaying del.icio.us links in member profiles.  Download the latest version (0.9.1) to add members’ del.icio.us links to their profile pages.

Related Posts Plugin for WordPress, Blogger...

Tell us what you think

  • Administrator

    I think MyBlogLog has their own WP plugin now called MyBlogLog: Just for you

  • http://firefoxnewsonline.com Dave S

    Sorry..I forgot to add..
    I am using WP 2.7 .

    Any ideas?
    Any assistance is greatly appreciated.
    Thank & Respects
    Dave

  • http://firefoxnewsonline.com Dave S

    Hello;

    From looking at other sites, this looks like it has the potential of being a great addition to our site. However, after having followed the instructions, I am having trouble with getting it to work. When I go to the /members/ page, I get the following error code:

    Warning: Invalid argument supplied for foreach() in /home/thessch6/public_html/ffno/wp-content/plugins/mybloglog/class.mybloglog.php on line 256

    It also says further down:

    There are total members.
    Currently displaying members 1 -

    But it doesn’t actually display anything/anyone.

  • http://sitening.com Jason Tan

    Brian, just to double check.. did you get your Yahoo App ID approved for MyBlogLog? Also, have you tried turning error_reporting to see what errors may be occurring?

    In the next release of the plugin, I plan to add some better diagnostics other than the generic “Problem communicating with the API”.

  • http://www.brianchappell.com Brian

    Still no luck guys, I have now been signed up, got the confirmation email from the yahoo dev rep.

    When I signed up to get the App ID I did the following:

    http://www.brianchappell.com/members/ as the Web Application URL, that is correct right?

  • http://sitening.com Jason Tan

    Sorry… here’s a clarification of my earlier comment:

    You first need to request an application ID from the Yahoo Developer Network here:
    http://developer.yahoo.com/wsregapp/index.php

    Select the “generic, no user auth required” option.

    Once you have the App ID, you can sign up to have your App ID work with the MyBlogLog API:
    http://developer.yahoo.com/mybloglog/signup.html

  • http://www.brianchappell.com Brian

    *Authentication method:
    -Generic, No user authentication required
    This appid will allow you to make calls to our non-authenticated web services

    -Browser Based Authentication
    Use this option for browser applications

    Which one of those options do you want to use?

  • http://sitening.com Jason Tan

    Brian,

    The Application ID is your unique API Key (MyBlogLog calls it an App ID) you need to access the API.

    If you don’t have one already, you can sign up on the waiting list here:
    http://developer.yahoo.com/mybloglog

    However, you should at least be getting a message that says there was a problem communicating with the API. If you’re getting nothing at all, it may be because the plugin requires PHP 5. What version of PHP is your server running? You can try turning error reporting on to get more information. (Add error_reporting(E_ALL) to your header file)

  • http://www.brianchappell.com Brian

    Having some issues so far getting this to work. Couple quetsions:

    Application ID should be a Generic ID right?

    When i put Recent Visitors
    into my sidebar nothing shows up, that tells me obv something is wrong.

    This is what the members page looks like. Something tells me the API is not working here. http://www.brianchappell.com/members/

    I am using WP 2.3, might be worth noting.

  • http://www.azlanhussain.com Azlan

    cool.. I’ll try it out on my site soon.. hope it works with WP2.3

  • http://sitening.com/ Jon Henshaw

    Steven, I’m hoping the buzz starts to heat up again. The MyBlogLog service is much faster and more reliable now. And with the onset of their new API, I look forward to what we and others build.

  • http://www.thevanblog.com Steven Bradley

    I’m glad to see you’re releasing plugins for MyBlogLog. I’m also looking forward to what you come up with in the future.

    I know the original MyBlogLog buzz has worn off, but I still like the service and think there’s potential for more.

  • http://jaxn.org Jackson Miller

    Very cool. Have you been following the DiSo work to make WordPress act as a distributed social network? This could be a nice tie-in. I think it would require typing the members to WordPress users, but I am not sure on that.