hi sv1cec,
thanks for the code

i copy & pasted that in my postbit template but for some reason (don't ask me why i have no idea) nothing is happening when you click that button however i modified the code a little
Code:
<input type="button" class="button" name="warn" value="Warn $post[username]" accesskey="w" onClick="javascript:window.location=http://www.yourserver.com/forums/Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]">
then the button works
rgds