This is a
really good idea, and I've just added it to my own forum, though I changed it up slightly.
Code:
<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==5)">
<tr><td class="vbmenu_option"><span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')"><a>Ban/Moderate $post[username]</a></span></td></tr></if>
(The usergroups are my Admins, SMods, and Sub-Admins)
Very nice idea. My staffage are gonna love it.
(And you can add it in the normal postbit too, doesn't have to be in legacy... just gotta search around for the part to add it

)