WordPress Upgrade to 1.5.2

Finally got around to upgrade my blog to WordPress 1.5.2 (from 1.5.1.3). While I was at it, I also upgraded Brian’s blog to the latest version since I am hosting it anyway. Good thing WordPress is fairly easy to upgrade, unlike phpBB, a good (but hard-as-hell to upgrade) forum application.

Speaking of Brian’s blog, It seems like all of a sudden Brian unleashed all the drafts he’d saved up for the past few weeks. I guess I got my reading cut out for me tonight.

WordPress “Official Comment” Plugin

I thought it’d be cool and be even more egomaniac to make my own comments become stand out a little more from everyone else’s with this plugin.

1. Download Official Comments plugin in.
2. Place and unzip the file in /wp-contents/plugins/ directory
3. Edited /wp-contents/themes/_theme_of_choice/comments.php and added the following to line 29 (adds a nice css style to the comment box):

1
< li class="comment <?php echo (is_wpuser_comment() ? ' commentOfficialUser' : ''); ?>" id="comment-&lt?php comment_ID() ?>">

4. On the same file, also added the following to line 30:

1
<?php if(is_wpuser_comment() != 0) {echo "Official comment from ";} ?>

5. Complete the set up by adding the following css code to /wp-contents/themes/_theme_of_choice/style.css

1
2
3
4
.commentOfficialUser {
        border: 1px solid #bbb;
        background-color: #ddd;  
        }

WordPress “Comment Preview” Plugin

Added a preview window in the “comments” section:

1. Download Comment Live Preview plugin.
2. Place and unzip the file in /wp-contents/plugins/
3. Edited /wp-contents/themes/_theme_of_choice/comments.php and added the following to line 98:

1
<?php live_preview() ?>

Not that you guys don’t already know what you are typing, it’s just nice to see everything pre-formatted right in front of your eyes before it’s submitted.

Online Registries

When Grace and I were getting married, we wanted to have the option for our Asian friends to give us cash instead of a registry of gifts. Besides, we’d already got almost everything we need. A registry would be redundant. After some research, I was surprised that Felicite is the only place online that offers cash as well as product registry.

I am sure there are other services available nowadays. But Felicite was the only option at the time.

On this, Murdza mentioned an idea to help finance a new house for a couple: An interactive illustration of the house with clickable items available for donation. In other words, if I wanted to donate an entire door, I can click on the door and add that to my donation cart. Once it’s done, my name would appear on the door as the donor (just on the illustration, of course). Pretty cool idea.

Switcher’s Friend

Outlook2Mac image If you or know anyone who’s considered switching to the Mac but was held back because they couldn’t figure out what to do with their gazillion emails and attachments, Outlook2Mac is the answer.

A while ago at my last job, I had to look for a solution to easily transfer everything from the CEO’s dying Sony Viao laptop to her spanking new 12″ PowerBook. It took me a while to exhaust all solutions on the Outlook (and the attachments) issue. Finally I broke down and bought Outlook2Mac. It’s one of those life-saving specialty softwares you think you’d never use.

All that work, though, went to waste. She soon switched back to an IBM Thinkpad and just didn’t see the usefulness in her PowerBook. She claimed that it was an unreliable piece of metal. But I think its unreliability may have something to do with her knocking it against walls/tables/grounds a few times.

Pirates Are Here

Pirates of Silicon Valley DVD set And we thought this day would never come. It’s on DVD!! What were the distributors thinking to even put out a VHS version?

Murdza, our wait is over… The Gospel is spreading…

It was worth the wait, damn it!

Friends and family, you know what to do when the next great American tradition of gift-giving season is around…

A Car Fit for a God

There are a few things I can’t stop wondering about Steve Jobs…
1. What kind of car he drives…
2. What kind of cell phone he uses…
3. What kind of PDA he plays with…
4. What kind of mouse he used (before the “Mighty Mouse” )…

