b2media

b2media Plugin in actionPurpose
This plugin gives you an easy way to add images and links for Amazon.com products to your posts. If you get an Amazon Associates ID and enter it in the plugin settings, then you earn a referral fee if someone clicks your link, then buys the product. Mostly, this is just a nice way to add an image to a post or to maintain a blog in your sidebar that shows what movies you're watching.

Installation
Requires b2evolution 1.7 or later

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

Usage
The plugin adds a sub-tab to the Tools tab in the b2evolution backoffice. You can search for Amazon products there, but that won't give you the option to add images into a blog post. To get that you need to go to the Write tab, then click on the button below the writing area that says "Amazon". This will pop up a window that looks very similar to the Tools sub-tab, but now when you search, each result has a button labeled "img". Click on that button to add the code to your post.

Amazon Associates Program
You can use the backoffice plugin settings to change the Associate ID that is added into the links. If you want to make a little money with this, then sign up for the Amazon Associates program (it's free), then log into your blog backoffice, go to Settings > Plugins > b2media and replace my ID with yours. If you're not interested in any of that, just leave my ID in there. You may end up adding a few cents toward my daughter's college education.

Sideblog
I like to use this plugin to create a section in my sidebar showing what movies, music and video games I'm consuming. I call it my mediablog. It's actually a separate blog in b2evolution that can be viewed on its own or included in the sidebar of my main blog. If you want to do something like this, then copy the code from this file and add it into your skin. Remember to replace the fives with the number that matches your mediablog.

Misc info
This plugin is based on Jaap's Free Amazon Script. I first released it as a hack for b2evolution 0.9.0.12. Installing it involved putting four files in two different directories. And it still didn't look or work that good. The plugin version is one file and it matches the look and feel of the b2evolution backoffice. I also fixed some bugs.

Most Commented Posts plugin

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

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

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

    <?php
    // MostComments plugin:
    $Plugins->call_by_code( 'mostCmts', array(
    'limit'=>5,
    'list_start'=>'<ol>',
    'list_end'=>'</ol>'
    ) );
    // 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

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

Installation
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".

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

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