Wednesday 03 December 2003 6:28:21 am
Hi,
I've also got problems registering a custom user. Let me give you an overview of what I'm trying to do. I've put up a site with sitemap, news, guestbook etc. This part works perfectly. The site will have three user types in addition to the administrator group: Freelancer, client and sponsor. Each of these types have their own registration-page, but will be using a common login-interface. The types will also access to user-specific pages, but that's not my main problem here. I've scrounged the forums for examples of a site with different user type registrations, but I haven't found anything. So for now I'll settle to manage the registration of the "Freelancer" user. I've created the Freelancer-user in the "User" class and it has been given the user rights. I've also overridden -user/register.tpl and -content/datatype/edit/ezuser.tpl and the override.ini.append has been updated to reflect this. I have checked that it really uses these templates. When I access the /user/register-page, I get the signup of the "default" user - not my Freelancer-user. I've changed the site.ini.append file to:
[UserSettings]
DefaultUserPlacement=144
UserClassID=18 UserClassGroupID=2 But still it shows the "default" registration page.
My questions are:
- Why don't I get the "Freelancer" registration page ?
- Is it possible to create three registration-pages, one page for each user-type ? - Why isn't this better documented ? When I look at how ez handles users and user-groups, I'm positive that ez supports what I'm doing but I don't know how to do it :-) Thanks, Johan
|