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

Advertisements

7 thoughts on “Ultimate Tag Warrior 2.0 alpha

  1. Very nice. I still need to work with the core classes but I just dropped the folder in and activated 2.0 after disabling 1.1 and everything runs great.

    Except:
    I found that the tag administration doesn’t work. I cannot rename or delete.

  2. Could you also give a couple examples on how to use the tag array/core. I don’t really understand how I should put it in the template.

  3. Hiya Dan,

    Do you mean things like the GetSomethingOrOther() functions? (As opposed to the ShowSomethingOrOther() functions); because those guys… not so useful in templates unless you had some kind of weird custom processing in mind.

    If you mean something else; give me a function name, and I’ll see if I can figure out an example for you (:

    p.s. does the formatting stuff make sense?

  4. I’m getting this error after install:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘-1’ at line 5]
    select tag, count(p2t.post_id) as count from wp_tags t inner join wp_post2tag p2t on t.id = p2t.tag_id group by t.tag order by tag asc limit -1

  5. Pingback: Neto Cury Blog
  6. Jim: Poop.

    That’s displaying when you try to edit/create posts, I’m guessing?

    I’ll see what I can do to work around that (:

Comments are closed.