Archive for 2005

Installed TimeofDay

This is the cutest plugin. :-)

update 8-20-05 I’m not using this plugin with WP 1.5.

WYSIWYGII

I tried using WYSIWYGII and it has potential…. but it makes sucky looking HTML and doesn’t fix the escape-code issues with WordPress (where lots of code like slashes and quotes get left behind) So I’m not using it.

Installed Related Posts

It looks useful. From w-a-s-a-b-i.com

Windows XP Service Pack 2 is good for something

Win XP SP 2 allows you to set a PPPoE connection as a default connection instead of having to dial it. That means that it will automatically dial the PPPoE connection when its needed. That’s nice.

Created and Installed Words in Post Plugin

I’m proud to present my first WordPress plugin, Words in Post. All it does is count up the number of the words in a post and spit them out. By sticking this code in the index.php template of WordPress, I can create a title line that looks like this:

Geekery � 49 words � lee @ 2:50 am

This is better than using the following simple grab that I had heard about here.

<?php echo(str_word_count(get_the_content())); ?> words

The preceding doesn’t grab anything past the <!--more--> and counts tags incorrectly.

Thanks to Nick Momrik for the inspiration.

 

1-15-05 update: Version 1.1. Thanks to Alderete’s suggestion, the function returns a number instead of echoing. See the php for instructions.

Download Words in Post plugin version 1.1 here. Rename it from .phps to .php and run with it.

Installed Nicer Archives

I just installed “Sortable Nicer Archives for WordPress” from weblogtoolscollection.com. It is tres snazzy. Check it out here.

HP PSC 2510 wireless network installation

I had a problem re-configuring an HP PSC 2510 photosmart all-in-one printer. I wanted to change the router that the printer was connected to.

The stupid blue light on top of the printer wouldn’t come on, indicating that it was connected to the router via ethernet.

The key turned out to be: unplug the printer for 2 full minutes. After that, when I turned it on, I got a network connection and could continue installation.

Full instructions for configuring the printer on a wireless network:

  1. Unplug printer for 2 minutes
  2. Plug printer into router via ethernet
  3. Turn on printer and wait for blue light
  4. Install HP software. Note that it takes 30 minutes
  5. The printer will eventually be assigned an IP address. It might take 2 full minutes longer than you think it should. Go to the Network setting on the printer and print out the network configuration
  6. On the computer, go to http://nnn.nnn.nnn.nnn to set the SSID, WEP, etc.
  7. Disconnect the printer from the router.
  8. The printer’s blue light will turn off. It might take another 2 minutes for the light to come back on. If it doesn’t, check the network settings on the printer to make sure that the radio is on.
  9. Revel in the wirelessness of it all.

Installed WordPress Backup Scripts

Works like a charm. :-)

Author: LaughingLizard (dinki@mac.com)
http://weblogtoolscollection.com/
http://mindfulmusings.net/weblog/

Thanks LaughingLizard!

Alternating Colors for Posts Hack

This hack was originally made for WP version 1.2. It works with 1.5 though the line numbers mentioned are a little different.

This is a derivative of the Alternating Colors for Comments change

In Index.php, add what’s in red in line 34 like so:
<?php if ($posts) :$i=0; foreach ($posts as $post) : start_wp(); ?>

Replace line 40:
<div class="post">
with the following:
<?php if($i%2) {echo "<div class="post-even">";} else {echo "<div class="post">";} $i++ ?>
To finish it off, add a class in wp-layout.css like so:
.post-even { background-color: #EEEEEE;}

And gosh darn it, I can’t figure out how to do proper code quoting. The entries
above do NOT display correctly. The double quotes inside the echos need to be
escaped with a slash just before them. Sorry I can’t display them properly in
Wordpress!
 

Plaxo is imperfect

I’ve been using Plaxo.com’s free address updating software for over a month now and I’m very happy I got it. It works peachy.

Yesterday, however, I got a Plaxo update that…. well it wasn’t a Plaxo update. My cousin Deann sent me a letter that had been forwarded a few times and… I don’t know, there must have been some errant headers in it because Plaxo on my computer thought that it was a real update. It wanted to update Deann’s address to some crazy values that the program had sniffed from the email. The important part here being that if I had set Plaxo to automatically update my addresses, her old / real address would have been overwritten!

Plaxo’s pretty darn good but it isn’t perfect. The moral of the story is that you should leave "Accept Changes to Contact Information Automatically" in the Advanced Options group off.