OK, well I guess you could do something like this: edit the template bbcode_code (and maybe bbcode_code_printable as well), and add comments like this:
Code:
<!-- code -->
existing template code
<!-- end code -->
Then create a plugin using hook postbit_display_complete and something like this for code:
PHP Code:
global $vbulletin;
if (is_member_of($vbulletin->userinfo, 1, 2, 3, 4))
{
$post['message'] = preg_replace('#<!-- code -->.*?<!-- end code -->#s', '(Code Removed)', $post['message']);
}
(of course you can change the usergroup ids and '(Code Removed)' string to whatever you want).
Edit: Actually this doesn't work perfectly. If the code happens to contain <!-- end code --> you'll still see everything after that.