PHP code for Block visibility by Vocabulary ID
If you want to do this on the term pages you should be able to use this code from Drupal.org. Just replace the function call taxonomy_get_term with taxonomy_term_load.

The code is copied below:

 &lt;?php
  $desired_vocab = 1; // put here the vocabulary ID you're interested in

  if ( ((arg(0) == 'taxonomy')
    &amp;&amp; (arg(1) == 'term')
    &amp;&amp; is_numeric(arg(2))
    &amp;&amp; ($term = taxonomy_term_load(arg(2)))
    &amp;&amp; ($term-&gt;vid == $desired_vocab )) ) {
      return TRUE;
  }
?&gt;