<if condition="$bbuserinfo[userid] == 0"> <meta http-equiv="refresh" content="0;url=http://www.mysite/forum/register.php"> </if>