Well, today I finally found a site that gave me an insight to SJ Obsession #1. According to an ex-employee, he drives a Mercedes MB SL65, BMW Z8 and some sort of Volvo wagon. And none of his cars has license plates; posts on the site claims that since his license plates kept getting stolen, local law enforcement agencies struck a deal with him…. Nuts.

I am also happy to report that I also got my SJ Obsession #4 resolved. Just driving by his house would be like taking a peek at God’s house… Murdza, I will send you a picture of it if I don’t die snapping a shot of it first… Steve has rights too… So I don’t think I’d be publishing a picture of his house on the Internet for all to see.

Recent rumors of him jumping into the CA governor race is just silly. But I wouldn’t mind helping with his political campaigns if he did run. Seeing how he revived, reinvented Apple and made it relevant again, California sure could use a governor that can pull its current state of financial and educational slump out of the gutter.

via [The Unofficial Apple Weblog]

Original Unix Lab Dismantled

The original lab that invented Unix at AT&T has officially been shut down. This very team started it all: FreeBSD, OpenBSD, HP HP-UX, Compaq Tru64, Linux (RedHat, Debian, Slackware, Gentoo… etc), SCO Unix, IBM AIX, Sun Microsystems Solaris, SGI IRIX and then of course, Mac OSX, all of which derived from the original Unix conceived at the Bell Labs.

And then there is Microsoft, DOS and then Windows (3.1 through XP), the legacy Mac OS, and let’s not forget OS/2. There are others that never made it to the mainstream, but who cares.

After looking at this large list of Unix operating systems v.s. the rest, it’s a no brainer that Apple decided to go with a Unix-based strategy to capitalize on its maturity and stability.

WordPress Post Made Easy

I finally got around to do this hack. In order for me to post a new entry, I have to login, go to “Site Admin” panel and then click on “Write” to post. I have hacked the site to have a “Post New” link under “Meta” when I am logged in.

1. Open and edit “/wp-includes/template-functions-general.php”
2. On line 50, I added

1
2
 .
    $link = $before . 'a href="' . get_settings('siteurl') . '/wp-admin/post.php">' . __('Post New') . '' . $after;

NOTE: Don’t forget to add the < sign before "a href". I had to take it out becuase WordPress thinks that line of code is an active http link. Also, the dot on the first line should not be omitted.

Now I can post new entries with just one click.

WordPress Footer Problem

Kyung emailed and said he found an issue with the footer when going under any of the categories. The footer was pretty badly misaligned, making the page ugly as hell.

i checked out ur blog… pretty funny… but,
there’s a problem with the “Mac – OSX” section…
the footer is not aligned with the page…

At first I thought it must be his crazy Linux browser. But then, as always, he was right! Stupid footer…

WordPress footer alignment problems

After almost an hour of looking for the problem at all the wrong places (style.css, page.php, index.php… etc), I finally nailed it down and fixed it.

1. Go to “/wp-content/themes/_theme_of_choice/sidebar.php” (of all places!)
2. Added an end div tag back to the end of the file (where the sidebar.php file finishes and footer.php begins).

I must have deleted it by accident after I added the Google Ads a while back.

More Safari Extensions

Came across this while reading old blogs from Gizmodo. Saft is an app that bundles a good collection of features that are currently missing in Safari. Just to name one I can’t live without — crash protection. Safari has serious issues with performance when opened for an extended period of time, and sometimes it crashes without warning. What crash protection in Saft does is it saves the current tabs and their URLs at the time Safari crashes and gives user the ability to retrieve those URLs upon relaunch.

Another cool feature is the ability to manually shuffle the tabs and rearrange the order; something that’s in existence in Firefox already.

Pimp My Safari has more stuff on improving features that Safari currently lacks.

Also, OpenDarwin keeps a webkit blog (the core technology in Safari) with interesting updates from time to time. This particular entry deals with memory leaks, which Safari is notoriously known for.

via [Gizmodo]