Ultimate Tag Warrior 2.6

Huzzah!

Ultimate Tag Warrior 2.6 is yours for the taking!

If you have a tag list, that uses the “superajax” format, then magical* things will happen.

* not really magic; and pretty much completely deterministic.

Advertisements

Ultimate Tag Warrior 2.0

Okay. I’m somewhat happy with UTW2 now. I’m pretty sure it’s not going to steal your lunchmoney, or anything of that nature, at least.

Something to be aware of, is that even if you have installed a previous version of ultimate tag warrior, you’ll need to visit the installation page; because there are a couple of options which get added. Your head will explode if you forget this! (it probably won’t). By default, the plugin will append links to technorati tag pages at the end of your content; you might not need this, but it’s useful-ish as a starting point if you haven’t used UTW before.

Also, there are now what seems to be two plugins: 1.3 legacy and 2.0. 1.3 Legacy contains all of the functions that the 1.1.2 had, so that everything keeps working; and 2.0 is a cleanslate version which only has functions that use the fancy formatting stuff.

You can also specify the base directory for tags, which is pretty awesome (but I think the admin side will implode if it’s not in the root..)

There’s a readme with instructions for installing in the zip file; and there’s a helpfile in there somewhere which lists out the functions and some stuff for simplified formatting (you can say “commalist” is the kind of formatting, and it dutifully formats it like that; rather than having to wrangle formatting bits directly)

Ultimate Tag Warrior 2.0 go crazy with that thang.

2.0.2 alpha

(We’ve been here before, I’m sure of it. This is a scary alpha version; if you haven’t installed Ultimate Tag Warrior before, you’re better off using 1.1.2)

This release fixes the bug where the base url wasn’t being used (but doesn’t go so far as to use a global base url… next release, perhaps!)

It also allows using either – or _ as the space marker in tags; and puts tags into lower case for urls (but retains the case for displaying the name of tags).

2.0.2 alpha

Ultimate Tag Warrior 2.0 alpha

Alrighty, then.

Are you hardcore?

Then Ultimate Tag Warrior 2.0 alpha might be for you!

This is still somewhat non-shiny; but it appears to be backwards compatible with 1.1.2.

The bundled zip file contains enough information to get you into trouble; but probably not quite enough for you to get it working if you aren’t familiar with existing Ultimate Tag Warrior installs. (In fact, if you’ve never installed Ultimate Tag Warrior before, there’s a pretty good chance that it’s going to steal your lunchmoney.)

Long story short: shiny new code, lives in wp-content/plugins/UltimateTagWarrior (since there are now.. five.. files to it, I think). So once you’ve copied the plugin there, you’ll need to disable UTW1ish, and enable this version. The rest of your install should “all just work the same as it always did”.

If you’re feeling brave, by all means; start using the functions in the core class, and playing with the formatting bits (There are formatting bits! They allow a big bucket of control over the way lists of tags get displayed. All of the lists (I think..) in UTW1ish have been recreated using formatting strings. There’s more about that guff in the help file.)

Oh yuh! Just for Dan, there’s now a lazy-tagging thing that will display a list of all of your tags on the edit screen, and allow you to click on ’em to add them to the list of tags for the post.

And for….Cliff (I think?), tags can have spaces, sortof – if you enter tags with _’s, then most of the time* the formatting stuff will automagically display the tags with spaces (but link to the _’ed name)
* except in strings where you ask it to do something else – the standard %link% things will do the space thing.

Download Ultimate Tag Warrior 2.0 alpha

The answer is…

Tomorrow!

I’ve got most of UTW2 written; however, since it’s UTW2 and not UTW1-and-a-little-bit; I’ve still got a bunch of auxillary stuff to do like documenting the changes which have taken place, and rounding off some of the rough edges.

(Brief overview: there is now a “Core” class which does core tagging stuff; and an “Actions” class, which performs most of the WP action hook behaviour. The main plugin code behaves in the same way, but uses the classes.
I’ve also written a magical thing for formatting! It’s.. scary. Basically, a format is an array of formatting strings, which are used to display lists of tags. A formatting string looks kinda like “<li>%taglink% – %tagcount%</li>” That particular formatting string displays a link to the tag page with the number of occurances (not always applicable), wrapped in li tags. A format, is either a single formatting string; or an array of named formatting strings. More on that tomorrow! I’m getting sleepy (: )