On Thu, Jul 10, 2008 at 13:20, Vince Administration <[EMAIL PROTECTED]> wrote: > EEmeli, > Thanks. I have plenty of work to do on the site, so it is no problem to wait > a week or two. > And Hans, > Thanks, I see by studying the function I can create a version which will > collect the data that I want. > But I will go slowly because of eemeli's reply. This sounds like what I > would want to develop in the future as well as now. > Vince > > On Jul 10, 2008, at 4:27 AM, Eemeli Aro wrote: > >> I'm working just now on something that might fill your needs. It's not >> quite ready yet, but I should be able to get it out by the end of next >> week (no promises, mind). It's a module on top of authuser that can >> read and write usernames, password hashes and additional data in >> SiteAdmin.AuthUser. When done, it'll let me have new users sign up, >> verify their email addresses and create accounts for them, use email >> to reset passwords, let users modify additional details, remove users, >> as well as generate lists of users with specified details. >> >> I've actually got most of this already working on my own sites, but I >> need to polish up the whole lot and finish implementing it as a >> PageStore extension before I'm ready to publish. >> >> In other words, I ought to have a better answer for you next week. >> >> eemeli >> >> 2008/7/10 Vince Administration <[EMAIL PROTECTED]>: >>> >>> 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 >>> customize. >>> >>> Thanks for your help. >>> Vince >>> >>> On Jul 9, 2008, at 4:06 PM, Dominique Faure wrote: >>> >>>> On Wed, Jul 9, 2008 at 20:56, Hans <[EMAIL PROTECTED]> 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 >>>> >>> >>> >>> _______________________________________________ >>> pmwiki-users mailing list >>> [email protected] >>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users >>> >> > >
Sorry for the late feedback, but I couldn't find enough time to correct a minor bug in this code and give you an answer. The two configuration variables that Hans described previously should contains regular PmWiki form markup with some "$Variables" tags automatically filled/replaced by the recipe. You just have to make sure that these tags are defined in your own configuration. -- Dominique _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
