Actually if some one is already registered he is not restricted to access forum
PHP Code:
define('THIS_SCRIPT', 'register');
if registered user visit register.php it will say you already a member go login and if guest it will load registration page
on my test.php
if user is loged in in it will load some instructions because i cant say "you are restricted" to those whom are not restricted.
and if guest test.php will tell why you are restricted to access
that's why i use this script 'register'
if condition works fine for content load but create problems when i add some input fields for guests
Code:
<vb:if condition="$show['guest']">Show this to guest only</vb:if>