U5I Blog

A programmer’s handbook.

Lightbox 2 and WordPress 2.5

I used to use Lightbox 2 plugin from Rupert Morris. However, up to today, this plugin is still not compatible with WordPress 2.5.1

But the good new is, the alternative one works just fine. If you want to add cool Lightbox to your WordPress and don’t want to wait for update, do the following:

1. Install Lightbox-auto. (optional)

This plugin for Wordpress automatically add the rel=”lightbox[ID_OF_THE_POST]” to images linked in a post. So you will never have to add rel=”lightbox[ID]” when you write a new post.

2. Install Wp-lightbox. (Required)

The alternative of Lightbox 2. It is a plugin that turns linked images into neat Javascript-powered overlay popups.

3. Install Flexible Upload. (Optional)

Flexible Upload is a plugin for Wordpress 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.5 to enhance the image upload functionality.

For wp-lightbox, in order to see the “Previous” and “Next” links, you will need to tweak line 45 of the lightbox.css file to read width: 45%

Here it is inline:

#prevLink, #nextLink{
width: 45%;
height: 100%;
background: transparent url(../images/blank.gif) no-repeat;
display: block;
}

Free online backup, files hosting

You have some many files on your hard drive and want to backup them? You don’t have to buy an external hard drive or burn them to CDs. You can simply enjoy the free file hosting service from the following two sites.

1. Mozy.com

About this company:

Mozy Online Backup is the preferred choice by Walt Mossberg of the Wall Street Journal, Christopher Null of Yahoo! Tech and winner of the PC Magazine’s Editor’s Choice Award. It is the most secure, feature rich and inexpensive backup service in the world.

What you can get for free?

You may choose Mozy Free or Mozy Unlimited. Mozy Free offers 2 GB of automatic, secure online backup for free. Mozy Unlimited offers unlimited, secure, reliable online backup for $4.95 a month. Both services allow consumers to perform an unlimited number of restores via the web or Windows Explorer.

2. Yousendit.com

About this company:

YouSendIt is the No. 1 digital file delivery company serving business and individuals businesses who want a easy, secured, reliable and faster way to SEND, RECEIVE and TRACK DIGITAL FILES. YOUSENDIT SOLUTION: They replace the hassles of dealing with unreliable FTP servers, eliminate the frustrations of bounced email attachments. With YouSendIt you also save time and money not having to burn CDs and using expensive overnight couriers.

What you can get for free?

FREE TRIAL: They’re offering a free 14 day free trial of their services with no obligations and no credit card required. There are three free trials to choose from: YouSendIt Pro account for individuals, YouSendIt Business Plus for businesses, and YouSendIt Corporate Suite for enterprises.

After the trial period expired, you can sign up again for a new account, so that you can enjoy the free service for a longer period of time.

Why ubuntu is starting to attract more people? It’s free, of course. Also, it has some cool plug-ins that make your desktop look very different from Microsoft Windows. They are very cool! Let’s look at the most famous one: compiz fusion.

First, let’s watch a short demonstration video:

After watching this, what’s your first impression? I think you are eager to have these effects on your computer. Unfortunately, if you are using Windows, you can’t. However, if you are using ubuntu, please follow this detail guide to install these two plug-ins:

  • compizconfig-settings-manager
  • emerald
  • The guide is written for Nvidia video cards, but it would be the some procedures for ATI cards.

    I hope you will finally configure your desktop like the followings:

    How to install c compiler in Ubuntu?

    The first time I installed Ubuntu, I couldn’t run make, run command for C programs. The reason for it is that Ubuntus default installation doesn’t have the compilers installed.. (dont know why). actually they are in the Ubuntu-CD, but you have to install them separately.

    You can install the compiler by using the following command.

    sudo apt-get install build-essential

    « Previous Entries