Dell Mini 10v unboxing
So the Dell Mini 10v that I’ve been waiting for since Christmas came in yesterday. What a great little machine. Right now I’m calling it the Macbook Mini since I installed OSX shortly after taking it out of the box.
Unfortunately the first thing I had to do was downgrade the BIOS, which was a little stressful, but after that it was smooth sailing. Here are some photos of the unboxing: Read the rest of this entry ›
Published: December 30th, 2009 in Tech | Tags: Dell, mini, osx
WordPress login/out
Lately I’ve been putting a login link in the footer of my site, but it’s also nice for that to be a logout link when you’re already logged in as well as inserting a link to the site admin section. This line of code does exactly that:
<?php if ( is_user_logged_in() ) { echo "<a href='" . get_option('siteurl') . "/wp-admin/'>Site Admin</a> |"; } ?> <?php wp_loginout(); ?>
Published: December 30th, 2009 in Wordpress | Tags: admin, Theme, Wordpress
Blogroll Links Favicons
I was recently having problems with the Blogroll Links Favicons WordPress plugin. The plugin gets the favicon for all the links that you have displayed on any given page using the WordPress links system. The problem was that the standard way the plugin does this is to add a new anchor link inside the list-item for each link. This was a problem for me because the anchor links were styled, so when I added the plugin everything was messed up.
I thought it would be better if the plugin just set the background image of the anchor link that was already there to the favicon and indented the text of the link. I’ve sent an email to the author of the plugin requesting that he make this the default way to display the favicons, but just incase that doesn’t happen, here’s the code that makes it happen:
Read the rest of this entry ›
Published: December 30th, 2009 in Wordpress | Tags: plugin, Wordpress
FancyFlickr Authentication
There have been a few people that have already let me know that FancyFlickr doesn’t work with hidden/private photos. Unfortunately the class that I’m using to power the plugin doesn’t have any way to authenticate. This isn’t a huge problem, as I’ve found other classes that do authenticate. The only problem is that the only one that I’ve found and like so far requires PHP5 and PEAR. Here I’d like to ask what the users of the plugin think. Should I continue on the current path — without authentication, or should I switch to a new class with these strict requirements. I’m have no idea how many shared hosting companies support PEAR, but it should be hard to find out if your hosting company does. I’d also like to hear from other developers to get their take on which route to take.
Read the rest of this entry ›
Published: December 2nd, 2009 in Web | Tags: authentication, flickr, PHP, vote