[pmwiki-users] Semi-automatic user accounts for fox forum -- Htpasswdform

Vince Administration vadmin at math.uconn.edu
Wed Jul 9 18:43:09 CDT 2008

Hans, Dominique,
Thanks for pointing me to the htpasswdform recipe. It comes very  
close to what I want.  The only thing that I really can't quite  
figure out how to
do is to modify the login form, since it is created by a PHP  
program.   I don't want to give exact details of what I want the form  
to collect because
then you might do it for me, and it is probably not of wide interest.  
But is there a reasonable way to use a custom form for new users?
I guess by reasonable I mean without writing the php code.  I see  
that there are a lot of SDV's, so that it might be possible to  

Thanks for your help.

On Jul 9, 2008, at 4:06 PM, Dominique Faure wrote:

> On Wed, Jul 9, 2008 at 20:56, Hans <design5 at softflow.co.uk> wrote:
>> Wednesday, July 9, 2008, 3:54:22 PM, Vince Administration wrote:
>>>  The idea is to have read access to anyone,  but
>>> posting only for authenticated users.  For a start I would like the
>>> users to authenticate themselves by filling in a form.
>> Not sure how this can be done. The standard way for granting users
>> some authorisation in PmWiki would be to install PmWiki.AuthUser
>> and add user id's to SiteAdmin.AuthUser.
>> Fox or FoxForum has no separate user management. It is perceivable
>> that Fox could be used to add userid/password pairs to
>> SiteAdmin.AuthUser. But that alone will not grant any access rights.
>> The userid needs to be added to a @group as well. Fox could do that
>> too I guess. And then that user group, say call it @forummembers, can
>> be used as id for an edit password for the Forum wiki group,
>> and you set for that Forum group  $FoxAuth = 'edit';
>> Of course the initial NewForumMember form needs to be able/allowed to
>> post (add) to SiteAdmin.AuthUser.
>> This may work (not tried any of this), but as soon as we let users
>> add themselves plus password to SiteAdmin.AuthUser we have the  
>> problem
>> to check first if the userid does already exist. And most likely
>> users would like to be able to change their password. I don't see any
>> simple solution there.
>> Oh, I just remember: there is this recipe to check out:
>> http://www.pmwiki.org/wiki/Cookbook/HtpasswdForm
>> It has (amongst many others) this config option:
>> $HtpasswordNewUsers
>>    When set to 1, a new user form is provided to unauthenticated  
>> users,
>>    allowing them to register themselves (defaults to 0).
>> This may well be the ticket! and forget all I wrote above about
>> adding users with Fox!
>>  ~Hans
> I couldn't provide more details :)
> --
> Dominique

More information about the pmwiki-users mailing list