Full details can be found here:
http://community.pos…ewtopic&topic=52609
In a nutshell, I used the following code in home.htm and master.htm (the code not my own, credit for this code goes to AmmoDump)
<head>
// your head stuff
</head>
<!--[if pnuserloggedin($loggedin) eq 1]-->
// the rest of your theme code<!--[else]-->
<div>
// not logged in code
<!--[userlogin]-->
<!--[/if]-->
and created user.htm which was a clone of home.htm, except the not logged in code was replaced with (again, courtesy of AmmoDump):
<!--[else]-->
<!--[$maincontent]-->
however, this did not work... if a user clicked the lost password link or the register link, they were still treated as an unregistered user on every other page, and prompted with a logon page...
the workaround, courtesy of Igor (videokid) was to replace the original code of:
</head>
<!--[if pnuserloggedin($loggedin) eq 1]-->
with
<!--[pnmodgetname assign=currentmod]-->
<!--[if $currentmod == "User" || $currentmod == "NewUser" || $currentmod == "LostPassword"]-->
<!--[$maincontent]-->// should be the login etc.. screen I guess
<!--[elseif pnuserloggedin($loggedin) eq 1]-->
and it worked a treat. :)
Igor did suggest that maybe user.htm should have been User.htm (capital U), however, I did not try this so I cannot say if it does or doesnt work.
Again, the credits for this go to AmmoDump and videokid... my only contribution was encountering this problem, lol!