Yearly Archive for 2009

WP-Slimbox2 v0.9.7 Released!

The latest version of WP-Slimbox2, v0.9.7, has been released.

Major changes on the user side include the addition of the wonderful jQuery Farbtastic colorpicker Javascript, created by Steven Wittens and a new key code detection script (written by me) that allows you to simply type the keys you’d like to use instead of looking up their key code.

Major changes on the backend include a rewrite of the core to utilize the WPlize class to clean up the code and minimize database calls by utilizing a single database entry and utilizing an array to store all the variables.

Major changes for people who don’t speak English, or would just prefer to use their native tongue, we’ve added Dutch/Nederlandse and French/Français to the list of supported languages. Thank you nv1962 and Jandry for your efforts, and to all the translators for bringing their translations up to speed.

That means WP-Slimbox2 is now available in Dutch/Nederlandse, English (of course), French/Français, German/Deutsch, and Spanish/Español.

Hopefully the list of supported languages will continue to grow. If you’d like to contribute a translation, or have suggestions please post a comment and check out the support forums.

Calling Translators/Localizers

For those of you who are unaware, WP-Slimbox2 has had Localization support since v0.9.4, and support for RTL Localization since v0.9.5.

Unfortunately, what I do not have are localizations, Spanish/Español aside.

So I’m putting out the word, on my mostly unread blog, requesting people to provide translations! It uses the standard POT file method, the same as WordPress, so just load up the POT file included in the languages sub-directory of the plugin package in your PO editor of your choice (such as POedit) and get to work. You’ll also need to create image files for the Next, Prev, and Close displays. Look at the default English files, as well as the Spanish files, if you want examples.

I’d really like to be able to serve as many people as possible with the plugin, but I can only read and write English and don’t see myself becoming a linguist any time soon.

If you’d like to contribute, please leave a comment here, as well as on our support forums where I’ll set up a special localization thread a bit later.

Thanks!

Trombone Mount – Finished

As I’d mentioned in the Godzilla post, I’d been working on a trombone wall mount, and had very nearly reached completion. I’m glad to say that during the Christmas holiday I was able to complete that project, thanks in great part to the efforts of my dad. While the idea had always been mine, and 70-80% of the work was mine, I likely wouldn’t have been able to do it without his guidance. Plus he had all the tools and stuff, and the wood, and he did cut out the handles. He also applied the felt.

Here is the completed work:

Trombone MountTrombone Mount - Filled

If you haven’t figured it out yet, click both of those to see the larger images – speaking of which, utilizing the new plugins I mentioned below.

Gallery Integration and jQuery Slimbox WordPress Plugin

I added two plugins today regarding images galleries. One of them was to more directly integrate the gallery I already use, Gallery2, with WordPress. It’s called WPG2 and supposedly makes it easier to insert images into posts and so forth, though I’m still trying to figure out how it all works. Another nice feature is that it supposedly supports lightbox and slimbox display effects, I was unable to get these to work, but since it supported those effects with separate plugins I tried the numerous ones available for WordPress and was able to get the effect. Unfortunately most of these effects used JavaScript frameworks that weren’t already loaded on my page (MooTools, prototype). Since my page uses the jQuery framework already (thanks to the K2 theme and my work on the Multi-Level Navigation plugin) I really wanted one that would use it so I could cut down on load times.

As it turns out, there was one option, jQuery Lightbox Balupton Edition which worked ok and obviously did use jQuery, but it had a few really annoying aspects to it, like the big advertisement in the upper right corner when you used the effect, plus the name was ridiculously pretentious. For some reason several of the plugins I tested also had issues where the dropdown menu wouldn’t properly situate itself into the background either (though I could resolve this by changing my menu’s z-index).

What to do? Well, I searched around the WordPress plugin repository, that’s how I found the various plugins that I did test, and then I tried a few internet searches. That’s how I stumbled onto Slimbox 2, the ultimate lightweight Lightbox clone for jQuery. Unfortunately I couldn’t find a WordPress plugin for it, fortunately the javascript itself really just needed to be loaded up, the gallery plugin already added in the lightbox cues (though the JS also will add them in for images that don’t have them). Ultimately I could’ve just hacked it into the code, or probably plugged it in with a K2 hook, but I figured it be better to just write a new plugin to do it, so I did. Currently it’s basically just a tiny php file that tells it to enqueue the javascript, points to a CSS file, and has a few image files, but I’ll see if I can maybe flesh it out, after I look over what capabilities Slimbox 2 provides. I’ll also likely want to figure out how to properly credit the author of the script, but assuming I can figure it all out I’ll likely release it for others to use too.

Let me know what you think.




Bear