Posts tagged as: me

careers
service

Saturday, April 29, 2006

 

WordPress Inline Ajax Comment Plugin

I’ve been fiddling around with various WordPress features and plugins whilst migrating my blog over from Blogger. I installed Peter Kashou’s Inline Ajax Comments plugin which uses some funky AJAX code to allow expansion and contraction of comments on the main pages of the blog. However, I was a bit annoyed that I couldn’t customize the text of the link that did the expansion/contraction.

It would have been a simple task just to go into the source code and modify the strings directly, but I didn’t like the idea of having to do that every time I decided to change the text in the future. So, I decided to modify the code so that it allows configuration of these strings in the plugins options menu on the WordPress administration page.

The plugin functions exactly as Peter’s plugin did, except for the added configuration options, and by default it will use the same strings for expansion/contraction as the original plugin. The plugin is also called via the functions ajax_comments_link() and ajax_comments_div(), just like in the original.

I figured I’d post it here incase anyone else might want to make use of it. You can download it here.


report

Friday, April 28, 2006

 

Some spam from my mailbox

Subject: This stuff is not really expensive as before…

Hi Bro!

I am ready to kill myself and eat my dog, if medicine prices here
(https://ehbgpl.outskirtssite.com/) are bad.

Look, the site and call me 1-800 if its wrong..

My dog and I are still alive 🙂


support

Tuesday, April 25, 2006

 

Not a lot of updates lately..

I haven’t been updating much lately ’cause I’m in the middle of moving my blog from Blogger to a locally hosted WordPress database. So, if there’s not enough news posted on the site to keep you interested at the moment, check back in a week or two and things should be back to normal.

SQL is kinda interesting, btw. Parsing and formatting strings so the SQL database likes them is far less interesting. [sigh] But I think I’m almost done with that bit of it.

The site has been breaking every now and then whilst I’m fucking about with the PHP backend, but there’s no need for alarm [unless you like alarm, in which case, go right ahead]. If you visit over the next little while and see an SQL or PHP error, just give it five minutes and refresh the page and it should all be good again.

And now, because I’m drunk, here’s an SQL query some of you might like:

INSERT INTO yo_momma (state, value, value_size, value_unit) VALUES (‘hot for it’, ‘my cock’, ’12’, ‘inches’);


handbook

Friday, January 20, 2006

 

No updates for a couple of days, probably..

Yeah, so.. I hate bloggers who whinge and rant about their personal lives. They’re a bunch of cunts. That said, I’m gonna whinge a bit. Because obviously I’m a cunt too.. I’ll keep it brief.

My girlfriend makes me very unhappy. So unhappy that I’ve decided I’m better off without a girlfriend at all and am currently in the process of moving all my stuff back to my parents house.

So, it maybe a couple of days before I can be fucked setting my computer back up again. I’m sure you understand.

In the meantime, there’s many other sources of distraction on the net. Go visit some of the sites on my links page.