Here's the updated version for those who want to use this on 4.1.x. Place these in the same spots as mentioned in the original txt file.
Code:
<vb:if condition="is_member_of($userinfo, 8)">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
<td class="tcat">Banned User</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<blockquote>
<p> </p>
<p><strong>This user has been banned.</strong></p>
<p class="smallfont">This member has been banned and their profile page is no longer accessible.</p>
<div> </div>
</blockquote>
</div>
</td>
</tr>
</table>
<vb:else />
At footer: