WordPress Plugin – Send one.org some love


Per a request over at daria.be, I whipped up a quick WordPress plugin and am making it available for download. It places the one.org
banner in the upper right of your blog and provides a link to their
site. All you have to do is drop the oneorg.php file into your
/wp-content/plugins/ subdirectory and activate the plugin within your
Dashboard. It also work on the WordPress Multiuser platform if you make
plugins optional for your end users.

Hope this helps,



Optimize MySQL

For the longest time, I’ve had issues with trying to optimize the huge MySQL datatables that exist over at daria.be.
With over 6,000 tables, pulling up the database in something like
phpMyAdmin wasn’t working too well. Took about 20 minutes just to load
it up.

My host
found a script on line that goes though table by table and optimizes it
if needbe. It runs through all of the databases accessable by the MySQL
user so it whould work on multidatabase installs of WPMu as well.

The code for the most part comes from here with some modifications made by myself to allow for the WPMu system. Instructions are included within the php file.

Download it from here. Should work on non-WPMu setups as well. Anything with large numbers of MySQL data tables.

WP-Shortstat gets an upgrade

Just a quick mention that WP-ShortStat got an upgrade a few days ago. I just noticed it.

New features copied from the site:

new database format, about half the size of the old format
added blogger.com to detected search engines
fix for broken referer
added debug version which shows all errors
some internal fixes (uninitialized variables, …)
disabled old country detection code

There’s also a MySQL script for reducing the size of the tables for it. That will be a big help for me over at daria.be. The script doesn’t work for me though. I’ll have to fiddle with it.

WordPress Widgets – Site Meter Counter

This one gets requested over on the WordPress Support Forums ever so often. There’s a wonderful service called Sitemeter that does free tracking of websites for you. The issue is though with WordPress.com, you can’t have user inputted Javascripts as they’re a security risk. (No matter what some folks say on the forums, they are.) So you were stuck with putting in the simple version which really just tracks the IP address of your visitor. Other things like browser types, OSes, etc couldn’t be tracked.

Well, I wrote a WordPress widget that allowed a user to just put in their username from over at Site Meter (ie s11user) and have WordPress drop that into the Javascript itself. No javascript input by the user but they get to have the benefits of it. 🙂

Hope this helps,

Download it from here. Drop it into your plugins subdirectory (If you’re on WPMU, have your Site Admin drop it into your mu-plugins subdirectory.) Should show up on your Dashboard -> Presentation -> Sidebar widgets page.

edit: Friendly reminder about my laptop collection and my wishlist.

Update: Well I learned my lesson in releasing something to the WP community. Last time I do that. I’ve gone ahead and deleted this widget. I’ve tried to help folks who were having issues and followed up with their questions but folks wanted me to play guessing games and didn’t want to give me any information so that I could help them. They just wasted my time and theirs. I also didn’t care for those bad mouthing me elsewhere while not even asking for assistance or even reading the instructions.

WordPress Widgets – theFreeDictionary.com content

I’m releasing a new set of widgets that I hacked together for daria.be. It’s uses the free content from thefreedictionary.com. I modified the link contained within it because we had some issues with sidebars that forced multiple links into multiple lines.

With this set of widgets, you can add in to your theme’s sidebar Quote of the Day, Word of the Day, Article of the Day, This Day in History, and Today’s Birthday.

Installation instructions for WordPress: Drop it into your /plugins subdirectory. You will need WordPress Widgets installed and running of course as well as a theme that uses them.

For WordPress Multiuser, the same instructions apply. You should put the file into /mu-plugins though.

Questions? Feel free to leave a comment.

Please remember that I have a wishlist as well as a collection to purchase a laptop.



Random Blog Plugin for WPMU

Knocked another one out.

This plugin creates an array of your public blogs and kicks out a random one. The cool thing is that it’s a static link so all you need to do is point to the file for it to work. 🙂

Random Blog

Place the next.php file into your WPMU’s root and add the link where ever you want it.

edit: Since I am no longer supporting WordPress, I’ve gone ahead and removed the plugin.

Space Remaining Plugin for WordPress MultiUser

Creates a visual graph as well as a numerical display of space remaining for each client on their dashboard. Originally created by mypatricks from http://www.blogates.com. Updated by drmike for daria.be.

Grab it here.

edit: I’m no longer supporting wordpress so I’ve gone ahead and removed this plugin.

Simple Counter for WP-ShortStat

Current Version: 1.0

I use the WordPress plugin WP-ShortStat for my stats program here at tdjc.be, over at the webcomic, and over at daria.be.
I haven’t found a WordPress Widget though that I liked to use over at
daria.be. Most of them created their own tables which, in a WordPress
MultiUser environment, is something I would rather prevent since we
already have enough tables in that database.

So I hack a widget together in a few minutes and I’m hoping for some feedback. I know it works on WordPress MultiUser but would like to know if it works on the regular WordPress installs as well.

Grab a copy of the Widget here in text form.

Installation instructions:

– Upload to your plugins or widgets subdirectory. Visit your Widget Sidebar menu and slide it into place.

Sites using the widget:


If you like this widget, please take a look at my wishlist.

CoComment added in

Just a quick note to mention that I added in CoComment here so you can keep track of your comments. You’ll note that icon next to the ‘Submit Comment’ button if you’re logged into that service.
I know I get a lot of WordPress.com folks here. You can use this service to track your comments that you make but you can’t add in the button to your blogs over at WP.com.
I’m using the Show CoComments to display my comments that I have left elsewhere and the iG:CoComment plugin to display the button.