WordPress All Consuming Widget

Here’s a widget for adding a list of books/albums/movies/whatever from AllConsuming to your WordPress sidebar. Set up should be simple, just upload the widget_allconsuming.php file to your plugins directory and activate it. The widget only has a few options:

Title
Self explanatory, I think.
Username
Your username. Obviously you need to have an account at AllConsuming for the widget to work.
Number of items
The number of items that you’d like to have in the list
Tags
You can show items with only certain tags if you wish. Enter as many tags as you like, separated by commas. If you want to show everything enter all
Suppress header
Turns on/off the the “I am consuming …” header.
Completed items
If this box is checked the widget will display items that you have finished consuming. Note that for this to work you will need to enter the date that you completed the item in All Consuming. Kudos to Chris Merriman for figuring that out and to Tristan Havelick for incorporating it into the widget.

And that’s it.

UPDATE: I’ve altered the widget so that it is now a multi-widget so that you can create multiple different lists using tags. For example, one widget could display books, the other could display music.

UPDATE 2: Tristan Havelick has updated the widget so that it can now display completed items.

Download the widget here.

If you want to change the way the list looks, it’s best to do that with CSS. In fact it’s the only way…

A example of the code for the list that the widget produces is below, to help you along the way.

<div id='ac-javascript'>
 <h4>
  I am consuming 
   <a href='http://allconsuming.net/person/hassan006'>
    8 things
   </a>
   including&hellip;
 </h4>
 <p class='ac-item'>
  <a href='http://allconsuming.net/item/view/39201'>
   <img src='http://images.amazon.com/images/P/B0002W4T6M.01.THUMBZZZ.jpg' border='0' />
  </a>
  <br />
  <strong class='ac-title'>
   <a href='http://allconsuming.net/item/view/39201'>
    Eveningland
   </a>
  </strong>
 </p>
 <div align='right' class='ac-logo'>
  <a href='http://www.allconsuming.net'>
   <img src='http://www.allconsuming.net/images/ac-tiny.gif'>
  </a>
 </div>
</div>

