WP-Slimbox2 v1.0 Released!

It’s been practically a year since the last release, but I finally got up the motivation to mess with the code some more and add even more features to the already numerous possibilities within the plugin.

Release 1.0 includes several new options such as:

The ability to enable the effect on mobile phones (originally there was no option, but now it’s disabled by default).
The ability to control where the caption text comes from.
The ability to control what parent element to group images by.
The ability to render the caption as a URL to the original image.

Large portions of the backend of been rewritten as well and now the JavaScript files are entirely static, no more dynamic generation from php. This was accomplished by utilizing the wp_localize_script function of WordPress that let’s the options be loaded up in the main page, which is dynamic anyway.

If you localized the plugin in the past (or would like to now), please help bring your translations up to date!

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.


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.

Albert the Elephant

Somehow, while writing the previous post, I completely forgot about the most recent addition to the decorations in my condo (most recent meaning not works in progress). This would of course be Albert the Elephant, baby elephant to be more precise. He sits in the corner of my dining room, holding up a piece of round glass, but he apparently can’t hold it level. I’m gonna have to help him with that…


Godzilla vs King Kong

I know what you’re thinking. You’re thinking “Godzilla, that’s awesome….but why is it there?” I’ll tell you why, because it is awesome. Ok, it’s a bit more than that, but before I push the image too far down I’ll move to explaining beneath the image, so scroll down!


That’s right, down here, there you go. So, awesomeness aside, why do I have this silhouette of Godzilla posted? I’ll tell you why. Because I have an empty wall that needs filling, that’s why!

Since I first moved into my condo I found myself tasked with something relatively new to me, decorating. Back when I lived with my parents my decorating was pretty much limited to my immediate room, which 90% of the time consisted of some posters and piles of junk on my desk, bureau, and pretty much everywhere else. When I was younger I did get a set of G.I. Joe wall stickers that my younger brother and I split between our rooms, plus I’d earned some fake Indian stuff at summer camp. During college it was a similar deal, limited to my dorm room, and if anything, I decorated even less then. But now, now that I actually have a place of my own, with many many plain white walls, well, I feel the need to fill them with something. Not just anything, mind you, that would be even more boring than nothing. No, I need to fill them with unique, creative, manly things!

I think the first thing I decorated my walls with was a tin filled with three of my favorite things: Booze, Smokes, and Puppies – the Trifecta, the only thing missing was women, but that’s ok, 3 out of 4 of my favorite things ain’t bad (for those of you who don’t know me…booze and smokes aren’t actually in my list of favorite things…puppies and women however….). The Yeungling brewer tin has familial attachments, plus I just think puppies drinking booze and smoking is pretty funny. Check out a picture of this artistic delicacy here. In fact, the wall you can see in the background is ultimately the one Godzilla is all about, but I’ll get to that.

After the puppies adorned the area above my dining room I got it in my head to mount my guitar. The fact that I’m still only capable of strumming a few chords is beside the point, a guitar on the wall is a sign of manliness. And so, with the help of my dad, I designed and built this. Which allowed me to mount the guitar like this. Manly, I know.

Some might consider two pieces of art/decoration enough and call it a day, but not me, no, I needed more. The longest wall in my condo is in my living room, and that in turn means it was also (and technically still is) the emptiest. Clearly, I needed to fill this space. My brother, Zareiff, who’s gallery is linked to on the right, is an artist, and so I came to him with an idea I had to fill this space. I needed a painting, a relatively large painting (when I say large I don’t mean like ‘The Last Supper’ large, just 36″x48″ or so large), and painting that will be the pinnacle of awesomeness and manliness. I don’t recall how specific my original idea was, or which portions of it were his ideas, but what I do know is that I wanted something local, with the DC landscape. I also wanted it to be personal, so I would be a central character in the painting. And, of course, it had to be manly, so it would involve violence! Ultimately the idea culminated into a chaotic version of the DC landscape in the background, while in the foreground myself and Christopher Walken (both in giant form) would tower over the monuments while engaged in mortal combat.

