Tag Archives: wordpress

Changing the ‘Howdy, user’ on the toolbar for WordPress

I haven’t been doing much on here in the way of computing lately, so to get back to it, here’s a WordPress plugin I wrote to get a better idea of how the plugin settings API works.

It’s very basic, all it does is change the ‘Howdy’ text in the toolbar (front and backend) to whatever you want by altering the toolbar by injecting the new greeting.

It was good fun to write, so here it is!

WP-AlterHowdy

WordPress + DokuWiki Auth Integration

I decided on creating a private wiki for some of my ideas/random stuff, so that i could have a private working area i can access from anywhere. I like DokuWiki, so I searched out an authentication plugin, so i could use my wordpress login with DokuWiki. The plugin did need a little bit of tweaking to work with WordPress 3.1 though.

If you comment out/remove:

require( ABSPATH . WPINC . ‘/classes.php’ );

As the file doesnt exist in WP3.1

Then add:

require( ABSPATH . WPINC . ‘/class-wp.php’ );
require( ABSPATH . WPINC . ‘/class-wp-error.php’ );

Tested with WordPress 3.1 and DokuWiki-2010-11-07a. Things appear to work with no issues.

Massive thanks to Collin Green, plugins like these are really useful, but it’s something I wouldn’t have bothered to write just for my site (although now I’ve used it, It might find its way into use with i3Portal when we get that going).