<font size="2"><font face="courier new,monospace">I use this to completely hide the Site.PageActions for a single login site</font></font><div><font size="2"><font face="courier new,monospace"><span class="Apple-style-span" style="font-family: arial; "><div>
<font size="2"><font face="courier new,monospace">(:if auth admin:)</font></font></div><div><font size="2"><font face="courier new,monospace">* [[Page.Target1 | Label1 ]] </font></font></div><div><font size="2"><font face="courier new,monospace">* [[Page.Target2 | Label2 ]] </font></font></div>
<div><font size="2"><font face="courier new,monospace">(:ifend:)</font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div></span></font></font></div><div><font size="2"><font face="courier new,monospace">You might want to use</font></font></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">(:if authid:)</span></div><div><font size="2"><font face="courier new,monospace">* [[Page.Target1 | Label1 ]] </font></font></div>
<div><font size="2"><font face="courier new,monospace">* [[Page.Target2 | Label2 ]] </font></font></div><div><font size="2"><font face="courier new,monospace">(:else:)</font></font></div><div><font size="2"><font face="courier new,monospace">* Label1</font></font></div>
<div><font size="2"><font face="courier new,monospace">* Label2</font></font></div><div><font size="2"><font face="courier new,monospace">(:ifend:)</font></font></div><div><font size="2"><font face="courier new,monospace"><br>
</font></font></div><div><font size="2"><font face="courier new,monospace">but you will need AuthUser recipe loaded.</font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace">Rgds</font></font></div>
<div><font size="2"><font face="courier new,monospace">Brian</font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div>
<div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div>
<div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font></div><div><font size="2"><font face="courier new,monospace"><br></font></font><br>
<div class="gmail_quote">On 2 April 2011 08:14, Hans <span dir="ltr"><<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Saturday, April 2, 2011, 12:05:55 AM, Al Louis Ripskis wrote:<br>
<br>
> This doesn’t work:<br>
> # require valid login before viewing pages<br>
>     $DefaultPasswords['read'] = 'id:*';<br>
> Because this code  requires a login before the newcomers can even get to the homepage.<br>
> I would like the newcomers to be able to read the homepage, see the<br>
> links, which hopefully would intrigued and motivate them to<br>
> register, giving their real names and emails.<br>
<br>
</div>$DefaultPasswords['read'] = 'id:*';<br>
<br>
and set a read password on the Homepage as '@nopass'<br>
(without quotes).<br>
<br>
That leaves the home page open for public access,<br>
and requires login for all other pages.<br>
<br>
It may make the side bar disappear till you are logged in.<br>
So your registration info needs to go into the home page content.<br>
<font color="#888888"><br>
<br>
  ~Hans<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font face="'courier new', monospace"><div>Brian Tibbels</div></font><div><font face="'courier new', monospace">IT support for small business and the individual<br>
</font><div><font face="'courier new', monospace"><a href="http://clickmarlow.co.uk/" target="_blank">http://clickmarlow.co.uk/</a><br></font><div><font face="'courier new', monospace">m: 07804 109906</font></div>
<div><font face="'courier new', monospace">t: 01628 477640</font></div><div><font face="'courier new', monospace">skype: brian.tibbels </font></div><div><font face="'courier new', monospace"><br></font></div>
</div></div><br>
</div>