Ultimate Tag Warrior 1.0

June 15th, 2005

I’m so excited.. Ultimate Tag Warrior 1.0 is now available for download.

Changes
- /tags/Tag1+Tag2 syntax is now supported.
- The ultimate_show_post_tags now defaults to the local tag page; and allows specifying a set of external tag places to link to.

Functions
There are four functions worth thinking about (the rest is “don’t mind the man behind the curtain” stuff)

ultimate_show_post_tags($separator=” ”, $baseurl=’/tag/’, $notagmessage = “No Tags”, $morelinks=”")
Display a list of tags associated with the current post.
$seperator is the string that seperates tags. It only appears between tags, and not at the beginning or end of the list.
$baseurl is the base URL to link the text of a tag to. The tag link takes the form {baseurl}{tagname}.
$notagmessage is the text to display when a post has no tags.
$morelinks is either a single link as a string, or an array of links. The links are base urls to other systems that support tagging. As with the base url, the final links take the form of {url}{tagname}. Each link is displayed as an » for brevitys sake.
ultimate_show_popular_tags($limit=10)
Display a list of the most popular tags. The tags are wrapped in li html tags, and the number of matching posts is also displayed.
$limit is the maximum number of tags to display.
ultimate_tag_archive($limit = 20, $postlimit=20)
The tag version of this plugin
ultimate_tag_cloud($order=’tag’, $direction=’asc’)
A tag cloud viewer that lists the tags using the order and direction. $order can be either “tag” or “count”, $direction can be “asc” or “desc”. The list of tags is just displayed with spaces in-between, linking through to the tag page. CSS classes .taglevel1 -> .taglevel7 control the look of tags based on popularity.

Plugin Administration
Click on “Manage”, then “Tags”. This will display a list of all available tags. Clicking on the “Rename Tag” link will allow renaming the tag. Clicking on the “Delete Tag” link will allow deleting a tag (and the associations to posts).
You can rename a tag to be the same as another one if you really want to – the tag cloud and tag archive will merge the tags, as if by magic; but if a post is tagged with both versions, it will seem to be tagged twice with the same tag. Adding a thing to merge tags properly is on my todo list.

Download
http://www.neato.co.nz/plugins/ultimate-tag-warrior-1.0.zip

This file contains the full documentation, the plugin file, an installation script, and a basic tag.php template.

It’s Broken!
(I hope not.)

If it is, send me an email… christine at neato dot co dot nz (I.. uh.. still haven’t figured out the problem with comments… they work okay with the default theme, but there’s nothing I can see that’s different around the comment thing. Oh the irony.. I make this genius plugin, and I can’t get my base install to work properly.)

Tags: , , ,
Posted in Ultimate Tag Warrior | 21 Comments »

21 Responses to “Ultimate Tag Warrior 1.0”
  1. Pingback by Neato » Blog Archive » Ultimate Tag Warrior 0.1
    Thursday 16 June, 2005 @ 9:36 am

    [...] omeDelishRSS By CategoryBy Tag neato.co.nz Ultimate Tag Warrior 0.1 Version 1.0 is here! This is the first release of my latest and greatest word [...]

  2. Comment by Jenna Pfister
    Sunday 19 June, 2005 @ 4:01 pm

    Great plugin!

    I get a 404 error when I click on a tag from an entry. I’m thinking it has to do with the htaccess file. I just can’t seem to pinpoint it. What should be showing up in the htaccess for this plugin? Maybe I missed a step. I’ll retrack and see what I come up with.

    Also, you should put your URL in the well-written documentation for easier navigation to your website. I’ve never been here before and I downloaded the plugin elsewhere, so had I not had my htaccess problem, I may not have ever found it (via Google). :)

  3. Pingback by Garinungkadol » Tooling Around
    Sunday 19 June, 2005 @ 4:21 pm

    [...] kly Categorizing Posts: In Series – Lets you link posts belonging to the same series. Ultimate Tag Warrior – Organize posts using tags. Create tag clouds To Try O [...]

  4. Comment by Christine Davis
    Sunday 19 June, 2005 @ 6:19 pm

    Jenna,

    You might have found a bug (:

    This is what I’ve got in my .htaccess file for tags:

    RewriteRule ^^tag/?(.*) //index.php?tag=$1 [QSA] [QSA,L]
    RewriteRule ^^tags/?(.*) //index.php?tag=$1 [QSA] [QSA,L]

    But I think it should probably be this instead.

    RewriteRule ^tag/?(.*) /index.php?tag=$1 [QSA,L]
    RewriteRule ^tags/?(.*) /index.php?tag=$1 [QSA,L]

    To bypass the rewritten urls; go to /index.php?tag={tagname} (And if that doesn’t work; then something strange is going on.)

  5. Pingback by Scattered » Blog Archive » Wordpress Tags
    Thursday 23 June, 2005 @ 6:47 am

    [...] egorizing both for the user and the admin. I had been looking for awhile and I came across this plugin last night and I had to implement it right away. The directions m [...]

  6. Comment by Dan
    Thursday 23 June, 2005 @ 12:00 pm

    just posted a response.

  7. Comment by David
    Saturday 25 June, 2005 @ 6:45 am

    Can you convert categories into tags automatically, without having to re-tag all the other posts?

  8. Comment by Christine Davis
    Saturday 25 June, 2005 @ 10:47 am

    David,

    You can’t at the moment; but it is something that I’m going to get to sooner or later (:

  9. Comment by David
    Saturday 25 June, 2005 @ 10:57 am

    Thanks, I’m looking forward to it!

  10. Comment by Andrea
    Tuesday 28 June, 2005 @ 12:52 am

    Hi, quick question. Would it be possible to have something like ‘/blog/tags/’ as the $baseurl? Just want to make sure.

  11. Comment by Christine Davis
    Tuesday 28 June, 2005 @ 9:12 am

    Andrea,

    I think so; but you’ll have to manually change your htdocs. (I’m not 100% sure on the /blog/index.php bit, though – I’m guessing you have wordpress in the blog directory. If this doesn’t work, use /index.php instead)

    RewriteRule ^blog/tag/?(.*) /blog/index.php?tag=$1 [QSA,L]
    RewriteRule ^blog/tags/?(.*) /blog/index.php?tag=$1 [QSA,L]

  12. Comment by Dan
    Tuesday 28 June, 2005 @ 10:29 am

    I just used a different version that Christine emailed me.

    I am not sure why it worked but it does. Are you getting the same error?

  13. Pingback by joshteeters.org » Blog Archive » Please Stand By…
    Wednesday 29 June, 2005 @ 3:02 am

    [...] Please Stand By… I’m in the process of implementing Ultimate Tag Warrior, a tag plugin for WordPress. As I’m sure you can gu [...]

  14. Comment by Josh
    Wednesday 29 June, 2005 @ 7:26 am

    Christine,

    I’m having issues. I fixed my .htaccess file, so now I don’t get 404s when trying to go to (url).org/tag/(tagname). However, regardless of the tag, it’s still showing all of my posts. I followed your install instructions exactly, and switched over to the default template while trying to get it to work.

    No idea what’s wrong.

  15. Comment by Sidney
    Thursday 30 June, 2005 @ 4:46 am

    I think I have just found a tiny problem: Your plugin doesn’t seem to delete old tags when I delete a post (if that’s the last post with this tag).

    Sid

  16. Comment by Christine Davis
    Thursday 30 June, 2005 @ 9:13 am

    Sidney,

    I’ll add that to my todo list!

  17. Comment by Sean C
    Saturday 2 July, 2005 @ 9:43 pm

    Nice plugin. I dig.

  18. Pingback by SeanColombo.com » The Beginning
    Saturday 2 July, 2005 @ 9:44 pm

    [...] ything though! Mad props. http://www.wordpress.org Update: I’ve now also installed Ultimate Tag Warrior and begun integrating it into my themes. It’s fair [...]

  19. Pingback by monkeyish » Blog Archive » Experiment 1
    Saturday 2 July, 2005 @ 11:06 pm

    [...] ke. Update It wouldn’t work no matter how much I poked at it. However I discovered Ultimate Tag Warrior which does everything Felix Wong’s system does and [...]

  20. Comment by GLatzoPatzo
    Thursday 14 July, 2005 @ 12:30 am

    hi,
    after installing your plugin i get the following error when i try to manage the tags in the administration:

    Warning: Invalid argument supplied for foreach() in /home/www/htdocs/stefan-goehring.net/glatzopatzo/wp-content/plugins/ultimate-tag-warrior.php on line 416

    i am using wp 1.5.1.3 and i haven’t changed a thing in this file.
    any ideas why this is happening?

  21. Comment by GLatzoPatzo
    Thursday 14 July, 2005 @ 1:44 am

    sorry my fault! i downloaded an old version by accident!

Benefactors


Latest Music
Tweets
  • (I'm pretty excited about getting the brand new McGee book which comes out in October.) 2 days ago
  • Hello belly. Meet macarons from France. You can hang out with cheese, bread, foie and terrine. Nom nom nom. Nom. 2 days ago
  • @ladyleet Hah. Any other day, I would have been there picking up to-go food (: 2 days ago
  • My sweetie starts his new job today. Was super weird to wave goodbye at a different metro station. 3 days ago
  • #bitnorth was awesome again. 3G/edge/any connectivity is awesome too (: 3 days ago
  • To #bitnorth we go! 5 days ago
  • Sadness! I can't find my tutu. @Brydon, I'm sure, will be lightly relieved to hear #bitnorth. 5 days ago
  • Should have taken the day off before #bitnorth again d: 6 days ago
  • (There's nothing like fixing bizarro-strange code to remind yourself of just how many programmer knowings you take for granted) 6 days ago
  • http://bit.ly/brrtem 6 days ago
  • More updates...