38 Comments »

  1. Pingback by WordPress Widgets » Blog Archive » All Consuming — August 21, 2006 @ 4:24 pm

    […] We hear from Ali Hassan that he has written a new widget for the All Consuming media catalog service. It looks pretty sharp in his sidebar, displaying his Currently Listening and Recent Reads lists. […]

  2. Comment by Adam — August 25, 2006 @ 6:42 pm

    Nice plugin! How exactly do I set it to show books that I have already read? (I’m assuming you are using this plugin to display those books on your sidebar.)

  3. Comment by Ali — August 25, 2006 @ 10:51 pm

    Actually, the books are done using a LibraryThing widget … I’m in the process of switching those over to the AllConsuming widget at the moment.

    You can get the widget to display completed items, but you will need to modify the code. You need to replace /js/ with /completed_js/.

    More details on the using the completed items script can be found in the AllConsuming FAQ.

  4. Comment by constant skeptic — August 27, 2006 @ 11:24 pm

    thanks, i went with the original from the allconsuming site, though. you can see it here: http://www.constantskeptic.com/wordpress

  5. Comment by Lori — August 28, 2006 @ 10:02 pm

    Thanks for making the widget, totally useable for a first-timer such as myself.

    Just wondering if you can help with a question though: I’d like to display the completed items, and i’ve modified the script according to the allconsuming page, but it no longer displays the actual list, or photos. Is there a way around this?

    Thanks SO much.

  6. Comment by Ali Hassan — September 3, 2006 @ 3:26 am

    Hmm, you’re right — that doesn’t seem to work. I’ll look into it further and get back to you. Sorry I can’t be more helpful but I don’t quite understand why it doesn’t work.

  7. Comment by Chris Merriman — September 13, 2006 @ 7:36 am

    Nice widget, many thanks. I’ve only just discovered All Consuming, looks like it could be interesting.
    Just wondered if you could point me in the right direction, I wanted to have a recently read section, like yours.
    I’m no coder, but can happily play with/bodge coding where necessary.
    Is it as simple as a tag, or do I need to put something more complicated in?
    Many thanks,
    ChrisM

  8. Comment by Chris Merriman — September 13, 2006 @ 7:39 am

    ummm…
    OK, I’ll tattoo “Read other comments before posting” on the inside of my eyelids later…
    Sorry about that :>
    (It was the spam about car insurance that made me skip right to the end…)

  9. Comment by Chris Merriman — September 13, 2006 @ 8:17 am

    re. the problems mentioned above just above my post… It looks like “”/completed_js”” only displays items that have a definite completion date set. I tried changing it to “”/completed_js/all””, but no joy.
    See my site for an example, I’ve currently only set a date on one of the books, so only one is displayed.
    If I renamed the php file, and upload it, do you think it would work as a 2nd independent widget? I was going to have one for ‘current’ and one for ‘completed’
    Sorry if my analysis turns out to be faulty, but thought I’d let you know…

  10. Comment by Chris Merriman — September 13, 2006 @ 8:39 am

    OK, last comment for a while, sorry.
    Just to let you know of another work around, if you don’t want to remember/make up the date you finished each book, you can instead use a tag of ‘completed’ or something similair, then you can use this fine widget’s tag function to display any book you’ve already marked as completed.
    Thanks for the widget, most interesting.
    http://www.chrismerriman.com

  11. Comment by Tristan — October 5, 2006 @ 5:12 pm

    Where do I set the options? I suppose I could hard code them, but that hardly seems like the right way to do it

  12. Comment by Tristan — October 5, 2006 @ 5:37 pm

    I figured out how to set the options. I had to install the widget plugin, then I was able to configure it under presentation

  13. Pingback by TristanHavelick.com » Upgrade of AllConsuming Widget — October 5, 2006 @ 6:22 pm

    […] I’m new to WordPress, and I happened upon Ali Hassan’s Wordperss Widget for AllConsuming.net. Its a great little widget, but I found that you had to modify the source to show completed items, and there wasn’t a good way to show both completed and incomplete items. So, I decided to add ‘Completed’ as an option in the widget. You can download the plugin below. For those that haven’t used it before, here is how to install it: […]

  14. Pingback by TristanHavelick.com » Upgrade of AllConsuming Widget — October 5, 2006 @ 6:34 pm

    […] I’m new to WordPress, and I happened upon Ali Hassan’s Wordperss Widget for AllConsuming.net. Its a great little widget, but I found that you had to modify the source to show completed items, and there wasn’t a good way to show both completed and incomplete items. So, I decided to add ‘Completed’ as an option in the widget. You can download the plugin here. For those that haven’t used it before, here is how to install it: […]

  15. Comment by Tristan — October 5, 2006 @ 6:51 pm

    I’ve made a little update to this code to allow an option for “Completed” so you don’t have to edit the source manually. Details here: http://www.tristanhavelick.com/upgrade-of-allconsuming-widget/

    Ali – any chance you could update the version downloadable from here so everyone can benefit from my work?

  16. Comment by ben — November 1, 2006 @ 10:04 pm

    brilliance

  17. Comment by jack — November 6, 2006 @ 1:36 pm

    thanks for this ali-I set it up to work as a widget.

    btw-how did you get yours looking so dope-when I tried mine it was a kind of ugly list, rather than just the covers laid out as you have.

    I’m no css head so I’m struggling.

    cheers.

  18. Comment by Ali Hassan — November 6, 2006 @ 7:41 pm

    Hi Jack,

    I’m afraid the only way to alter the style of the widget is through CSS. Feel free to inspect (and use) the CSS that I’m using to style my lists. The stylesheet is located here. The rules for the All Consuming widget are at the bottom of the page. Good luck!

  19. Comment by jack — November 7, 2006 @ 10:48 am

    cheers mate!

  20. Pingback by Wordpress All Consuming Widget · Widgets WordPress — November 11, 2006 @ 10:30 am

    […] WordPress All Consuming WidgetDownloads: 0 […]

  21. Comment by ChrisM — November 12, 2006 @ 8:38 am

    Cheers for the credit on noticing a date completed was originally needed to display items. Most appreciated.
    Would I be right in guessing you are a FireFox user? Only reason I ask is your site has the same problem/anomaly as mine – where the main post has text/images that are wider than the standard column width, the sidebar columns get shunted down to the end of the post.
    As an example, open this page in Internet Explorer 7 or FireFox, then open it in Internet Explorer 6. FF/IE7 clip the offending image/text, where as IE6 displays it all and so loses the intended layout.

    Haven’t yet downloaded the new version of your plug in, but next time I update my site, I’ll take a look, thanks again for all your hard work.

  22. Pingback by Lonnieworld BLOG site » Blog Archive » Wordpress Plugins 2 add — November 20, 2006 @ 10:04 pm

    […] AllConsuming […]

  23. Pingback by This Week, I Have Been Mainly Using… - www.ChrisMerriman.com - Chris’ Blog - I Never Could Get The Hang Of Thursdays — December 8, 2006 @ 5:59 am

    […] All Consuming – This is responsible for showing which books I’ve read recently, and which I’m currently reading. I noticed a bug/feature in an earlier release, and the author kindly gave me credit for noticing how to fix the error. This problem has now been solved properly, but it was good to see my thoughts actually helped someone… […]

  24. Pingback by Vincent & Matt: This is my wish list — dionysus stoned — June 1, 2007 @ 8:58 am

    […] 2. Word press ‘all consuming widget’ that can be found here […]

  25. Pingback by WP Plugins DB » Plugin Details » AllConsuming — July 3, 2007 @ 12:37 am

    […] Visit […]

  26. Comment by Jim — July 23, 2007 @ 2:58 pm

    So, once you leave library thing, is there a way using only all consuming, to show books and music? Right now I’m doing the same thing. Music coming from one site, books from another. It’d be great to manage this all through one site.

  27. Comment by Ali Hassan — July 23, 2007 @ 7:01 pm

    Jim,

    That can be done very simply. In allconsuming, give everything you read a tag like “book” and every CD you listen to a tag like “music”.

    Now, go back to your wordpress site and add two instances of the AllConsuming widget to your sidebar. (There’s a box at the bottom of the widgets page asking you how many you’d like). Add two AllConsuming widgets to your sidebar.

    Set one to display items tagged “music” and the other to display items tagged “books”.

    The only reason I’m not doing this myself is that the covers look slightly better from the librarything widget. I have no idea why.

  28. Comment by Jim — July 27, 2007 @ 1:13 pm

    Hey! Thanks so much for the help. That worked out great. One more question, this time about formatting…

    You can see on my site, sadrhino.net, that the names of the books/music are under the pictures. I’d like to have them side by side (or maybe hidden like you’ve done)… I can’t however figure out where the formatting options are.

    Any help is again so much appreciated!

  29. Comment by Greg Huntoon — August 1, 2007 @ 1:17 am

    I’m telling you, the one thing that I want someone to build someday (and maybe I’ll have to be the one to do it if I can find some spare time, and some PHP skills) is to have a plugin that would link up your All-Consuming (or Last.fm) lists with Amazon, allowing you to make additional monies from referrals.

  30. Pingback by This Week, I Have Been Mainly Using… at www.ChrisMerriman.com — August 11, 2007 @ 10:53 am

    […] All Consuming – This is responsible for showing which books I’ve read recently, and which I’m currently reading. I noticed a bug/feature in an earlier release, and the author kindly gave me credit for noticing how to fix the error. This problem has now been solved properly, but it was good to see my thoughts actually helped someone… […]

  31. Pingback by Sadrhino » Managing it all from Word Press — August 13, 2007 @ 1:37 pm

    […] Ali Hassan’s AllConsuming Widget I like to use AllConsuming to handle my required blog “reading, listening, watching, playing” info since they have everything in one place and is much easier than doing say, Shelfari for books and Lastfm for music, etc… They have widgets on their site, however, the one I use was done by a user, and is a little more customizable. Only problem I’m having now is formatting the text to wrap around the images, but, it’s mainly because I’m too lazy to dig into the CSS. […]

  32. Comment by beth — October 29, 2007 @ 6:47 am

    Love this, but all I want to know is how to have the title of the book appear when you hover your mouse over it. This is driving me mad. Can anyone help me?
    :o)
    B

  33. Comment by Brad Fox — November 20, 2007 @ 2:30 am

    Hi Ali,
    Thanks for the *great* widget.

    Just a couple of quick questions – do you know of a good way in either CSS or the widget php itself to force the thumbnails to a standard size? I tried a couple of hacks to no avail.

    Also, for the life of me the “tags” function doesn’t seem to be working properly. I don’t know if All Consuming has changed the way they handle things, or it’s a WordPress 2.3 issue – but any time I try to limit the wiget to specific tag(s) I get no results. Any thoughts?

  34. Comment by Ali Hassan — November 20, 2007 @ 10:26 pm

    Hi Brad,

    I use the following code in CSS to set the size of the images:

    .LTitem a img {
    width:75px;
    height:125px;
    }

    If you check the CSS file for this site, you’ll be able to see all the CSS rules I use to style the list.

    I have no idea what is up with the tags not working, I’m afraid. It *should* work …

  35. Comment by Dawn — June 8, 2008 @ 10:06 pm

    Hi
    I love this thanks! But I am having problems with changing the tag from all to one I want.
    I am trying to set up 2 widgets as you suggested and have one for music and one for books simply by using tags “music’ and “books” and thought that was a great idea. However, I cannot do this. Whenever I change the all tag to music tag it displays no items at all. Checked the completed date etc and should all be ok. I have one widget set at the moment for my music and it is working all ok but I have that tag set to all and any books I have added I have made sure the completed date is set much later tht the items I want to display in my widget (until I can get this sorted at least). Can you suggest anything?
    Cheers and thanks
    Dawn

  36. Comment by frank — October 19, 2008 @ 8:35 pm

    how do i make my widget look like yours with no titles or text? just album covers in two rows of three.

  37. Comment by Dr. Junaid — October 29, 2009 @ 4:06 pm

    It seems like a workable widget. i would be gratified if you let me know how to upload the widget_allconsuming.php file to your plugins directory and to activate it.

    i am lame about adding widgets and files.

    thanks

  38. Comment by dienaifera — May 31, 2016 @ 3:22 pm

    Хотите попробовать себя в роли авиадиспетчера? Иметь подробную информацию о рейсах авиалайнеров? загрузите Flightradar24 Pro полную версию бесплатно на Андроид. С этого времени текущее положение воздушного судна, его высота, скорость и другая информация доступны Вам. Получите Флайтрадар24 Про только полную версию у нас на портале без регистрации и платы, чтобы получить шанс вида из кабины пилота. flightradar24 pro скачать бесплатно http://skachat-prilozhenie.com/prolozheniya/15-skachat-flightradar24-pro-polnuyu-versiyu-besplatno-na-android.html – flightradar24 pro скачать бесплатно, программа по взлому онлайн игрыпрограмма для взлома игр в alawarскачать программу для взлома в контакте пароль http://odno-ok.com/programma-na-android.html – скачать бесплатно программу взлом почты mail ru программа для взлома wi-fi соединениякак называется программа для взлома страниц вкскачать программу для взлома архивов с паролем

Leave a comment

Comments are spam filtered. Your e-mail address will not be displayed. Some HTML tags are allowed.

(required)

(required, but not displayed)