Thank you Allan mod. Allow me to mention this. Placing the code immediately above <span id="userinfo"> will make the ban button viewable by everybody. This means that they will be also able to figure out the folder names of Mod CP (In my case, I'm using a custom name different from modcp)
So, the correct place to add the code is BEFORE
Code:
</vb:if>
<span id="userinfo">
This will make the button only apparent to moderators.
Please correct me if I'm wrong. I'm not a professional coder btw.
P.S. I'm using 4.0.2
Thanks!