Embed Lyrics

Okay this was kinda neat. It embeds lyrics from lyricsdomain in your blog post because someone wanted to do that. I suppose I should have on here to show what it looks like when it's doing it's job yah?

Read more »

 May 17th 2008 at 3:24am   permalink  comments

Factoring the Time

Factoring the Time

Seven Hacks for v242

All these zips are hacks to b2evolution v2.4.2, have the same path that your blog has (although you might not have a "blogs" folder), and contain the original files with _ORIGINAL in the name. I use these hacks so I know they work, but hey you got your own server and maybe your own hacks so you should examine the files with something like winmerge to see what I changed ... or how what I changed might fit in with your hacks.

Read more »

 May 11th 2008 at 9:09am   permalink  comments

Plugin translation helper now available

http://wonderwinds.com/translator/index.php is a 242 installation that exists to support my shiny new translator plugin. Translator doesn't translate, but it helps plugin authors by making a messages.pot file for you, and it helps translators by taking your messages.po file and giving you a _global.php file in return.

If you write or translate plugins go there and register. The "makes messages.pot files" part already works. The "makes _global.php files" part is pretty damned close to working. Being tidy is not happening yet, but hey function over form yah?

Long view: pre-translating files based on finding phrases in your new plugin that have already been translated. Cool eh? So like if your plugin needs "my dog has fleas" and someone else has already translated that string for another plugin then you automagically get that part translated to at least one language. That is way off in the future, but certainly not impossible given the way I've built the initial bits because everything is going into a database table.

Other stuff is in the works as well, but it doesn't work without a community of users sticking their plugins and translations in it. So if you write or translate plugins go there and sign up, and be patient with me about turning on your permissions. I got this stupid piece of shit job I go to is the thing. It pays so good it's almost worth the time it takes away from sittin' here playing with code ;)

 May 4th 2008 at 9:48am   permalink  comments

The original acidhead, gone

Albert Hoffman, 1906 - 2008
Thanks for the best buzz known to man, and have fun wherever you are.
 April 30th 2008 at 11:12pm   permalink  comments

Today is Earth Day

It is also Pennsylvania's Democratic primary day, so in theory today would be a great day to plant a candidate but I'm pretty sure you're not supposed to mix your activities like that. At any rate, Hillary is winning Pennsylvania and Barack is winning the nomination and the earth is losing ... well ... everything. Everything except of course the ability to shrug us off like dandruff if need be.

It is also the day my counter officially goes to 3 months straight and sober.

Read more »

 April 23rd 2008 at 12:08am   permalink  comments

"Make Posts" as drafts

This is the v2.4.1 version of a hack I did for v2.4.0-RC2. It is effectively the same, and in fact might be exactly the same file, but I wanted to make sure so I started with the v241 file and tweaked it up.

What this hack does is lets you "Make Posts" that show up as a draft instead of automagically publishing them. "Make Posts" refers to a cool trick the file manager can do for you: you upload an image of whatever size via the file manager, and it will automagically downsize it as need be to fit your skin - assuming your skin has the groovy code that makes that happen.

The existing limitations in the Make Posts feature will still exist. For example you can only have one image linked to a post when you "Make Posts" even though after the fact you can add more images in edit mode. That is one of the reasons you want to have the post show up as draft instead of published yah? Another funky thing is that if you use "advanced upload features" when uploading you can preset fields that will be used for the post title, the alt text, and a bit of text as a caption. If you use the quick upload method then "Make Posts" you will get the image name as the post title, which looks like crap. So the idea again is "make it as a draft so I can edit that stuff before it pings".

Read more »

 April 18th 2008 at 9:40am   permalink  comments

Sidebar Cleanup v241

This is a fairly pointless upgrade of a fairly pointless hack. All it does is put line breaks in some of the widgets so that when you "view source" you don't get the entire sidebar on one line. Hardly worth doing unless you're into viewing your source page to see what's broken or something like that. Or like fixing a validation issue. Or whatever.

Read more »

 April 14th 2008 at 4:06am   permalink  comments

Aggregate ALL blogs in v241

So you're running b2evolution v241 and you've got a lot of blogs and you just don't want to type in all the blog numbers that you want to aggregate? You wish you could just aggregate ALL the blogs into one blog and be done with it? You can't understand why it can't understand a simple little thing like "All" means "All the blogs that are available in the public blog list"?

Sweeeet. Gotcha covered :DD

Read more »

 April 13th 2008 at 4:10am   permalink  comments

[ << :: Next >> 21 ]