sugardeath

Whee

Posted on January 1, 2006

Upgrade to WordPress 2.0.  You guys probably won't notice a thing, but it's pretty neat.  Not as big of a leap as going from 1.2 to 1.5 seemed like though.  Oh well, updates are good.

Happy New Year, by the way!

Filed under: Site, WordPress No Comments

Success!

Posted on December 4, 2005

So.  After who knows how long of not working on my plugin, I came to a revelation last night: Why bother replacing the spaces in the URLS with plusses??  Browsers nowadays should be able to handle that with no problem!  Opera replaces the spaces with "%20"s automatically.  Firefox doesn't replace them, but can handle them just fine.  Same with Internet Explorer.  So what was I even trying to do that?  Hell, even Links behaves exactly like Firefox and IE!  After realizing that and fixing the plugin as such, I now present to you... the Everything2 Pipe Linker Plugin!  Download, share, use, abuse!  Well, perhaps not abuse...  but you get the idea!  Hahaha!  I'm so happy the thing is finally done!  Huzzah!  I even added a sink that allows one to use pipe links in comments!  Go crazy!  For those unacquainted with pipe links, see this node.  They're really nifty things.

Check out the wp-plugins.net dowload link as well:
http://wp-plugins.net/plugin/e2pipe/

Filed under: PHP, Plugins, Site, WordPress 2 Comments

Sweet

Posted on June 27, 2005

Alright!  I've got a basic example of what I want to happen!

My Poem (without the spaces) becomes My Poem!!

However!  It doesn't replace the spaces in the URL with +'s yet, nor does it add the title attribute to the a tag...

But!  I DO have a script that does JUST that with a fixed string (ie. NOT the random content produced whenever I post) over here.  Thing is, it can only be done with one string right now.  Somehow, I need to incorporate the second script into the currently functioning (albeit limited) plugin.  I would need a way to search the $content for any string that starts with , and ends in .  I don't want [$any_text] because that would include additions to quoted text, and even what little BBCode I use.  Plus it just plain wouldn't work, as there would be no $result[2] to call for the link text.

All in all, I've still got a lot work ahead of me.  I've managed to come this far, though, and I'm quite proud of myself.  For several hours I was confused as all hell trying to figure out regular expressions, but I think I've got them pegged now. 

Time to sleep.

(6/28/2005 - 17:5)

Alright, plugin turned off for now, due to some major errors that it's causing with the wp-header.  I'll try to figure that out in due time.

(6/29/2005 - 3:24)

I lied!  Plugin back up and running!  No errors!

Filed under: PHP, Plugins, Site, WordPress 9 Comments

So Here I Am

Posted on June 27, 2005

writing up something in WordPress, when I find myself using Everything2's linking system.  I thought to myself, wouldn't it be cool if there was a plugin that would search for these E2 links and appropriately deal with them?  So that I think you are insane would appear as I think you are insane (hover mouse over link).  I searched the WordPress Support Forums and the WordPress Plugins Database, but to no avail.  I thought I was lost.  There would be nothing I could do.  Then I realized, hey, if someone hasn't written the plugin yet, I could!

So my mission is to write a plugin for WordPress.  It will be my very first plugin and I will have to learn quite a bit of PHP as well as how plugins work in WordPress, but I think it will be worth it.  Not only will it expand my knowledge of PHP, but it'll perform a function I think I would use a LOT.  And who's to say that someone else won't take advantage of it as well?

Oh, and it wouldn't have to be limited to E2 either.

Filed under: Plugins, WordPress No Comments

Sugar Death no more…

Posted on June 13, 2005

Not really, but I do like the sound of Zucker Sterbefall.
(pronounced Tsoo-ker Shtair-beh-fall)

Zucker Sterbefall schlagt wieder!
Sugar Death strikes again!

In other news, I added a butt load of header images and finally got a random image script working.  There's afourteen of them.  I had way too much time on my hands.  Mostly I tried to get ones that were blueish, or at least looked decent with the theme.  One of them, however, is VERY brown and doesn't really match at all.  I had to add it though, it's awesome.  Probably my favorite one is the one from WarCraft III where there's a buttload of Marines and some dude is saying that everyone else is screwed.  :grin:

Just some minor crap I decided to do while bored.  The summer sucks so far.  We need to hang out.  Somebody, most anybody.  Argh!