I know, you’re speechless, aren’t you? Could anything possible be more awesome? No, it couldn’t, but something might come close. Sadly, the painting hasn’t developed beyond the conceptual stage, and the canvas purchasing stage, but it will get done.

Now you’re definitely thinking “That’s plenty of decoration,” but you’d be wrong. No, with the painting still unpainted, I only had one piece of decoration in the living room. That wouldn’t suffice, no, so I purchased one of my brother’s earlier paintings to hang above my TV. A painting of Cobra Commander, what could be more awesome than a painting of the most infamous fictional international terrorist ever to live (in a fictional world)? Well, the aforementioned painting, clearly, but other than that, nothing, I suspect. See what I mean by taking a gander here.

All of that, but there’s more! “How could that be?” You say, “You can’t possibly make such a place more awesome.” You’re wrong though, and I’ll tell you why. Seeing just how awesome the guitar mount turned out, and considering I have a very nice trombone (that I can actually play much better than the guitar) I decided to make a trombone wall mount. Again my dad helped out here, and he admittedly probably came up with more of the design on this than I did, plus he cut out the actual “handles”, though I did almost all of the backboard for it, and he dug up some nice felt to put in the handles to prevent scratches. It’s not finished yet, but once I’m home for the holidays I think it’ll get wrapped up.

And now to the last element on my list of decorations, or planned decorations – those manly things that make a home unique and personal…and the very subject of this post….Godzilla vs King Kong!

There’s a barren wall in my dining room that gets prominent viewing to anyone walking through the condo as well as plenty of light, but I couldn’t come up with a way to fill it. I’d kept thinking pictures, except, I have no pictures to put on the wall and had no desire to go on a photography kick, especially since it’d take me forever to take any worth putting on the wall. No, I needed something else…something…manly! And then I had an epiphany. I saw Godzilla…fighting King Kong…on my wall! Yes, pure genius, but instead of being a painting, or being painted on to the wall, I wanted it more subtle, but still something I could take with me if I moved. Something thin to be placed up against the wall, a silhouette cutout, but what material? Discussing the matter with my brother I believe we settled on vinyl of some sort, but I’m not positive. And now he’s begun to craft out the designs, once of which is included at the top of this post! He also sent me a King Kong, but he had a beer belly…that’s not gonna fly…

And there you have it, the explanation, the most awesome and manly condo ever – that’s what I’m going to have.

Before I forget, if you’re reading this post while it’s still at the top of the page, how awesome does the graphic look, what with the transparency and the way the tail curls under the menu on the right? Now I want to come up with a way to fix it in place…too bad my knowledge of CSS is crap…but I’ll figure it out, eventually, maybe…..

Busy busy…

I’ve been told I need more content, plus more women of questionable virtue, and tales from EvilCorp.

Sadly I’ve been horribly busy lately and just haven’t had time.

I have noticed, strangely, that the spammers seemed to disappear for several days, but then I got hit by 5 or so this morning. I guess we’ll see if they start up again.

I’d been working on Interdementia during my metro rides home, but lately I’ve just been too tired. Hopefully that’ll change.

As for women of questionable virtue, if you know any, send them my way 😉

Attack of the spammers

You know your blog has hit the bigtime when it starts getting spammed heavily.
Actually, it probably just means I’ve hit an inroads with whatever it is that populates the morons database. Luckily WordPress has settings that let you approve comments before they’re posted so I can stay on top of this crap.

Unfortunately, it appears that of the 31 comments I’ve gotten over the life of the site, 7 were legit, 24 were spam – but at least one of those legit comments was from a complete stranger, that’s a start, right?

Vote for Lando Calrissian

I wish someone had told me Lando was running before I went out to vote today. He even filmed an ad in the DC metro (at least it looks like it to me).
If you haven’t voted yet…then you’re probably not on the East Coast….but I’d strongly recommend you vote for Lando.

See more funny videos at Funny or Die