|
Cookbook /
FASTMembershipNote: This recipe has been deprecated by (1) HtpasswdForm, which is a similar recipe, but now has more features. And (2) by ZAP which offers a very different approach to Member management that IMO offers many advantages. Please consider checking out either of those recipes. This page is maintained for archival purposes. Caveman February 02, 2007, at 08:58 PM
Summary: Self registration add-on for AuthUser
Version: 1.1 (Thanks Ben)
Prerequisites: AuthUser
Status: Deprecated
Maintainer:
Categories: Authentication Obsolete
QuestionI want to use AuthUser for identity-based authorization but need to have new members create their own accounts, and I would like some tools to simplify administration of their accounts. How can I do it? AnswerUse the FAST Membership cookbook recipe. Based on the HtpasswdForm code, it enables new users to create their own account automatically as a new feature to those already provided by the base recipe (authenticated users allowed to change their password, web interface to manage accounts). Alternately use newuser.php below for a few extra features, especially if you want to track new member data option. You will need to combine this with HtpasswdForm for the admin and change password features as it only sets up new accounts. How to Install
How it WorksThis markup is actually three in one.
You may wish to use this on a page in three separate groups of your site: a welcome group for non members (to register), a members group (to update their passwords), and in the admin section (for administrator use). Wherever it is located however, the form you see will depend on your authentication/authorization as you view the page. To set the redirect page (especially useful for when members create new accounts, use either of the following:
Development PlansMy goal in modifying this script was primarily to allow new members to create their own accounts instantly--in the context of AuthUser. It does that job nicely. My goal in releasing this as a separate recipe was to see it hopefully expand into a more complete script by suggesting a few "development" goals, and inviting others to join in helping with them. The goals seem fairly simple--but I'm not much of a coder. Someone else could probably make most of these changes in a snap. If you would like to help with this recipe, here are several features I would like to see added:
See Also
ContributorsHistory2006/03/18 Initial release. This recipe was only tested on PmWiki version: 2.1. Should work on any version HtpasswdForm works on. You may wish to see that recipe if you have any technical difficulties. User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |