Hi!
I had the following code in Drupal 5.x:

<?php $vocabs = array(); foreach( (array)taxonomy_node_get_terms_by_vocabulary($nid, 3, $key = 'tid') as $term ) { $vocab = taxonomy_get_vocabulary($term->vid);
if ( !isset($vocabs[$vocab->name]) ) { $vocabs[$vocab->name] = array(); } $vocabs[$vocab->name][] = l($term->name, "taxonomy/term/$term->tid"); }
foreach ( $vocabs as $name => $links ) { print '<div><em>' . $name . ':</em> '; print implode(', ', $links); print '</div>'; } ?>

Its role was to write the third term into the node.tpl.php including the name of the category.
I updated my site to Drupal 6.x and this code doesn’t work.
I was looking for a solution for 6.x but haven’t found, yet. google://drupal+terms+by+vocabulary

I found solutions where all the categories were listed by name but I didn’t find a solution where I can get listed the categories I want by node.tpl.php.
The code above might not be the best but it worked in Drupal 5.x
Looking forward to your answer,
Viki