[pmwiki-users] How can I read password protect all pages in a group except the HomePage?

Elias Soong songjl at 163.net
Mon Nov 6 01:09:23 CST 2006


>> How can I read password protect all pages in a group except the HomePage?
> 
> Here's one way:
> 
> First, set a read password for the group using a GroupName.php that
> looks like this:
> 
>    <?php if (!defined('PmWiki')) exit();
>    $DefaultPasswords['read'] = crypt('your_secret_password');
> 
> Then set a password of @nopass on the group's HomePage using ?action=attr .
> 
> Hagan

Thanks for your suggestion! It seems the way need the groups organizing 
for users, can this be used before version 2.1.24?

Elias Soong





More information about the pmwiki-users mailing list