George Pearce - iamPearce

Icon

Homepage of 18 year old internet nerd, George Pearce.

A Brand New Plugin

I’m in the process of finishing a new WordPress plugin up for release, one that I did for a client and then decided to redo slightly differently for the general public.

It’s going to enable the injecting of ads into the middle of posts, but unlike others that have been released, you can input any code you like, not just adsense or YPN, which the ones I have seen are limited too. I’m still working on the little things, but I will append this with a link to the first beta of it, so I can get a little feedback.

Once it’s ready, I’ll release it onto the WordPress Plugins site.

Akismet Count Plugin Updates

I’ve become aware of a bug with my Akismet count plugin, which isn’t obvious to most people, but for those who have only recently installed, it breaks, and causes a PHP error if they have no spam caught. This is because Akismet only creates the spam reference that my plugin looks for when it nukes it’s first bit of spam.

For that reason, I’m going to put another line into the plugin, and release version 1.10, at some point in the next week, I hope. I’m also looking at making the actual text customisable, and making it similar and all that. Feedback would be appreciated on this, because with enough work I could make a version that integrates itself directly into your footer, without you having to do anything at all – I might release a branch of the current plugin to do that.

As always, any suggestions would be appreciated.

Complete Stats Revisited

It’s been a month since I released complete stats, my statistics plugin for WordPress. It’s great to see how well it’s done, there have been over 500 downloads from it’s page on WordPress, and better, it’s gained me about 1500 backlinks – not bad.

I’m open to suggestions for the next version though. I’m thinking of taking the backlink out of the plugin, as people didn’t seem to like that, and placing it into the WordPress footer instead. It’s not decided totally, but that’d work quite nicely.

I’d like to say thankyou to everyone who downloaded it, and to Ben for the idea!

Showing Your Akismet Spam Count As Plain Text v1

I previously wrote about Showing Your Akismet Count as Plain Text, well now I’ve written a plugin that does just that. It’s very simple, with only one query, and it outputs a text response like this:

Akismet has protected my blog from 468 spam comments. Nice try!

It’s very simple to use, you simply upload, activate, and then place the following code into your template wherever you need it.

<?php my_akismet_count(); ?>

And it’ll input the information for you. Obviously you need to have Akismet running on your blog, otherwise it will throw up various php errors all over the place.

This is my first version, and I plan to improve it for the next one so there will be a second function, just returning the number of spam comments (in case you want your own text, not mine), and hopefully I’ll see if there is a way to widgetize it.

I’ve now got the plugin onto the central thing at WordPress, and you can see more information over there. You can download it here. I’ll make a proper page on here for the plugin too.

Hello

I'm George Pearce - and this is my personal blog. I'm 18, and I also write about blogging, Linux, and soon, physics. I like to take photos sometimes, and I tweet a lot @pearce.