That makes sense. I should have added the first line $pagename = ResolvePageName($pagename); and the last part instead of putting admin, having crypt and then the password. Thanks! Chris
________________________________ From: Patrick R. Michaud [mailto:[EMAIL PROTECTED] Sent: Tue 10/14/2008 8:56 PM To: Swift, Chris Cc: PmWiki Users Subject: Re: [pmwiki-users] easy question to all On Tue, Oct 14, 2008 at 05:23:42PM +0200, Swift, Chris wrote: > Also, I would prefer to create a password in order to create new > groups, instead of leaving it only to admin. That way I could > still empower "moderators" but not give everyone access to create > new groups. Any ideas would be appreciated... $pagename = ResolvePageName($pagename); $rc = FmtPageName('$Group.HomePage', $pagename); if (!PageExists($rc)) $DefaultPasswords['edit'] = crypt('group_creation_password'); Pm
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
