Archive for December, 2005

You know you belong to too many forums when…

Friday, December 30th, 2005

You get like a million “Happy Birthday from <Site>” emails! I didn’t even know I signed up on some of them, and some I don’t even recognize.

Still cool, though :-D At least vBulletin didn’t forget! ;-)

New Desk

Thursday, December 29th, 2005

Ever since we moved into our new house, I’ve been complaining that my computer desk in my room was too small. It basically had only room for my monitor and keyboard. This made it impossible to do anything productive (that is, it served well as a storage unit for junk) like writing homework etc.

So today we went out and searched for a desk that would actually fit in my room. My room is not all that large and is somewhat awkwardly designed, so I cannot just place things in any which direction. I’ve got a double-bed which takes up a good 1/2 of the space, then a shelving unit I keep books and misc. things on, and then a dresser. I’ve got them all placed just so, leaving about 1/2 (across from my bed) clear for the would-be desk.

We’ve searched for desks before, but gave up the search because it didn’t really uncover anything that would actually fit nicely. But today, we went back to Staples business depot and had another look at their desks. I settled on one, bought it, got it home and assembled it.

Wow, it is huge. Really, it’s quite large. Well, in comparison to the size of my room it’s big. When you first walk into my room, it looks like it’s out of place but I don’t care — I really like it. I’ve got desk room to work on multiple things at.

So that’s todays adventure. Nothing too interesting, but I thought it was time to finally post again ;-) I upgraded to WordPress 2.0 and released a new version of my “Inline More” plugin, and I’m trying (without much headway, I might add) to make a working copy of my CodeHighlight plugin. The problem has to do with the new integrated TinyMCE post editor (it’s WYSIWYG). The script (talking JS here) likes to clean up badly formatted HTML, but it doesn’t let any plugins (talking TinyMCE plugins) to work on the text before. So before I can go in and change <’s to <’s etc, it’s already gone through and completely removed code :-( I don’t know of any way around it. I think it might have to come to simply creating a new popup window (kinda like how the Insert Image window comes up) that will let you paste code into it, and then do all the special text conversion then. I didn’t want to do that because it makes it messy when switching from WYSIWYG to HTML mode (and back), but whatever’ll make it work again… Btw, on the topic of TinyMCE: it’s a very nice, open source (LGPL) WYSIWYG editor that is easy to integrate into any web app. I think I might use it for some apps.

Anywho, that’s that. I think I’m going to download a new theme for Chroder.com. I’m too lazy/not-design-gifted to make a custom one, and it takes a lot of time to get right.

WordPress Plugin: Inline (Collapsible) More Link

Wednesday, December 28th, 2005

This plugin allows you to insert “more” links into your post. This differs from the default WordPress “more” link in that it does not take you to the single post page to reveal the rest of the content — it will show you the rest of the post immediately, in real time, without loading a new page.

By inserting the special text sequence into your HTML (<!–inline-more–> by default) or clicking the new toolbar button in the WYSIWYG editor, you can divide your post anywhere you wish. Since the special text sequence is different from WordPress’ own, you can still use it wherever you want to — you can even combine both in one post if you want to.

Download: MoreLink 2.0 Beta 1.2

This version is WordPress 2.1 Compatible.

Updated: Feb 10, 2007: Another small fix for WordPress 2.1
It’s come to my attention that the inline more plugin was cuasing problems with the visual editor. This has been fixed (just a small JS issue). You only need to upload the updated editor_plugin.js file; see the readme for details.

Updated: Feb 06, 2007: Fix for WordPress 2.1
Download the newest package (beta 1.1) to get MoreLink to work with WordPress 2.1. There are no changes other then getting it to work. WordPress 2.1 broke it because of the new feature that lets you define your own “Read More” text for the default ‘more’ tag; it was interfering with the inline tag. You just have to upload the new files and run an upgrade script. See the readme for upgrade instructions.