10 How I Customized the MyBlogLog Recent Readers Widget to Match my Blogger Template
March 08, 2008 /

The "Recent Readers" widget you see towards the bottom of the sidebar is powered by MyBlogLog. Here you will see the avatars of MyBlogLog members who have recently spent some time here reading the Blogger Buster blog.

The default MyBlogLog widgets didn't fit in too well with the style of my new template, so I decided to customize this using CSS to hide the parts I don't want to display.

In this article, I'll explain how I achieved this. It's quite a simple technique to try out if you'd like to use - and customize - your own MyBlogLog Recent Readers widget too.

For this tutorial, I'm going to assume that you're already a member of MyBlogLog. If you're not yet a member, you may well want to sign up to MyBlogLog and begin using this excellent (and free!) community based service to help build traffic and a community for your blog!

Once your a member and have registered your blog, you'll need to create the code for a Recent Readers widget, which you can use in your sidebar. To do this, visit you profile page, and click on the "widgets" link for your blog. In my own MyBlogLog dashboard, this link appears like this:

Now, MyBlogLog have recently introduced a shiny new widget, which has some great functionality. But this is not the widget we need to use for this tutorial! You need to use the "Crusty Old Widget" instead!

At first, the "crusty old widget" will look like this:

On this page, you'll need to make a few customizations to the appearance of your widget:

  • Change all of the colors to match the background color of your sidebar.
  • Change the width of the widget if you need to make this narrower or wider to fit neatly inside your sidebar.
  • For the "Show Screen Names" option, check "No".

Once you've made this necessary changes, click the button which says "preview and get code".

Copy all of the code to your clipboard, then insert into an HTML/JavaScript widget in your blog.

At first, this widget will still look a little disorganized: we need to add a little code to the style section to finish things off.

So go to Template>Edit HTML in your Blogger dashboard, and search for the closing <b:skin> tag.

Immedietly before this tag, paste the following section of code:

table#MBL_COMM td.mbl_fo_hidden {
display:none;
}
table#MBL_COMM td.mbl_join_img {
background: url(http://bloggerbuster.com/images/blank.gif);
}
table#MBL_COMM td.mbl_join {
background: url(http://bloggerbuster.com/images/blank.gif);
}
table#MBL_COMM tr#tr0 {
background: url(http://bloggerbuster.com/images/blank.gif);
display: none;
}
table#MBL_COMM th.mbl_h {
display:none;
}

Now when you preview your template, you'll notice that all the unwanted parts of the widget are hidden; your widget should blend perfectly with your template featuring only the avatars of your recent blog readers.

If you would also like to add the links for "View Reader Community" and "Join This Community", you can add the following code inside your recent readers HTML/JavaScript widget, changing the values in red to match those of your MyBlogLog community profile:

<center><ul><li><a href="http://www.mybloglog.com/buzz/community/YourCommunityName/"
title="Visit the MyBlogLog Community">View the reader community</a></li>
<li><a href="http://www.mybloglog.com/buzz/yjoin/?ref_id=[your community ID#]&ref=w"
title="Do you want to be a part of this community?">Join this community</a></li></ul></center>

To find these values for your blog's community, go to the "Settings" page for your blog.

The URL Display Name is the value of YourCommunityName, while that long number at the end of the URL in your address bar is that of [your community ID#].

With this new feature in place, you'll be well on your way to creating a customized and wholly stylish look for your blog!

I hope you've enjoyed this tutorial. Feel free to post your comments and questions below.

If you'd like to learn about the other customizations I've made to the Blogger Buster template, be sure to subscribe to the feed to receive news of updates as they are posted.

10 Comments:

9 March 2008 16:34 Nicole said...

Amanda, this is a useful post, especially for blogs that have colors that Mybloglog does not offer in it's customization options section. Also, your new blog design is awesome!

27 March 2008 00:18 elyong2008 said...

Mybloglog new widget doesn't offer much customization. Can i just copy your script, i'll just change the ID, is it possible?

5 June 2008 21:08 The GreatCity Project said...

do you have any info on editing the widget in a non-wordpress hosted blog?

6 July 2008 14:24 Kapalic said...

Great tips! It works nicely for my site Gaining Ideas

Thnk you vry much!

26 July 2008 06:31 Augusto said...

Hi Amanda,

Nice hacks! Just a quick comment. There is no need to create an additional link to the community or readers of the community when all you need to do is edit CSS and unblock them. By adding additional links to the already embedded ones by the script you are increasing the number of outbound links, hence making your link profile a tiny bit weaker. For instance, you have 4 outgoing links to mybloglog.com, when could be a smaller number.

Regards,

31 August 2008 07:03 rahul said...
This post has been removed by the author.
12 September 2008 08:29 Rahul Jadhav said...

hey it doesnt work....all the code appears in the header section of the blog

11 November 2008 18:46 John Smith said...

I'm trying to change the border color of the images, but I haven't found out yet. please help amanda...

25 August 2009 05:40 Neil said...

Thanks!

I've been looking for this for almost an hour til I stumbled into this hack...good!

7 June 2010 12:22 Rama said...

hi. I already have an account MBL, but my blog is already listed in mycommunity, how to do to claim the author??!! I had gone to create a blog post that there is the script. but until there I was confused where to post the script? I click authenticate already, he replied (Link not found on http://rama-hidayat.blogspot.com).
apart from that how to see my CommunityName and my ID_Community
Would you email to ramahdt@gmail.com for the solution... Pleasee.

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me