Thanks for the update. I was thinking that I needed a added condition in the template conditional. I am not using any php code to do this redirect as the whole process is contained and executed inside the headinclude template. So, I was thinking that I needed something like :
HTML Code:
<vb:if condition="$bbuserinfo['userid'] == 0" AND !(THIS_SCRIPT == 'register')>
I do want the redirect to work on all scripts EXCEPT the registration form. I think this logic is correct but I am sure that the syntax is not.
Any ideas?
Edit:
Found it!
HTML Code:
<vb:if condition="$bbuserinfo['userid'] == 0" AND condition="THIS_SCRIPT != 'register'">
<meta HTTP-EQUIV="REFRESH" content="15; url=http://yoursite.com/register.php">
</vb:if>
Paste this block in headinclude template just with the rest of the meta tags and if you have a visitor to your site checking things out, they will be redirected to the registration form in 15 seconds using this code. To change the time of the redirect change 15 to what ever.
bpr: thanks for the tips, got me thinking in the right direction