Most Commented Posts plugin

Most Comments plugin in actionThis plugin has been replaced by Mini Stats.

This plugin creates a section in your blog sidebar that lists the most commented posts on your blog. It's an easy way to keep track of your most popular/controversial posts. It may even lead to those posts getting more comments.

Requires b2evolution 1.7 or later

  1. Download this file: _mostcomments.plugin.1.7.txt.
  2. Remove the .1.7.txt from the filename and upload it to your b2evolution plugins folder.
  3. In the backoffice, go to Settings > Plugins and find MostComments in the list. Click "install".
  4. Add this bit of code in your skin where you want the list to appear:

    // MostComments plugin:
    $Plugins->call_by_code( 'mostCmts', array(
    ) );
    // Add parameters in the array.

    You can edit the limit value to make it show more or less in the list. If you want an unordered list instead of an ordered one, then you can change those tags, too.

Misc info
If you're interested, you can check out the forum thread where the idea for the plugin came from. Thanks to MarcDK for suggesting it. And here is the most commented post on my blog. Actually, my wife wrote the post. A lot of people have strong feelings on this issue.

Bookmarklet 2 Plugin

Quickly blog about another webpage. This plugin automatically adds a link to the page into the body of your blog post.

Requires b2evolution 1.7 or later

  1. Download this file: _bookmarklet2.plugin.php.txt.
  2. Remove the .beta.txt from the filename and upload it to your b2evolution plugins folder.
  3. In the backoffice, go to Settings > Plugins and find Bookmarklet 2 in the list. Click "install".

This is just a slight modification to the Bookmarklet plugin that comes pre-installed with b2evolution. I'll explain how that one works, then tell how mine is different. A bookmarklet is a link that you find in the Tools tab of the backoffice. You right click and choose to bookmark the link (or 'Add to Favorites' for Internet Explorer users). Then, when you're browsing a web site that you want to blog about, just click on your bookmark (I keep mine on a toolbar where it's easy to get to) and as soon as you do, a window pops up with a trimmed down version of the b2evolution backoffice. It automatically adds to your new blog post a link to the page you were on when you clicked the bookmarklet. And if select some text before clicking, it will get added, too. My version of the plugin is just like the stock version, except that it adds the link to the post body, rather than to the "Link to URL" field (which I never user).

Misc info
This was originally a hack I made right after switching from Movable Type to b2evolution. Some of the people I share a site with wanted the bookmarklet to work the way it did in Movable Type.

Polyphasic sleep

I've always been intrigued by the stories about guys like Thomas Edison (oops, I guess the stories about Edison's sleep patterns are just legend) who slept only a few hours a day in short naps. I don't know if there's much scientific research on the subject, but I just read the journal of a guy who set out to try it for 30 days. He started taking six 30-minute naps per day. He's pleased with the results and said he doesn't plan on going back to normal sleep. He's gone almost 90 days now. The first week is pretty hard, but after that your body is trained to enter the all-important REM sleep almost as soon as you fall asleep. Interesting read.

(via Digg)

Emma the gymnast

Emma turning a flipI just posted a new photo album. Emma was showing off her new gymnastic skills and just generally hamming it up.

Wedding Crashers

Wedding CrashersAnd the award for most overrated movie of 2005 goes to . . . Wedding Crashers. We heard this was one of the funniest movies of the year, but it's more like a 2 hour snooze fest. We laughed out loud maybe 7 times in the whole movie. Most of the time it felt like they weren't even really trying to be funny. Even an appearance by Will Ferrell in the third act couldn't save this thing. I've never thought Vince Vaughn was funny, but I expected better from Owen Wilson. I guess he doesn't have what it takes to carry a picture without the likes of Ben Stiller.

The State

The State rock musicI got an email the other day announcing the web site for a Columbia rock band called The State. Joe, the lead singer, is a good friend of mine. He was the leader of the small group where Sara and I met. He's always been in one band or another as long as I've known him (Yellow #5, SPF30, Walking Dust). We've seen him perform on the Truman campus and at the Blue Note in Columbia. I hadn't heard from him in a while, so it's good to see that he's still playing. Check out their website. You can listen to a couple of songs and you can buy their cd.

New features in Windows Vista

These new features in Windows Vista look pretty sweet. I wish I had a computer that did those things. There's also a follow-up video.
(via Digg)

Be gentle

Busted miceSomeone brought me their computer this weekend because their mouse wasn't working. They had replaced it, but the new one wasn't working either. I was hooking up the computer in my workshop to see if I could find out what was wrong. As I hooked up one of their mice I notice that the pins in the plug had been smashed down flat. The new one and the old one were both like that. I photographed them with a good mouse on the right side so you could see the difference. So, I found the source of the problem (and had a good laugh) without ever turning the computer on. Rembember, be gentle. I tried bending the pins back with tweezers, but they're beyond repair. Click on the image on the left to see a bigger version.

Update: On Josh's suggestion, I made a poster with this image.

Mike is engaged

Mike and AngieCongratulations to my brother Mike and his girlfriend, Angie. They got engaged this week! I think I can speak for the whole family when I say that we're happy to welcome Angie into the clan. Emma especially likes her. She declared that Angie was her twin. After she blew out the candles at her fourth birthday party she said, "Ask me what I wished for." We did, then she said, "I wished that Angie would be my twin FOREVER!" Later that night Mike proposed, so I guess she got her wish. Congratulations, guys.

Random Palette Generator

I was browsing the color palettes at for a web design I'm working on and the thought occurred to me: There are so many colors here that I might as well be looking at some randomly generated palettes. So, I made a script that creates just that: Five randomly generated hex colors, complete with codes so I can copy and paste if I see something I like. So, I give you:

Danny's Random Palette Generator version 0.00000001

You keep up the low expectations, and I'll keep up the shoddy work.

1 ... 29 30 31 ...32 ... 34 ...36 ...37 38 39 ... 105