This is really easy, except i'm not entirely sure what the code is in vB5 as i'm still an avid vB3.8 supporter. To hide it from forum home in vB3 you would wrap the follow around it
Code:
<if condition="THIS_SCRIPT != 'index'">
html
</if>
and the code for vB4 would be
Code:
<vb:if condition="(THIS_SCRIPT != 'index')">
html
</vb:if>
If you are knowledgable with coding you might be able to figure out how to change this to vB5 code.