Wednesday 29 June 2005 6:52:16 pm
You can create a new user class by copying the existing, default user class, or by creating a new one from scratch. You can add any fields you would like to your user class. Be sure to make the class a member of both the Content and User groups. Now, allow the anonymous user create/edit privileges for that class, and provide an interface for the anonymous user to create the new user (templates or toolbars). This is code from a template:
<FORM action=/ez/index.php/plain/content/action method=post>
<INPUT type="submit" name=NewButton>
<INPUT type=hidden value=8 name=NodeID>
<INPUT type=hidden value=custom_user name=ClassIdentifier></FORM>
The value=8 is the node id of the user group the new user will be assigned to. The value=custom_user is the name of the object class that will be created. Good luck!
|