Forum OpenACS Development: Registration form

Collapse
Posted by Iuri Sampaio on
Every time I dig down on this issue. It becomes a challenge to me. I just need to modify the registration form, according to my needs and I’d like to know what would be the best solution.

1. Going to the pages and actually change the code:
- Cut off the standard form,
- add my html fields,
- add the queries to the respective tables and etc.

/home/oacsbr/conaje/packages/acs-subsite/lib/user-new.adp
/home/oacsbr/conaje/packages/acs-subsite/lib/user-new.tcl
/home/oacsbr/conaje/packages/acs-subsite/www/register/user-new.adp
/home/oacsbr/conaje/packages/acs-subsite/www/register/user-new.tcl
/home/oacsbr/conaje/packages/acs-templating/resources/forms/standard.adp

2. Install assessment pkg and create an alternative registration assessment.
Solution given by Deds on this thread
https://openacs.org/forums/message-view?message_id=308469

This might be a good idea although assessment seems to have some bugs, and that just drove me into a insane nightmare trying to figure out what was going on there.

3. Another solution was given by Malte on this thread, using contacts pkg.
https://openacs.org/forums/message-view?message_id=390680

it would be cool if I create my own registration package, but then it comes the problem of oacs procs, dependencies, db relation, permissions, and security that I’m sure I would be missing something.
Does anyone know?

Collapse
2: Re: Registration form (response to 1)
Posted by Rodrigo Proença on
iuri,

to extend user registration fields, we use AMS package, see the post https://openacs.org/forums/message-view?message_id=444758.

I have a simple howto in portuguese if you want

Collapse
3: Re: Registration form (response to 2)
Posted by Iuri Sampaio on
rodrigo,
nice and clever way out.
by the way, do you have a good copy of ams package. i run oacs HEAD on my machine. head's version of ams pkg is broken.(i.e. ams v.1.1d16), so i can't test it right now. unless i figure out how to fix this bug.
http://www.openacs.org/forums/message-view?message%5fid=500022

I'll be aware to try this out.

Collapse
4: Re: Registration form (response to 3)
Posted by Eduardo Santos on
Hey Iuri,

I work with Rodrigo in the OpenACS, and we use this package (ams) a lot. I have detected some bugs myself:

We use the ams a lot to extend the registration fields, and it works pretty good. The problem you've mentioned in the other topic, I just don't have it, and I use the same version as you do. About the bugs above, I did some work in the package, and I can give it to you if you want.

Anyway, if you have doubts about the package, I think I can help you with it. There's a long time I work on the package.

Collapse
6: Re: Registration form (response to 5)
Posted by Iuri Sampaio on
thanks eduardo,
all the installation errors seems to be gone.
I just ran all the update scripts mannually and then instanciate the pkg.
furthermore i went to bugtracker and follow the tutorial